githubEdit

Distributed Transactions

This page points to the main content for distributed transactions in the system design guide.

Full content

Distributed transactions (2PC, 3PC, Saga, Outbox) are covered in depth in:

advanced-topics/distributed-systems.md — see the Distributed Transactions section.

Topics covered there:

  • Two-Phase Commit (2PC) and its problems

  • Three-Phase Commit (3PC)

  • Saga pattern (choreography and orchestration)

  • Compensating transactions

  • Outbox pattern for reliable event publishing

For a quick revision, see the Quick Revision section at the end of that file.

Last updated