All Questions
Scaling Writes hard

In a Dynamo-style system allowing concurrent writes (Multi-Master), how do Vector Clocks help resolve conflicts?

  1. A They detect causal relationships (ancestor vs. descendant). If Vector A < Vector B, A can be safely overwritten. If they are concurrent (neither dominates), both versions are kept for client reconciliation.
  2. B They use NTP timestamps to pick the latest write.
  3. C They lock the rows.
  4. D They merge the data automatically.

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

Get the app

Related questions