All Questions
Sharding hard

In a decentralized, leaderless sharded system (like Apache Cassandra), how do physical nodes keep track of which servers own which parts of the hash ring?

  1. A They rely on a centralized SQL configuration database that acts as the single source of truth for the cluster.
  2. B They use a 'Gossip Protocol' where nodes periodically exchange state information with random neighbors, allowing cluster changes to propagate epidemically.
  3. C The ring topology is fixed at the time of installation and cannot be changed without reformatting the disks.
  4. D They use a hardware-based multicast signal that is broadcast over the datacenter's internal network.

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

Get the app

Related questions