All Questions
Scaling Writes hard

How does Google Spanner utilize 'TrueTime' (Atomic Clocks + GPS) to achieve External Consistency (Linearizability) across global writes?

  1. A It synchronizes clocks perfectly to 0ms.
  2. B Commit Wait: A transaction waits out the clock uncertainty interval (epsilon) before committing, ensuring that if T2 starts after T1 finishes, T2 is guaranteed to see a timestamp greater than T1.
  3. C It uses NTP to speed up writes.
  4. D It ignores clock skew and relies on logical clocks.

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

Get the app

Related questions