All Questions
Consistent Hashing easy

If you reside a cluster from 10 to 11 nodes using Modulo Hashing, what happens?

  1. A The cluster achieves a perfect balance where only exactly 10% of the existing keys are required to move to new locations.
  2. B The mapping remains stable and nothing moves until a new write operation explicitly targets a previously stored key.
  3. C The vast majority of keys (~90%) map to entirely new server indices, causing a massive, cluster-wide cache stampede.
  4. D The system enters a read-only state and rejects new keys until a manual administrative re-sharding process is completed.

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

Get the app

Related questions