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 17:06:33 UTC

[jira] Updated: (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 updated CASSANDRA-1569:
--------------------------------------

    Attachment: 1569.txt

> 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
>    Affects Versions: 0.7 beta 1
>            Reporter: Stu Hood
>            Assignee: Stu Hood
>             Fix For: 0.7.0
>
>         Attachments: 1569.txt
>
>
> 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.