2-Phase Commit Protocol Simulation
Academic References
Bernstein, P. A., Hadzilacos, V., & Goodman, N. (1987). Concurrency Control and Recovery in Database Systems. Addison-Wesley.
- Relevance: Foundational textbook covering transaction processing fundamentals, including detailed treatment of two-phase commit protocol and its failure modes.
Gray, J., & Lamport, L. (2006). Consensus on transaction commit. ACM Transactions on Database Systems (TODS), 31(1), 133-160.
- Relevance: Seminal paper by Turing Award winners that formalizes the commit problem and analyzes the theoretical foundations of commit protocols.
Skeen, D. (1981). Nonblocking commit protocols. In Proceedings of the 1981 ACM SIGMOD international conference on Management of data (pp. 133-142).
- Relevance: Introduces three-phase commit as a solution to two-phase commit blocking problems, essential for understanding protocol limitations.
Online Resources
Interactive Resources
- Visualizing Two-Phase Commit - The Paper Trail
https://www.the-paper-trail.org/post/2008-11-27-consensus-protocols-two-phase-commit/
Step-by-step visualization of protocol phases with failure scenarios.