Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-3079

Allow the client request scheduler to throw Timeouts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.0.0
    • Legacy/CQL
    • None

    Description

      The RoundRobinScheduler prioritizes threads by allowing them to queue on a SynchronousQueue per scheduling bucket. These queues currently do not use timeouts, and we observed a cascading case where client retries caused the scheduler queues to fill such that latency was way above the client timeout.

      Allowing the IRequestScheduler.queue method to throw a (per-call configurable) timeout, we can avoid this cascading.

      Attachments

        Issue Links

          Activity

            People

              stuhood Stu Hood
              stuhood Stu Hood
              Stu Hood
              Michael Wu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: