All Questions
Cap Theorem medium

In a distributed datastore with replication factor N=3, you require Strong Consistency. Which configuration of Write Quorum (W) and Read Quorum (R) satisfies this?

  1. A W=1, R=3 (Fast writes, but extremely slow reads that may still return stale data).
  2. B W=2, R=2 (Ensures overlap between the read and write sets since W + R > N).
  3. C W=3, R=0 (Writes to all nodes, but does not perform any validation during the read phase).
  4. D W=1, R=1 (Optimized for maximum performance with minimum network coordination overhead).

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

Get the app

Related questions