You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2014/04/02 21:20:18 UTC
[jira] [Updated] (CASSANDRA-6906) Skip Replica Calculation for
Range Slice on LocalStrategy Keyspace
[ https://issues.apache.org/jira/browse/CASSANDRA-6906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tyler Hobbs updated CASSANDRA-6906:
-----------------------------------
Attachment: 6906.txt
The attached patch (and [branch|https://github.com/thobbs/cassandra/tree/CASSANDRA-6906]) avoid splitting the queried range when working with LocalStrategy keyspaces.
> Skip Replica Calculation for Range Slice on LocalStrategy Keyspace
> ------------------------------------------------------------------
>
> Key: CASSANDRA-6906
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6906
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Tyler Hobbs
> Assignee: Tyler Hobbs
> Priority: Minor
> Attachments: 6906.txt
>
>
> 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".
--
This message was sent by Atlassian JIRA
(v6.2#6252)