All Questions
Consistent Hashing hard

In a 'Token Aware' driver, the client sends the query directly to the owner. What happens if the ring topology changes (a node moves) while the request is in flight to the 'old' owner?

  1. A The request immediately fails with a '404 Not Found' error, and the client must wait for a centralized metadata refresh to occur.
  2. B The old owner processes the request anyway to prevent latency, and then attempts to synchronize the change with the new owner asynchronously.
  3. C The request hangs indefinitely within the cluster's network fabric until the gossip protocol achieves a state of perfect global convergence.
  4. D The old owner acts as a temporary coordinator, forwarding the request to the new owner and signaling a metadata update to the client.

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

Get the app

Related questions