cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-1569) New variant of NetworkTopologyStrategy to eliminate hotspots
Date Mon, 04 Oct 2010 00:23:32 GMT
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.


Mime
View raw message