Tagged articles

transaction patterns

3 articles · Page 1 of 1
Architect
Architect
Apr 12, 2024 · Backend Development

How to Choose the Right Distributed Transaction Pattern for Microservices

This article analyzes common distributed‑transaction scenarios, explains the CAP theorem’s relevance, compares ACID/BASE, TCC, XA, 2PC/3PC, Saga and AT patterns, and provides a decision‑making framework to help architects select the most suitable approach for their microservice systems.

CAP theoremMicroservicesSaga
0 likes · 18 min read
How to Choose the Right Distributed Transaction Pattern for Microservices
Architecture Digest
Architecture Digest
Sep 21, 2021 · Fundamentals

Classic Solutions for Distributed Transactions: Theory and Practical Patterns

This article introduces the fundamental concepts of distributed transactions, explains ACID and BASE properties, and systematically presents classic solutions such as two‑phase commit, SAGA, TCC, local message tables, transaction messages, maximum‑effort notifications, and sub‑transaction barriers for reliable microservice architectures.

SagaTCCdistributed transactions
0 likes · 16 min read
Classic Solutions for Distributed Transactions: Theory and Practical Patterns