Tracks/The Coordinator
09

The Coordinator

Advanced
Advanced|15 tasks

Implement distributed transactions with two-phase commit, three-phase commit, and saga patterns.

Subtracks & Tasks

Interview Prep

Common interview questions for Distributed Systems Engineer roles that map directly to what you build in this track. Click any question to reveal the model answer.

Questions are representative of real interview patterns. Model answers are starting points — adapt them with your own experience and the specific context of the interview.

Common Mistakes

The top 5 mistakes builders make in this track — and exactly how to fix them. Click any mistake to see the root cause and the correct approach.

Comparison Mode

Side-by-side comparisons of the approaches, algorithms, and trade-offs you encounter in this track. Expand any comparison to see a detailed breakdown.

Concepts Covered

2PCatomic commitprepare-commitfailure recoveryblockingwrite-ahead log3PCnon-blockingpre-commitsagacompensationeventual consistencytransactionsACIDisolationthree-phase commitCanCommitPreCommitDoCommitnon-blocking commitcoordinator recoveryblocking vs non-blockingrecovery procedurestimeout handlingcoordinator failureparticipant uncertaintynetwork partitionblocking scenariossplit brainsafety vs livenessCAP theoremprotocol comparisonmessage complexityreal-world usageperformance trade-offsPaxos commitconsensus-based commitno single point of failureacceptorsproposerslearnerssaga patterncompensating transactionslocal transactionsrollbacklong-running transactionschoreographyevent-driven architectureservice coordinationno central orchestratorevent publishingorchestrationsaga orchestratorcentral coordinatorstate machinecommand patternsidempotencydeduplicationexactly-once semanticsmessage retriessaga_id + step_ide-commerce sagainventory reservationpayment processingshipment creationreal-world saga

Prerequisites

It is recommended to complete the previous tracks before starting this one. Concepts build progressively throughout the curriculum.