Paths Subjects Questions Quizzes Pricing Search
System Design Advanced Pro

Distributed Transactions, Consensus & Coordination

2PC, sagas, Raft, quorums, distributed locks and consistency models — and when to avoid all of them

30 min read 6 views

Master why ACID breaks across shards, how two-phase commit and sagas coordinate multi-service writes, how Raft elects leaders and replicates logs safely, why lease-based locks need fencing tokens, and how linearizability differs from serializability.

Practice questions (5)

  • Diagnosing a 2PC Blocking Incident

    Advanced · Free
    View →
  • Designing a Saga for Order Placement

    Advanced
    View →
  • Tracing a Raft Leader Election

    Advanced
    View →
  • Why a TTL Lock Isn't Enough

    Advanced
    View →
  • Naming the Consistency Guarantee

    Advanced
    View →

We use cookies for product analytics to improve OmniAtlas. See our Privacy Policy.