This is the best member. Random or Murmur3 in cassandra in terms of bandwidth and what is the difference between them?

What is the difference in choosing a Partitioner can lead to my bandwidth and latency. I went through all three participants. and one thing, I made it clear that an ordered partioner has overhead, so don't use them. Now I'm a little confused by the selection of Random and murmur3 .

+4
source share
2 answers

The main difference between the two is how each one generates hash values. The random separator used the native JDK MD5 hash (because it was convenient for developers and standard for all JDKs). But since Cassandra really does not need a cryptographic hash, this function took much longer than necessary.

With the Murmur3 splitter, token hashing only does what Kassandra needs. Which consists in creating a marker that provides uniform distribution over the nodes. This leads to a 3–5-fold improvement in the hash performance of the token, which ultimately leads to a total increase of 10%, which Carlo mentioned above.

, DataStax , . , , , () . , Murmur3.

+7

3. 10% .

+3

All Articles