Load balancing

A balanced Cassandra cluster is the one where each node owns an equal number of keys. This means when you query nodetool status, a balanced cluster will show the same percentage for all the nodes under the Owns or Effective Ownership columns. If the data is not uniformly distributed between the keys, even with equal ownership you will see some nodes are more occupied by the data than others. We use RandomPartitioner or Murmur3Partitioner to avoid this sort of lopsided cluster.

Note

Note that this section is valid for a setup that does not use vnodes. If you are using Cassandra Version 1.2 or a version after it with default settings, you can skip this section.

This section is specifically for a cluster that uses one token per Cassandra ...

Get Mastering Apache Cassandra - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.