All Questions
Scaling Writes hard

In a database using Snapshot Isolation, which anomaly can occur that Serializability prevents?

  1. A Dirty Reads.
  2. B Non-Repeatable Reads.
  3. C Write Skew: Two concurrent transactions read the same data, but update disjoint sets of data based on that read, violating a logic constraint (e.g., 'Two on-call doctors' problem).
  4. D Lost Updates.

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

Get the app

Related questions