All Questions
Cap Theorem hard

CRDTs ensure convergence (strong eventual consistency). But they fail to enforce 'Global Invariants'. Which is an example of a Global Invariant failure?

  1. A Two users edit the same document simultaneously, and the CRDT correctly preserves both sets of edits without any data loss.
  2. B A 'Counter' CRDT is able to accurately sum all +1 operations received from multiple geographic regions over a long period.
  3. C A bank account drops below zero because two different regions independently allowed a $100 withdrawal against a $150 balance.
  4. D A 'Set' CRDT that contains duplicate items which are resolved using a specialized deterministic tie-breaking algorithm.

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

Get the app

Related questions