All Questions
Cap Theorem hard

Google Spanner claims to be 'effectively CA' in practice, despite CAP proving this impossible for distributed systems. How does Spanner circumvent the typical availability penalties of a CP system?

  1. A It uses Paxos over a redundant private network to make partitions statistically unlikely; any downtime during a rare partition is considered negligible.
  2. B The system relaxes Serializability to Snapshot Isolation during detected partitions, effectively switching to a high-availability AP mode temporarily.
  3. C It leverages TrueTime (GPS and Atomic clocks) to ensuring absolute global consistency without requiring any inter-node communication during a partition.
  4. D It implements a 'Sloppy Quorum' strategy that allows any available non-leader node to temporarily accept and buffer writes until the partition is resolved.

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

Get the app

Related questions