All Questions
Scaling Writes hard

In the Raft consensus algorithm, what mechanism prevents a 'Split Vote' (where no leader gets a majority) from stalling the cluster indefinitely?

  1. A A central coordinator decides the tie.
  2. B Randomized Election Timeouts: Each node waits a random amount of time (e.g., 150-300ms) before requesting votes, ensuring one node likely times out first and wins.
  3. C The node with the lowest IP address always wins.
  4. D The cluster shuts down.

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

Get the app

Related questions