Murmur3Partitioner

Murmur3Partitioner is an improvement in efficiency over RandomPartitioner, and is currently the default partitioner. The murmur3 hashing algorithm is more efficient, because Cassandra does not really need the extra benefits provided by a cryptographic hash (MD5). Possible token values range from -(263) to (263)-1.

Important points about Apache Cassandra's partitioners:

  • A partitioner is configured at the cluster level. You cannot implement a partitioner at the keyspace or table level.
  • Partitioners are not compatible. Once you select a partitioner, it cannot be changed without completely reloading the data.
  • Use of ByteOrderedPartitioner is considered to be an anti-pattern.
  • Murmur3Partitioner is an improvement on the efficiency ...

Get Mastering Apache Cassandra 3.x - Third 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.