Tag

XA protocol

0 views collected around this technical thread.

Architecture & Thinking
Architecture & Thinking
Mar 26, 2024 · Fundamentals

Why Distributed Transactions Matter: From CAP Theorem to XA, 2PC, 3PC and TCC

This article explains the evolution of distributed systems, outlines their benefits and challenges, and details key consistency mechanisms such as the CAP theorem, XA two‑phase and three‑phase commit, MQ‑based transactions, and the TCC pattern, with real‑world application scenarios.

CAP theoremMicroservicesXA protocol
0 likes · 12 min read
Why Distributed Transactions Matter: From CAP Theorem to XA, 2PC, 3PC and TCC
DataFunSummit
DataFunSummit
Nov 22, 2021 · Databases

Rigid Transactions: Two-Phase Commit (2PC) and Three-Phase Commit (3PC) Explained

This article explains rigid (strong consistency) distributed transactions, detailing the XA protocol and the classic two‑phase commit (2PC) and three‑phase commit (3PC) mechanisms, their workflows, advantages, limitations, and practical considerations for database systems.

Two-Phase CommitXA protocoldatabase consistency
0 likes · 15 min read
Rigid Transactions: Two-Phase Commit (2PC) and Three-Phase Commit (3PC) Explained
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Nov 20, 2019 · Fundamentals

Distributed Transactions: Consistency Theory and Practical Solutions

This article explains the necessity of distributed transactions in modern systems, introduces the CAP and BASE consistency theories, and reviews practical solutions such as the XA two‑phase commit, TCC compensation model, and message‑queue based eventual consistency approaches.

BASECAP theoremMessage Queue
0 likes · 6 min read
Distributed Transactions: Consistency Theory and Practical Solutions
AntTech
AntTech
May 28, 2018 · Databases

Understanding Distributed Transactions: Concepts, XA Protocol, and TCC Model

This article introduces the fundamentals of distributed transactions, explains the ACID properties of transactions, compares local and distributed transaction architectures, and provides detailed analyses of two common distributed transaction models—X/Open XA and TCC—including their atomicity, isolation, consistency mechanisms and practical trade‑offs.

ACIDMicroservicesTCC model
0 likes · 20 min read
Understanding Distributed Transactions: Concepts, XA Protocol, and TCC Model
Architecture Digest
Architecture Digest
May 20, 2018 · Backend Development

Understanding Distributed Transactions and the XA Two‑Phase Commit Protocol

The article explains how distributed transactions work in microservice architectures, using inventory‑order examples and a World of Warcraft raid analogy to illustrate the XA two‑phase commit protocol, its normal and failure flows, limitations, and alternative approaches such as three‑phase commit, message‑queue and TCC transactions.

MicroservicesTransaction ManagementTwo-Phase Commit
0 likes · 7 min read
Understanding Distributed Transactions and the XA Two‑Phase Commit Protocol