You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2010/10/04 03:43:33 UTC
[jira] Resolved: (CASSANDRA-1569) New variant of
NetworkTopologyStrategy to eliminate hotspots
[ https://issues.apache.org/jira/browse/CASSANDRA-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-1569.
---------------------------------------
Resolution: Fixed
Wouldn't it be simpler to just treat the different DCs as separate rings and bsearch each independently?
> New variant of NetworkTopologyStrategy to eliminate hotspots
> ------------------------------------------------------------
>
> Key: CASSANDRA-1569
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1569
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Stu Hood
> Assignee: Stu Hood
> Fix For: 0.7.0
>
>
> NetworkTopologyStrategy assigns replicas to the first endpoints encountered in the required DCs during a ring-order walk. This will lead to hotspots if you don't have an equal number of nodes in each DC, and if you don't alternate them in the ring.
> An alternate algorithm that prevents hotspots is to choose replicas using fractions. If the first replica is on the 4th node of 10 for a particular DC, its fractional position is 0.4: remaining replicas in other DCs will be placed on the node at that fractional position.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.