Tagged articles
11 articles
Page 1 of 1
Architect's Guide
Architect's Guide
Oct 18, 2025 · Databases

Mastering Distributed Transactions: From Fundamentals to Advanced Solutions

This comprehensive guide explains the core concepts of transactions, local and distributed transaction models, the CAP theorem, various distributed transaction solutions such as 2PC, TCC, reliable messaging, and maximum effort notifications, and compares their trade‑offs for modern microservice architectures.

2PCCAP theoremDistributed Transactions
0 likes · 44 min read
Mastering Distributed Transactions: From Fundamentals to Advanced Solutions
macrozheng
macrozheng
Sep 15, 2025 · Backend Development

7 Proven Solutions to Distributed Transaction Challenges in Microservices

This article explains why distributed transactions are difficult in micro‑service architectures, illustrates the problem with an e‑commerce order example, and presents seven practical solutions—including 2PC, 3PC, TCC, reliable messaging, best‑effort notification, Seata AT, and eBay's event‑queue—along with guidance on selecting the right approach for different consistency and performance requirements.

2PCDistributed TransactionsMicroservices
0 likes · 12 min read
7 Proven Solutions to Distributed Transaction Challenges in Microservices
Top Architect
Top Architect
Dec 25, 2022 · Backend Development

Distributed Transaction Fundamentals and Solutions: CAP, BASE, 2PC, TCC, Reliable Messaging, and Maximum‑Effort Notification

This article provides a comprehensive technical overview of distributed transactions, covering basic concepts, local and distributed transaction models, the CAP and BASE theories, two‑phase commit (2PC), XA and Seata implementations, TCC patterns, reliable‑message consistency with RocketMQ, and maximum‑effort notification approaches, along with a comparative analysis of each solution.

2PCCAP theoremDistributed Transactions
0 likes · 42 min read
Distributed Transaction Fundamentals and Solutions: CAP, BASE, 2PC, TCC, Reliable Messaging, and Maximum‑Effort Notification
Top Architect
Top Architect
Nov 7, 2022 · Backend Development

Distributed Transaction Solutions: 2PC, TCC, Seata, Reliable Messaging, and Maximum‑Effort Notification

This article explains the fundamentals of transactions, the challenges of distributed transactions, introduces ACID, CAP and BASE theories, and compares practical solutions such as two‑phase commit, TCC, Seata, reliable message‑based eventual consistency, and maximum‑effort notification, concluding with a comparative analysis of their trade‑offs.

2PCBASE theoryCAP theorem
0 likes · 42 min read
Distributed Transaction Solutions: 2PC, TCC, Seata, Reliable Messaging, and Maximum‑Effort Notification
ITPUB
ITPUB
Oct 29, 2022 · Databases

Understanding Local vs Distributed Transactions: ACID, Pitfalls, and Solutions

This article explains the fundamentals of local transactions, highlights their advantages and limitations, introduces the challenges of distributed transactions across services and databases, and reviews common solutions such as 2PC, reliable messaging, TCC, and max‑effort notification.

2PCACIDTransactions
0 likes · 10 min read
Understanding Local vs Distributed Transactions: ACID, Pitfalls, and Solutions
Wukong Talks Architecture
Wukong Talks Architecture
Aug 13, 2021 · Fundamentals

Reliable Message-Based Distributed Transaction Consistency Solution

This article explains the fundamentals of distributed transactions, introduces the reliable message eventual consistency approach, analyzes its challenges such as atomicity and message reliability, and presents two practical solutions—local message tables and RocketMQ transactional messages—along with their advantages and drawbacks.

Distributed TransactionsLocal Message TableRocketMQ
0 likes · 8 min read
Reliable Message-Based Distributed Transaction Consistency Solution
Code Ape Tech Column
Code Ape Tech Column
Feb 5, 2021 · Backend Development

How to Solve Distributed Transactions in Microservices: From 2PC to TCC and Reliable Messaging

This article analyzes the challenges of distributed transactions in microservice architectures, explains ACID, CAP and BASE theories, compares consistency models, and evaluates practical solutions such as two‑phase commit, local message tables, TCC, and reliable messaging with code examples and implementation details.

2PCBASE theoryCAP theorem
0 likes · 26 min read
How to Solve Distributed Transactions in Microservices: From 2PC to TCC and Reliable Messaging
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 31, 2020 · Backend Development

Mastering Distributed Transactions: Reliable Messaging, TCC, and Flexible Solutions

This article explores the fundamentals of distributed transactions, comparing traditional two‑phase commit with flexible approaches like reliable‑message eventual consistency, TCC, and best‑effort notification, and provides detailed design patterns, implementation steps, and trade‑offs for building robust backend systems.

2PCBackendDistributed Transactions
0 likes · 19 min read
Mastering Distributed Transactions: Reliable Messaging, TCC, and Flexible Solutions
Programmer DD
Programmer DD
Jan 8, 2019 · Backend Development

How to Build a Reliable Message Service for Distributed Transactions

This article explains how to design and implement a reliable message service that ensures atomicity between upstream business transactions and downstream message delivery, using status management, callbacks, and scheduled tasks to achieve eventual consistency in distributed systems.

Distributed TransactionsMessage Queueeventual consistency
0 likes · 9 min read
How to Build a Reliable Message Service for Distributed Transactions