Tagged articles

transaction patterns

4 articles · Page 1 of 1
YiSu Grain
YiSu Grain
Jul 6, 2026 · Backend Development

Why a Single Order Triggers a Distributed Transaction (2PC, TCC, Saga Explained)

The article explains why a single order operation can involve multiple services and databases, introduces the challenges of distributed transactions, and compares three common solutions—Two‑Phase Commit, TCC, and Saga—detailing their mechanisms, strengths, weaknesses, and suitable scenarios.

2PCMicroservicesSAGA
0 likes · 12 min read
Why a Single Order Triggers a Distributed Transaction (2PC, TCC, Saga Explained)
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