All Questions
Managing Long Running Tasks hard

In a distributed transaction (e.g., Order -> Inventory -> Payment), instead of 2PC, we often use:

  1. A Sagas (using compensation transactions triggered by message queues).
  2. B Ignoring errors.
  3. C Single large database.
  4. D Manual review.

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

Get the app

Related questions