All Questions
Sharding hard

In a Leaderless sharded system (like Dynamo), what is the primary operational trade-off of setting the Write consistency level to `Quorum` (W=2 of 3 replicas)?

  1. A Writes are processed entirely in RAM, leading to a risk of data loss if a server loses power.
  2. B Every write requires only a single network message, making it the fastest possible consistency model.
  3. C Writes must wait for acknowledgment from at least two servers, increasing the 'Write Latency' and background network traffic compared to a single-leader model.
  4. D The database cannot support more than three physical servers per cluster when using Quorum-based sharding.

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

Get the app

Related questions