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

Skip Replica Calculation for Range Slice on LocalStrategy Keyspace

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.7, 2.1 beta2
    • None
    • None

    Description

      For vnode-enabled clusters, the "Determining replicas to query" portion of range slice commands can be expensive. When querying LocalStrategy keyspaces, we can safely skip this step. On a 15 node cluster with vnodes, skipping this saves about 100ms. This makes a big difference for the drivers, which frequently execute queries like "select * from system.peers" and "select * from system.local".

      Attachments

        1. 6906.txt
          2 kB
          Tom Hobbs

        Activity

          People

            thobbs Tom Hobbs
            thobbs Tom Hobbs
            Tom Hobbs
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: