Tagged articles
27 articles
Page 1 of 1
Xuanwu Backend Tech Stack
Xuanwu Backend Tech Stack
Dec 18, 2025 · Backend Development

Mastering Two-Phase Commit: Theory, XA & JTA in Java

This article explains why local transactions fail in micro‑service architectures, introduces the Two‑Phase Commit (2PC) protocol with its coordinator and participant roles, details each phase with examples, shows how XA and JTA implement 2PC in Java, and discusses its drawbacks and interview‑ready alternatives.

2PCDistributed TransactionsJTA
0 likes · 14 min read
Mastering Two-Phase Commit: Theory, XA & JTA in Java
Efficient Ops
Efficient Ops
Apr 16, 2024 · Databases

Data Migration & Distributed Transactions: XA, BASE, TCC, AT Guide

This article explores strategies for seamless data migration—including full, incremental, and binlog‑based approaches—and examines distributed transaction models such as XA, BASE, TCC, and AT, outlining their components, workflows, advantages, challenges, and supporting tools like Seata and Canal.

BASEData MigrationDistributed Transactions
0 likes · 9 min read
Data Migration & Distributed Transactions: XA, BASE, TCC, AT Guide
360 Tech Engineering
360 Tech Engineering
May 30, 2023 · Backend Development

Distributed Transaction Solutions: XA, TCC, and SAGA with DTM Implementation

This article analyzes the challenges of distributed transactions in a micro‑service order system, compares XA, TCC, and SAGA patterns, and details how the open‑source DTM framework is applied to achieve reliable order creation while handling crashes, rollbacks, idempotency, and network anomalies.

BackendDTMDistributed Transactions
0 likes · 15 min read
Distributed Transaction Solutions: XA, TCC, and SAGA with DTM Implementation
ITPUB
ITPUB
May 1, 2023 · Backend Development

Mastering Seata: How Reverse Compensation Powers Distributed Transactions

This article demystifies distributed transactions using Alibaba's Seata, explaining reverse compensation, core concepts (TC, TM, RM), the two‑phase commit protocol, and detailed walkthroughs of AT, TCC, XA, and Saga modes with code examples and step‑by‑step procedures.

AT ModeSeataXA
0 likes · 14 min read
Mastering Seata: How Reverse Compensation Powers Distributed Transactions
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Sep 26, 2022 · Databases

Data Migration & Distributed Transactions: XA, BASE, TCC, AT Demystified

This article examines how vertical and horizontal data partitioning leads to migration and consistency challenges, outlines full, full‑plus‑incremental, and binlog‑based migration strategies, and compares strong‑consistency XA transactions with flexible BASE approaches such as TCC and AT, including their components, workflows, advantages, and drawbacks.

BASEData MigrationDistributed Transactions
0 likes · 9 min read
Data Migration & Distributed Transactions: XA, BASE, TCC, AT Demystified
Programmer DD
Programmer DD
Dec 13, 2021 · Backend Development

Seata’s Evolution: From Alibaba’s TXC to Open‑Source Transaction Framework

This article traces Seata’s development from its 2014 origins as Alibaba’s TXC middleware, through its 2016 cloud service launch and 2019 open‑source release, detailing its architecture, module composition, core roles, and the four transaction modes (AT, TCC, Saga, XA) with practical comparisons.

AT ModeDistributed TransactionsSeata
0 likes · 17 min read
Seata’s Evolution: From Alibaba’s TXC to Open‑Source Transaction Framework
IT Architects Alliance
IT Architects Alliance
Dec 6, 2021 · Backend Development

Mastering Distributed Transactions: From XA to TCC and Beyond

This article explains the fundamentals of database transactions, defines distributed transactions, and provides a comprehensive comparison of classic solutions such as XA, SAGA, TCC, local message tables, transaction messages, maximum‑effort notifications, and AT mode, while also covering exception handling and the sub‑transaction barrier technique.

BackendDistributed TransactionsMicroservices
0 likes · 19 min read
Mastering Distributed Transactions: From XA to TCC and Beyond
Top Architect
Top Architect
Oct 23, 2021 · Backend Development

Distributed Transaction Solutions: Theory, Patterns, and Practical Implementations

This article explains the fundamentals of distributed transactions, compares classic solutions such as two‑phase commit (XA), SAGA, TCC, local message tables, transaction messages, and maximum‑effort notifications, and presents a sub‑transaction barrier technique to handle network anomalies and ensure idempotency, isolation, and rollback safety.

BackendDistributed TransactionsXA
0 likes · 15 min read
Distributed Transaction Solutions: Theory, Patterns, and Practical Implementations
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Oct 7, 2021 · Backend Development

Mastering Distributed Transactions: Theory, Patterns, and Practical Solutions

This article explains the fundamentals of distributed transactions, compares classic solutions such as XA, Saga, TCC, local message tables, and transaction messages, and presents a sub‑transaction barrier technique that gracefully handles idempotency, empty rollbacks, and hanging issues in microservice architectures.

DTMDistributed TransactionsMicroservices
0 likes · 24 min read
Mastering Distributed Transactions: Theory, Patterns, and Practical Solutions
Top Architect
Top Architect
Sep 23, 2021 · Backend Development

Distributed Transaction Solutions: Theory, Patterns, and Practical Implementations

This article explains the fundamentals of distributed transactions, illustrates classic solutions such as two‑phase commit (XA), SAGA, TCC, local message tables, transactional messaging, and maximum‑effort notifications, and introduces a sub‑transaction barrier technique to handle network anomalies in microservice architectures.

BackendDistributed TransactionsXA
0 likes · 19 min read
Distributed Transaction Solutions: Theory, Patterns, and Practical Implementations
Top Architect
Top Architect
Sep 16, 2021 · Backend Development

Understanding Distributed Transaction Protocols: XA, 2PC, 3PC, TCC, Saga, and Reliable Message Consistency

This article explains the principles, advantages, and drawbacks of various distributed transaction solutions—including XA two‑phase commit, three‑phase commit, TCC, Saga, and message‑based eventual consistency—while showing how they are implemented in Java/Spring environments and when each should be used.

3PCBackendDistributed Transactions
0 likes · 16 min read
Understanding Distributed Transaction Protocols: XA, 2PC, 3PC, TCC, Saga, and Reliable Message Consistency
Top Architect
Top Architect
Aug 8, 2021 · Databases

Understanding XA, 2PC, 3PC, JTA, TCC and Reliable Message Consistency in Distributed Transactions

This article explains the principles, workflows, advantages and drawbacks of various distributed transaction solutions—including XA two‑phase commit, Java Transaction API, chained transaction managers, three‑phase commit, TCC, reliable message‑based eventual consistency and maximum‑effort notification—while comparing ACID and BASE theories for modern backend systems.

2PC3PCDistributed Transactions
0 likes · 13 min read
Understanding XA, 2PC, 3PC, JTA, TCC and Reliable Message Consistency in Distributed Transactions
Selected Java Interview Questions
Selected Java Interview Questions
Aug 5, 2020 · Backend Development

Distributed Transaction Solutions and Interview Guide

This article introduces five common distributed transaction patterns—XA two‑phase commit, TCC, local message table, reliable message eventual consistency, and max‑effort notification—explains their principles, advantages, drawbacks, and provides interview questions and suggested answers for each.

Distributed TransactionsXAtcc
0 likes · 11 min read
Distributed Transaction Solutions and Interview Guide
AntTech
AntTech
Jul 29, 2019 · Backend Development

Ant Financial’s Distributed Transaction Evolution and the Open‑Source Seata Framework

This article explains how Ant Financial tackled cross‑service and cross‑database data‑consistency challenges caused by horizontal sharding and service‑oriented decomposition, introduces its home‑grown distributed‑transaction middleware and the open‑source Seata project with AT, TCC, Saga and XA modes, and shares performance‑optimisation and high‑availability practices.

AT ModeDistributed TransactionsSeata
0 likes · 15 min read
Ant Financial’s Distributed Transaction Evolution and the Open‑Source Seata Framework
Aikesheng Open Source Community
Aikesheng Open Source Community
May 29, 2019 · Databases

DBLE XA Transaction Implementation and Recovery Analysis

This article provides a comprehensive analysis of DBLE's XA transaction implementation, covering XA protocol basics, DBLE's architecture, code structure, execution flow, error handling, transaction logging, recovery mechanisms, and practical considerations for distributed transactions in database middleware.

DBLEDistributed TransactionsTransaction Recovery
0 likes · 25 min read
DBLE XA Transaction Implementation and Recovery Analysis
JD Tech
JD Tech
Mar 7, 2019 · Databases

Distributed Transaction Solutions in Apache ShardingSphere: XA, Saga, and Flexible Transactions

Apache ShardingSphere provides an integrated distributed transaction solution combining traditional ACID‑compliant two‑phase commit, flexible Saga‑based transactions, and automatic transaction management, detailing their architectures, features, trade‑offs, and usage guidelines for developers handling multi‑database microservice environments.

Distributed TransactionsMicroservicesShardingSphere
0 likes · 18 min read
Distributed Transaction Solutions in Apache ShardingSphere: XA, Saga, and Flexible Transactions
dbaplus Community
dbaplus Community
Jul 31, 2018 · Databases

Mastering Distributed Transactions with ShardingSphere: From ACID to TCC

This article explains the challenges of preserving ACID properties in distributed environments, introduces CAP and BASE trade‑offs, reviews industry transaction models such as XA, 2PC, weak XA, BED, TCC and Saga, and details how ShardingSphere implements and plans to evolve support for these distributed transaction mechanisms.

BASECAPShardingSphere
0 likes · 19 min read
Mastering Distributed Transactions with ShardingSphere: From ACID to TCC
ITPUB
ITPUB
May 24, 2018 · Databases

How Ant Financial Solved Distributed Transaction Challenges with TCC, FMT, and XA

This article reviews Ant Financial's evolution of distributed transaction solutions—from early SOA consistency issues to the high‑performance TCC model, the developer‑friendly FMT approach, and the real‑time XA integration with OceanBase—highlighting architectural decisions, optimizations, and practical outcomes.

Distributed TransactionsXAdatabase-consistency
0 likes · 20 min read
How Ant Financial Solved Distributed Transaction Challenges with TCC, FMT, and XA