All Questions
Cap Theorem hard

In a 3-region Spanner/CockroachDB deployment, why use a 'Witness' replica in the third region instead of a full replica?

  1. A The Witness node is specifically optimized to serve high-speed local read requests in the third region without any network overhead.
  2. B The node is used to store high-compression archival backups that can be used to recover the regional cluster after a catastrophic failure.
  3. C The Witness participates in the Paxos consensus quorum to ensure availability during a region failure but stores no actual business data.
  4. D The Witness node significantly increases total system write throughput by sharing the computational load of the primary leader node.

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

Get the app

Related questions