Distributed System · Medium
Two-Phase Commit (2PC)
Distributed SystemDistributed TransactionsSenior
Answer preview
Distributed transaction questions probe how you maintain correctness across services without a single ACID database — 2PC, sagas, and outbox patterns. Two-Phase Commit (2PC) — define the concept, explain how it works in production, and call out trade-offs and failure modes.…