All Questions
Consistent Hashing medium

In decentralized systems like Cassandra, how is the Consistent Hashing ring topology (Who owns what tokens) propagated?

  1. A Via a centralized high-availability Zookeeper cluster that maintains the authoritative source of truth for the entire cluster.
  2. B Through a dedicated DNS service that automatically updates its records whenever a node's token range is modified.
  3. C Using a decentralized Gossip Protocol, where nodes periodically exchange their view of the ring state with random peers.
  4. D By manually updating a static configuration file that is hardcoded into the deployment scripts of every server instance.

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

Get the app

Related questions