The Architecture of Microservice Transaction Based on Distributed Consensus with Kubernetes
summary
Claims that a Paxos-based atomic commit replaces fragile Sagas and single-coordinator two‑phase commit by using distributed consensus for transaction termination, implemented as redundant coordinators in Kubernetes. Prototype wires a transaction-aware JDBC driver to per-service resource managers and a consensus-backed coordinator cluster, persists prepare/commit state, and prevents write‑write conflicts and heuristic hazards. It works functionally in tests, trading higher commit latency and extra messaging for near‑100% availability and stronger consistency.
AI-written summary · about
chapters (9)
- 0:00Microservice transactions intro
- 1:47Distributed transaction challenges
- 6:04Saga pattern limitations
- 11:06Two-phase commit in Kubernetes
- 15:23Two-phase commit weaknesses
- 18:18Consensus theory and Paxos
- 22:35Paxos in Kubernetes
- 26:28Consensus for transactions
- 29:58Summary and Q&A
related talks
34mTowards Effortless Transaction Management in Microservices
55mTackling transactions in Microservices applications
28mDistributed transactions for Kubernetes microservices and cloud native apps
46mLost in transaction? Strategies to deal with (in-)consistency in distributed systems
01h 01mLost in transaction Strategies to manage consistency in distributed systems
41mTransactions in Your Micro-Services Architecture
50mTransactional solutions for microservices
01h 14mThe hitchhiker's guide to distributed transactions
