• Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: 0.5
    • Component/s: Core
    • Labels:


      We need to be able to spread load evenly across a cluster to mitigate keys not being uniformly distributed as well as heterogeneous nodes in a cluster. The former is particularly likely to be a problem when using the OrderPreservingPartitioner, since the keys are not randomized by a hash function.

      Avinash suggested three papers on load balancing in this thread:

      Of these, the useful ones are (Simple Efficient Load Balancing Algorithms for Peer-to-Peer Systems by David R. Karger and Matthias Ruhl) (Load Balancing in Structured P2P Systems by Ananth Rao et al)

      The third, (Simple Load Balancing for Distributed Hash Tables by John Byers et al) is not applicable to Cassandra's design. ("First, we suggest the direct application of the 'power of two choices' paradigm, whereby an item is stored at the less loaded of two (or more) random alternatives. We then consider how associating a small constant number of hash values with a key can naturally be extended to support other load balancing strategies.")

      1. 192.patch
        7 kB
        Jonathan Ellis

        Issue Links


          No work has yet been logged on this issue.


            • Assignee:
              Jonathan Ellis
              Jonathan Ellis
            • Votes:
              1 Vote for this issue
              6 Start watching this issue


              • Created: