NOTE
2.7 Distributed Transaction Solution: Two Phases
1. What Are Two Phases - Divide the entire transaction process into two phases: preparation phase; commit phase or rollback phase. 2. Two-Phase Implementations 2.1. Database Layer - Two-Phase Implementation: 2PC. 2.2. Application Layer - Two-Phase Implementation: TCC.
This is a historical learning note and may contain outdated or incomplete understanding.
1. What Are Two Phases?
- Divide the entire transaction process into two phases:
- Preparation phase.
- Commit phase or rollback phase.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub