All Questions
Consistent Hashing medium

Why is MurmurHash often preferred over MD5/SHA for Consistent Hashing partitioning?

  1. A MurmurHash provides significantly better cryptographic security against external attackers attempting to brute-force keys.
  2. B MD5 generates a 128-bit hash which is considered too short for modern large-scale distributed clusters with billions of keys.
  3. C MurmurHash is extremely CPU-efficient and provides excellent distribution properties for internal routing and partitioning.
  4. D MurmurHash supports non-integer input keys while MD5 is strictly limited to processing binary data and complex byte arrays.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions