cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6906) Skip Replica Calculation for Range Slice on LocalStrategy Keyspace
Date Wed, 02 Apr 2014 20:11:15 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13958118#comment-13958118
] 

Benedict commented on CASSANDRA-6906:
-------------------------------------

bq. could

That's an understatement. Let's open a ticket and I'll look at it next week. That _needs_
to be addressed. I can't imagine how long a 1k node cluster with vnodes must be spending!

> 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
>             Fix For: 2.0.7, 2.1 beta2
>
>         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)

Mime
View raw message