← Back to architecture map
🔒
Architecture Pattern POC

Two-Phase Commit (2PC)

Atomic distributed transactions across multiple DBs. Prepare, then commit or rollback.

consistency

Flow From Map

Phase 1 - Prepare:
  -> [DB1 OK] [DB2 OK] [DB3 OK]
Phase 2 - Commit all or none

Your POC Area

Replace this placeholder with your interactive proof of concept for Two-Phase Commit (2PC). This route is already dedicated to this pattern, so you can add diagrams, controls, code demos, or simulations here.

Example references: XA transactions, DTC, node-postgres tx flows