You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefania (JIRA)" <ji...@apache.org> on 2016/11/17 03:32:58 UTC

[jira] [Updated] (CASSANDRA-12919) Fix inconsistencies in cassandra-stress load balancing policy

     [ https://issues.apache.org/jira/browse/CASSANDRA-12919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefania updated CASSANDRA-12919:
---------------------------------
    Description: 
The default load balancing policy in cassandra-stress is null, which means that the driver will currently wrap {{DCAwareRoundRobinPolicy}} with {{TokenAwarePolicy}}. 

However, when a white list of nodes or a data center are specified in the command line options, then either {{WhiteListPolicy}} or {{DCAwareRoundRobinPolicy}} are used respectively, without wrapping them in a {{TokenAwarePolicy}}.

This means that in the default case token aware routing is applied, but in some cases it is not. Token aware routing could give a performance boost of up to 2.5 times on bare metal, making comparisons of workloads problematic, if it is applied inconsistently.

  was:
The default load balancing policy in cassandra-stress is null, which means that the driver will currently wrap {{DCAwareRoundRobinPolicy}} with {{TokenAwarePolicy}}. 

However, when a white list of nodes or a data center are specified in the command line options, then either {{WhiteListPolicy}} or {{DCAwareRoundRobinPolicy}} are used respectively, without wrapping them in a TokenAwarePolicy.

This means that in the default case token aware routing is applied, but in some cases it is not. Token aware routing could give a performance boost of up to 2.5 times on bare metal, making comparisons of workloads problematic.


> Fix inconsistencies in cassandra-stress load balancing policy
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-12919
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12919
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Stefania
>            Assignee: Stefania
>            Priority: Minor
>             Fix For: 3.0.x, 3.x
>
>
> The default load balancing policy in cassandra-stress is null, which means that the driver will currently wrap {{DCAwareRoundRobinPolicy}} with {{TokenAwarePolicy}}. 
> However, when a white list of nodes or a data center are specified in the command line options, then either {{WhiteListPolicy}} or {{DCAwareRoundRobinPolicy}} are used respectively, without wrapping them in a {{TokenAwarePolicy}}.
> This means that in the default case token aware routing is applied, but in some cases it is not. Token aware routing could give a performance boost of up to 2.5 times on bare metal, making comparisons of workloads problematic, if it is applied inconsistently.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)