All Questions
Consistent Hashing hard

Google's Maglev hashing algorithm (used in their Network Load Balancers) differs from standard Consistent Hashing rings. How does it generate the lookup table?

  1. A It utilize a cryptographic signature verification process to ensure that all incoming data packets have not been tampered with.
  2. B It constructs a large, fixed-size lookup table where backends fill slots based on their own random permutations to ensure balance.
  3. C It utilizes a distributed binary search tree that is strictly synchronized across all regional load balancers using the Raft protocol.
  4. D It relies on a centralized Zookeeper locking mechanism to prevent multiple backends from claiming the same hash range simultaneously.

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

Get the app

Related questions