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

Bound the number of concurrent range requests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • 5.x
    • Legacy/Coordination
    • None

    Description

      After CASSANDRA-1337, we will execute requests for many token ranges concurrently based on our estimate of how many ranges will be required to meet the requested LIMIT. For queries with a lot of results this is generally fine, because it will only take a few ranges to satisfy the limit. However, for queries with very few results, this may result in the coordinator concurrently requesting all token ranges. On large vnode clusters, this will be particularly problematic.

      Placing a simple bound on the number of concurrent requests is a good first step. Long-term, we should look into creating a new range command that supports requesting multiple ranges. This would eliminate the overhead of serializing and handling hundreds of separate commands.

      Attachments

        Activity

          People

            Unassigned Unassigned
            thobbs Tom Hobbs
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: