Glossary term
What is 2PC (Two-Phase Commit)?
2PC stands for Two-Phase Commit.
Coordinates a transaction across systems (prepare, then commit). Example: Slow and fragile; often avoided in microservices.
Learn it properly · System DesignLesson 21: ACID Transactions & Isolation LevelsTwo people book the last seat; a transfer crashes halfway. What ACID really promises, the write-ahead log behind durability, the five anomalies isolation levels do (and don't) prevent, and the practical fixes for real race conditions.