All Questions
Cap Theorem medium

A user reads a value '5'. They refresh and read '4' (data went backward in time). Which guarantee prevents this?

  1. A Atomic Broadcast, which ensures that all update messages are delivered in the exact same order to all nodes.
  2. B Consistent Prefix Reads, which guarantees that all users see updates in the order they were committed to the DB.
  3. C Read-Your-Writes, which ensures that a user can always see their own personal updates after a page refresh.
  4. D Monotonic Reads, which ensures that if a user has seen a specific data version, they will never see an older version.

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

Get the app

Related questions