Skip to main content

2 docs tagged with "2pc"

View all tags

Distributed Transactions: 2PC vs. Saga Pattern

Master guide to distributed transactions in microservices — Two-Phase Commit (2PC), Saga Pattern (Choreography vs. Orchestration), Transactional Outbox + CDC, and NewSQL architectures.

Two-Phase Commit (2PC) & Three-Phase Commit (3PC)

A comprehensive guide to Two-Phase Commit (2PC) and Three-Phase Commit (3PC) — from real-world analogies for beginners to WAL internals, failure modes, and XA implementation for senior engineers.