Tagged articles
78 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
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
Architect Chen
Architect Chen
Aug 24, 2025 · Backend Development

Mastering Distributed Transactions: 2PC, 3PC, TCC, and Message‑Queue Strategies

This article explains the fundamentals of distributed transactions, illustrates why they are essential for multi‑service operations such as e‑commerce order processing, and compares four major solutions—two‑phase commit, three‑phase commit, TCC, and message‑queue based eventual consistency—detailing their workflows, advantages, and drawbacks.

2PC3PCBackend Architecture
0 likes · 7 min read
Mastering Distributed Transactions: 2PC, 3PC, TCC, and Message‑Queue Strategies
IT Architects Alliance
IT Architects Alliance
Jan 11, 2025 · Backend Development

Why Microservices Can’t Escape Distributed Transactions—and How to Solve Them

The article explains why distributed transactions are inevitable in microservice architectures, outlines the challenges of data consistency, fault handling, and performance, and presents practical solutions such as message‑queue eventual consistency, two‑phase commit, Saga patterns, and tooling like Spring Cloud, Atomikos, and Narayana.

2PCBackend ArchitectureDistributed Transactions
0 likes · 17 min read
Why Microservices Can’t Escape Distributed Transactions—and How to Solve Them
Sanyou's Java Diary
Sanyou's Java Diary
Nov 11, 2024 · Backend Development

Mastering Distributed Transactions: From 2PC to Seata AT Mode

This article explains the fundamentals of ACID transactions, the challenges of multi‑data‑source operations, surveys common distributed‑transaction solutions such as 2PC, 3PC, TCC, transaction‑status tables and message‑queue based eventual consistency, and then details the implementation of Seata’s AT mode in a micro‑service e‑commerce scenario.

2PCAT ModeMicroservices
0 likes · 31 min read
Mastering Distributed Transactions: From 2PC to Seata AT Mode
Su San Talks Tech
Su San Talks Tech
Jan 15, 2024 · Backend Development

Mastering Distributed Transactions: 8 Powerful Techniques Explained

This article introduces eight essential distributed‑transaction techniques—including 2PC, 3PC, TCC, Saga, distributed locks, local message tables, reliable message transactions, and best‑effort notifications—detailing their workflows, advantages, drawbacks, and suitable business scenarios to help engineers choose the right solution.

2PC3PCConsistency
0 likes · 16 min read
Mastering Distributed Transactions: 8 Powerful Techniques Explained
Architect
Architect
Nov 16, 2023 · Backend Development

Understanding Transactional Messages in Distributed Systems: RocketMQ and Kafka

This article explains the principles of distributed transaction messages, comparing 2PC, TCC, and transactional messaging, and provides detailed walkthroughs of RocketMQ and Kafka implementations, including their two‑phase processes, broker handling, and source‑code insights for ensuring data consistency in asynchronous systems.

2PCDistributed SystemsMessage Queue
0 likes · 16 min read
Understanding Transactional Messages in Distributed Systems: RocketMQ and Kafka
Sanyou's Java Diary
Sanyou's Java Diary
Sep 27, 2023 · Backend Development

Mastering Distributed Transactions: From 2PC to Seata AT Mode

This article explains ACID properties of single‑node transactions, the challenges of multi‑data‑source operations, surveys common distributed‑transaction solutions such as 2PC, 3PC, TCC, status‑table and message‑queue approaches, and details the implementation of Seata's AT mode with lock and rollback mechanisms.

2PCAT ModeMicroservices
0 likes · 32 min read
Mastering Distributed Transactions: From 2PC to Seata AT Mode
Architect
Architect
Sep 9, 2023 · Backend Development

How to Guarantee Data Consistency in Distributed Transactions: A Practical Deep‑Dive

This article examines the challenges of maintaining data consistency across micro‑service boundaries, walks through real‑world payment and gifting scenarios, compares classic solutions such as 2PC, saga, TCC, local‑message tables and transaction messages, and finally recommends a pragmatic approach for building reliable distributed transaction mechanisms.

2PCBackend ArchitectureData Consistency
0 likes · 23 min read
How to Guarantee Data Consistency in Distributed Transactions: A Practical Deep‑Dive
Architect
Architect
Aug 26, 2023 · Databases

Mastering Distributed Transactions: From ACID Basics to 2PC, TCC, and Saga Patterns

This article explains the fundamentals of database transactions, the ACID properties, and why distributed transactions are needed, then walks through the implementation details of redo/undo logs, local transactions, CAP and BASE theory, and evaluates five major distributed‑transaction solutions—2PC, TCC, local‑message tables, maximum‑effort notification, and Saga—with concrete examples, pros, and cons.

2PCACIDBASE
0 likes · 20 min read
Mastering Distributed Transactions: From ACID Basics to 2PC, TCC, and Saga Patterns
Sanyou's Java Diary
Sanyou's Java Diary
Jul 13, 2023 · Backend Development

Mastering Distributed Transactions with Seata: Theory, Options, and Hands‑On Practice

This article explains the concept of distributed transactions, compares common solutions such as 2PC, 3PC, TCC, and message‑based eventual consistency, and provides a detailed walkthrough of configuring and using the Seata middleware—including AT mode workflow, server and client setup, and real‑world testing—so developers can confidently implement reliable cross‑service transactions.

2PCAT ModeMicroservices
0 likes · 18 min read
Mastering Distributed Transactions with Seata: Theory, Options, and Hands‑On Practice
JD Retail Technology
JD Retail Technology
Jun 30, 2023 · Fundamentals

Fundamentals of Distributed Systems: CAP Theory, ACID, BASE, Idempotency, and Distributed Transaction Protocols

This article explains core distributed‑system concepts such as the CAP theorem, ACID and BASE transaction models, idempotent design, and various distributed transaction mechanisms including two‑phase and three‑phase commit, TCC/Saga compensation, message‑based transactions, and popular frameworks like JDTS and Seata.

2PC3PCACID
0 likes · 6 min read
Fundamentals of Distributed Systems: CAP Theory, ACID, BASE, Idempotency, and Distributed Transaction Protocols
Su San Talks Tech
Su San Talks Tech
May 9, 2023 · Backend Development

Mastering Distributed Transactions: From 2PC to Seata AT Mode

This article explains the fundamentals of single‑ and multi‑data‑source transactions, surveys common distributed transaction models such as 2PC, 3PC, TCC, status‑table and message‑middleware approaches, and then details the implementation of Seata's AT mode with diagrams, code snippets, and lock handling.

2PCAT ModeDistributed Transactions
0 likes · 33 min read
Mastering Distributed Transactions: From 2PC to Seata AT Mode
Architects Research Society
Architects Research Society
Mar 1, 2023 · Fundamentals

Understanding Consistency in Distributed Systems

This article explains the concept of consistency in distributed systems, distinguishes strong and weak (eventual) consistency, outlines typical use cases and challenges, and reviews key protocols such as 2‑Phase Commit, 3‑Phase Commit, Paxos, and Raft, while referencing the FLP and CAP theorems.

2PC3PCCAP theorem
0 likes · 9 min read
Understanding Consistency in Distributed Systems
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
High Availability Architecture
High Availability Architecture
Dec 1, 2022 · Fundamentals

Extending Paxos with Partially Ordered rnd Values for Transactional Mutual Exclusion

The article explains how Paxos can be generalized by defining its round number (rnd) over any partially ordered set, enabling both forced and non‑forced conflict exclusion mechanisms similar to 2PC, and showing how this expands Paxos’s applicability to multi‑dimensional transaction ordering and simplifies distributed database architectures.

2PCConsensusDistributed Systems
0 likes · 4 min read
Extending Paxos with Partially Ordered rnd Values for Transactional Mutual Exclusion
ITPUB
ITPUB
Nov 17, 2022 · Backend Development

Mastering Distributed Transactions: From Local Basics to Advanced Solutions

This article explains the fundamentals of ACID, compares monolithic and distributed transaction models, and details various distributed transaction strategies—including 2PC, 3PC, TCC, local message tables, MQ transactions, max‑effort notifications, Saga, and Seata—highlighting their mechanisms, trade‑offs, and practical considerations.

2PC3PCDistributed Transactions
0 likes · 20 min read
Mastering Distributed Transactions: From Local Basics to Advanced Solutions
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
ITPUB
ITPUB
Oct 15, 2022 · Backend Development

How Seata’s AT Mode Solves Distributed Transaction Challenges in Microservices

This article explains the fundamentals of single‑source and multi‑source transactions, reviews common distributed‑transaction patterns such as 2PC, 3PC, TCC, transaction‑status tables and message‑queue based eventual consistency, and then details the implementation and isolation mechanisms of Seata’s AT mode for microservice architectures.

2PCAT ModeDistributed Transactions
0 likes · 34 min read
How Seata’s AT Mode Solves Distributed Transaction Challenges in Microservices
ITPUB
ITPUB
Sep 27, 2022 · Fundamentals

Mastering Distributed Consistency: From ACID to TCC and Beyond

This article explains the fundamentals of distributed consistency, covering consistency levels, ACID and CAP principles, BASE theory, and practical protocols such as 2PC, 3PC, and TCC, while also discussing real‑world patterns like cache consistency and reliable messaging.

2PC3PCACID
0 likes · 20 min read
Mastering Distributed Consistency: From ACID to TCC and Beyond
Java High-Performance Architecture
Java High-Performance Architecture
Sep 7, 2022 · Backend Development

Master Distributed Transaction Consistency: 2PC vs MQ Solutions for Java Interviews

This article explains the challenges of distributed transactions in high‑concurrency systems, compares classic two‑phase commit (2PC) with modern message‑queue‑based reliable delivery, outlines their mechanisms, pros and cons, and provides interview‑ready insights and practical implementation tips for Java developers.

2PCDistributed TransactionsJava
0 likes · 15 min read
Master Distributed Transaction Consistency: 2PC vs MQ Solutions for Java Interviews
AI Illustrated Series
AI Illustrated Series
Jul 28, 2022 · Backend Development

How to Ensure Distributed Transaction Consistency Using Message Queues

This article analyzes the challenges of distributed transactions in multi‑node systems and compares various solutions—including 2PC, 3PC, TCC, Saga, local message tables, and MQ‑based approaches—detailing their mechanisms, trade‑offs, and practical implementations with concrete examples from order and cart services.

2PCDistributed TransactionsKafka
0 likes · 19 min read
How to Ensure Distributed Transaction Consistency Using Message Queues
政采云技术
政采云技术
May 19, 2022 · Databases

Distributed Transaction Consistency Solutions

This article explains the fundamentals of distributed transactions, covering ACID, CAP and BASE theories, and reviews various consistency solutions such as two‑phase commit, three‑phase commit, TCC, local message tables, MQ approaches and the Seata framework, highlighting their advantages and drawbacks.

2PCCAPConsistency
0 likes · 18 min read
Distributed Transaction Consistency Solutions
Top Architect
Top Architect
Apr 20, 2022 · Databases

Understanding Distributed Transactions, Consistency Models, and Sharding in Database Systems

This article explains the fundamentals of distributed transactions, the ACID properties, various consistency models (strong, weak, eventual), sharding strategies (vertical and horizontal), the CAP and BASE theories, and the practical implementations of two‑phase, three‑phase, and TCC commit protocols, highlighting their advantages and drawbacks.

2PC3PCBASE
0 likes · 22 min read
Understanding Distributed Transactions, Consistency Models, and Sharding in Database Systems
IT Architects Alliance
IT Architects Alliance
Mar 9, 2022 · Databases

Understanding Database Transactions, ACID Properties, and Two‑Phase/Three‑Phase Commit Protocols

This article explains the ACID properties of database transactions, distinguishes between single‑node and distributed transactions, describes the two‑phase and three‑phase commit protocols, discusses transaction states, fault tolerance, and recovery mechanisms, and shows how replication and consensus can provide high availability for transaction processing.

2PC3PCACID
0 likes · 10 min read
Understanding Database Transactions, ACID Properties, and Two‑Phase/Three‑Phase Commit Protocols
JavaEdge
JavaEdge
Dec 21, 2021 · Backend Development

From Local to Distributed Transactions: Choosing 2PC, 3PC, TCC, Saga or Seata

This article explains the fundamentals of transactions, compares monolithic and distributed transaction models, and walks through various distributed transaction solutions such as 2PC, 3PC, TCC, local message tables, MQ transactions, max‑effort notifications, Saga, and Seata, highlighting their trade‑offs and practical considerations.

2PC3PCSeata
0 likes · 20 min read
From Local to Distributed Transactions: Choosing 2PC, 3PC, TCC, Saga or Seata
Code Ape Tech Column
Code Ape Tech Column
Oct 25, 2021 · Backend Development

Comprehensive Guide to Distributed Transaction Solutions and Seata AT Mode Implementation

This article provides an in‑depth overview of mainstream distributed transaction solutions—including 2PC, 3PC, TCC, Saga, local message tables, and MQ‑based transactions—explains the theoretical foundations such as CAP and BASE, and offers a step‑by‑step tutorial for setting up Seata’s AT mode with Spring Cloud, Nacos, and MySQL.

2PCAT ModeMicroservices
0 likes · 40 min read
Comprehensive Guide to Distributed Transaction Solutions and Seata AT Mode Implementation
Java Tech Enthusiast
Java Tech Enthusiast
Oct 19, 2021 · Backend Development

Distributed Transaction Solutions and Implementing Delayed Queues with RabbitMQ in Spring Boot

To handle distributed transactions in micro‑service systems, the article compares 2PC, TCC, maximum‑effort notification and reliable messaging, then shows how Spring Boot can use RabbitMQ delayed queues—leveraging dead‑letter exchanges, TTL and routing—to achieve eventual consistency for order‑payment workflows.

2PCRabbitMQSpring Boot
0 likes · 11 min read
Distributed Transaction Solutions and Implementing Delayed Queues with RabbitMQ in Spring Boot
Code Ape Tech Column
Code Ape Tech Column
Sep 10, 2021 · Fundamentals

What Is a Distributed Transaction? Theory, Challenges, and Common Solutions

The article explains the concept of distributed transactions, why they are needed in micro‑service architectures, presents the CAP and BASE theories, and reviews major solutions such as two‑phase commit, three‑phase commit, TCC, local message tables, message‑based transactions, max‑effort notifications, Sagas and the Seata framework.

2PC3PCCAP theorem
0 likes · 15 min read
What Is a Distributed Transaction? Theory, Challenges, and Common Solutions
Java Interview Crash Guide
Java Interview Crash Guide
Aug 27, 2021 · Backend Development

Mastering Distributed Transactions: From CAP Theory to .NET CAP Solution

This article explores the challenges of distributed transactions, explains database ACID fundamentals, introduces CAP and BASE theories, compares solutions such as two‑phase commit, TCC, local message tables, MQ transactional messages, and the Sagas model, and presents the open‑source .NET CAP framework with its features and implementation details.

.NET CAP2PCBASE theory
0 likes · 17 min read
Mastering Distributed Transactions: From CAP Theory to .NET CAP Solution
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
Java Architect Essentials
Java Architect Essentials
Apr 6, 2021 · Backend Development

Distributed Transaction Solutions: 2PC, 3PC, XA, TCC, Saga, Local Message Table, Transactional Messages, and Seata

This article explains the importance of distributed transactions in micro‑service architectures, reviews ACID properties, compares various solutions such as 2PC/3PC, XA, local message tables, transactional messages, TCC, Saga, and introduces the Seata framework with its AT, TCC, and Saga modes, while also discussing consistency versus consensus with Paxos.

2PCConsistencyDistributed Transactions
0 likes · 14 min read
Distributed Transaction Solutions: 2PC, 3PC, XA, TCC, Saga, Local Message Table, Transactional Messages, and Seata
MaGe Linux Operations
MaGe Linux Operations
Apr 5, 2021 · Backend Development

Mastering Distributed Transactions: Protocols, Patterns, and Seata Explained

This article explores the fundamentals of distributed transactions in microservice architectures, detailing ACID properties, classic protocols like 2PC/3PC and XA, modern patterns such as TCC, Saga, local message tables, transaction messages, and the Seata framework, while comparing their trade‑offs with Paxos consensus.

2PCConsistencyDistributed Transactions
0 likes · 16 min read
Mastering Distributed Transactions: Protocols, Patterns, and Seata Explained
21CTO
21CTO
Mar 29, 2021 · Databases

Inside YugabyteDB: Architecture, Tablet Storage, and Distributed Transactions

This article explains YugabyteDB's two‑layer logical architecture, its tablet‑based distributed storage built on Raft groups, the RocksDB‑backed local DocDB, and how it implements distributed transactions using Hybrid Logical Clocks, two‑phase commit, and MVCC, while comparing it with TiDB, CockroachDB and other rivals.

2PCMVCCRocksDB
0 likes · 14 min read
Inside YugabyteDB: Architecture, Tablet Storage, and Distributed Transactions
Architect
Architect
Feb 27, 2021 · Backend Development

Distributed Transaction Solutions: 2PC, 3PC, XA, TCC, Saga, Local Message Table, Transactional Messages, and Seata

This article explains the challenges of distributed transactions in micro‑service architectures and reviews major solutions such as 2PC/3PC, XA, TCC, Saga, local message tables, transactional messages, and the Seata framework, comparing their consistency, performance, and implementation trade‑offs.

2PCDistributed TransactionsSeata
0 likes · 18 min read
Distributed Transaction Solutions: 2PC, 3PC, XA, TCC, Saga, Local Message Table, Transactional Messages, and Seata
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
Architect
Architect
Dec 31, 2020 · Backend Development

Understanding the Saga Pattern for Distributed Data Consistency in Microservices

This article explains why data consistency is critical in microservice architectures, introduces the Saga pattern and its execution and recovery mechanisms, compares it with two‑phase commit and TCC, and presents a centralized Saga design using ServiceComb for reliable distributed transactions.

2PCCompensationData Consistency
0 likes · 18 min read
Understanding the Saga Pattern for Distributed Data Consistency in Microservices
Code Ape Tech Column
Code Ape Tech Column
Dec 29, 2020 · Fundamentals

Understanding Distributed Consistency: CAP, BASE, 2PC, 3PC, Paxos, Raft, ZAB, and NWR Model

This article explains the challenges of distributed systems such as node failures and network anomalies, then introduces the CAP theorem, BASE theory, two‑phase and three‑phase commit protocols, and details consensus algorithms including Paxos, Raft, ZAB, and Amazon Dynamo's NWR model, highlighting their trade‑offs and practical usage.

2PC3PCCAP theorem
0 likes · 37 min read
Understanding Distributed Consistency: CAP, BASE, 2PC, 3PC, Paxos, Raft, ZAB, and NWR Model
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 6, 2020 · Databases

Distributed Transaction Solutions and Seata AT Mode Implementation

This article explains the limitations of single‑database transactions in multi‑data‑source micro‑service scenarios, reviews common distributed‑transaction models such as 2PC, 3PC, TCC, status‑table and message‑queue based final consistency, and details the implementation of Seata's AT mode for achieving global ACID properties.

2PCAT ModeDistributed Transactions
0 likes · 30 min read
Distributed Transaction Solutions and Seata AT Mode Implementation
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 19, 2020 · Backend Development

Implementing Transactional Messages with Apache RocketMQ

This article explains how to use Apache RocketMQ's 2PC-based transactional messaging feature, covering the overall workflow, key concepts such as half messages and compensation, and providing complete Java/Spring Boot code examples for producers, transaction listeners, and consumers.

2PCDistributed SystemsJava
0 likes · 12 min read
Implementing Transactional Messages with Apache RocketMQ
Architect
Architect
Jun 7, 2020 · Fundamentals

Understanding Consistency Models and Distributed Consensus Protocols

This article explains the fundamentals of distributed consistency, covering weak and strong consistency, the CAP theorem, ACID and BASE models, and detailed overviews of 2PC, 3PC, Paxos, Raft, Gossip, NWR, Quorum, and Lease mechanisms, highlighting their trade‑offs and practical use cases.

2PCCAP theoremConsistency
0 likes · 16 min read
Understanding Consistency Models and Distributed Consensus Protocols
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
Architecture Digest
Architecture Digest
Apr 1, 2019 · Backend Development

Seven Reliable Methods for Solving Distributed Transaction Problems

This article, excerpted from the book "Software Architecture Design: Integrating Large‑Scale Website Technical and Business Architecture," systematically presents seven practical solutions—including two eventual‑consistency approaches, two compromise methods, TCC, state‑machine retry with idempotence, and reconciliation—to address the pervasive challenges of distributed transactions in micro‑service systems.

2PCDistributed TransactionsReconciliation
0 likes · 25 min read
Seven Reliable Methods for Solving Distributed Transaction Problems
Youzan Coder
Youzan Coder
Jan 23, 2019 · Fundamentals

Consistency, CAP Theorem, and Distributed Consensus Protocols (2PC, 3PC, Paxos, Raft, Zookeeper)

The article explains how the CAP theorem forces trade‑offs between consistency, availability and partition tolerance, then surveys distributed commit protocols (2PC, 3PC) and consensus algorithms (Paxos, Raft, Zookeeper’s ZAB), and shows their practical use in systems such as ZanKV that combine Raft with RocksDB for strongly consistent, fault‑tolerant key‑value storage.

2PCCAP theoremConsistency
0 likes · 28 min read
Consistency, CAP Theorem, and Distributed Consensus Protocols (2PC, 3PC, Paxos, Raft, Zookeeper)
Java Architect Essentials
Java Architect Essentials
Oct 30, 2018 · Backend Development

Understanding Distributed Transactions: Theory, Models, and .NET Solutions

This article explains the challenges of distributed transactions in microservice architectures, covering database transaction fundamentals, the CAP and BASE theories, and evaluates various solutions such as 2PC, TCC, local message tables, MQ transactional messages, Sagas, and introduces the open‑source .NET CAP framework.

2PCBackendCAP theorem
0 likes · 15 min read
Understanding Distributed Transactions: Theory, Models, and .NET Solutions
Architects' Tech Alliance
Architects' Tech Alliance
Sep 29, 2018 · Backend Development

Mastering Distributed Transactions: CAP, BASE, 2PC, TCC, Sagas and .NET CAP

This article explains the fundamentals of distributed transactions, covering ACID and CAP theory, the BASE model, and compares common solutions such as two‑phase commit, TCC, local message tables, MQ transactional messages, and Sagas, while also introducing the open‑source .NET CAP framework with its features and limitations.

2PCBASECAP framework
0 likes · 17 min read
Mastering Distributed Transactions: CAP, BASE, 2PC, TCC, Sagas and .NET CAP
Big Data and Microservices
Big Data and Microservices
Sep 20, 2018 · Backend Development

Why Distributed Transactions Matter: Concepts, Scenarios, and Solutions

This article explains the fundamentals of distributed transactions, why they arise in modern micro‑service architectures, outlines the ACID properties, presents typical use cases such as payments and order processing, and compares common implementation approaches like 2PC, message‑based eventual consistency, and TCC.

2PCDistributed TransactionsMessage Queue
0 likes · 12 min read
Why Distributed Transactions Matter: Concepts, Scenarios, and Solutions
Architects' Tech Alliance
Architects' Tech Alliance
Sep 11, 2018 · Databases

Understanding Distributed Transactions: Principles, 2PC, 3PC, XA, Saga, and Message‑Based Approaches

This article explains the fundamentals of database transactions, the ACID properties, and how they are implemented, then delves into distributed transaction challenges and solutions such as two‑phase and three‑phase commit, XA, Saga patterns, choreography vs. orchestration, and message‑based transaction mechanisms.

2PC3PCACID
0 likes · 16 min read
Understanding Distributed Transactions: Principles, 2PC, 3PC, XA, Saga, and Message‑Based Approaches
21CTO
21CTO
Aug 23, 2018 · Databases

Mastering Database Transactions: From ACID to Distributed Saga

This article explains the fundamentals of database transactions, the ACID properties, and how they are implemented, then delves into distributed transaction challenges and solutions such as two‑phase commit, three‑phase commit, XA, and Saga patterns, highlighting their trade‑offs and practical usage.

2PCACIDDistributed Systems
0 likes · 19 min read
Mastering Database Transactions: From ACID to Distributed Saga
Architecture Digest
Architecture Digest
Dec 9, 2017 · Databases

Understanding Relational and Distributed Transactions

This article explains the fundamentals of relational database transactions, the ACID properties, and various distributed transaction protocols such as 2PC, 3PC, TCC, message‑based approaches, and 1PC, while discussing their advantages, drawbacks, and practical considerations.

2PCACIDDistributed Systems
0 likes · 20 min read
Understanding Relational and Distributed Transactions
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Oct 3, 2017 · Backend Development

Why Distributed Transactions Still Matter: Strategies Beyond 2PC

This article explores the challenges of distributed transactions in microservice architectures, explains consistency theories like CAP and BASE, compares classic 2PC with eBay's event‑queue approach, TCC compensation, and cache‑based eventual consistency, and offers practical guidance for choosing the right solution.

2PCBASECAP theorem
0 likes · 11 min read
Why Distributed Transactions Still Matter: Strategies Beyond 2PC
Qunar Tech Salon
Qunar Tech Salon
Jul 26, 2017 · Databases

Understanding Distributed System Consistency, CAP, ACID, and Transaction Protocols (2PC & 3PC)

This article explains the challenges of consistency in distributed systems, introduces the CAP theorem and ACID properties, describes common distributed transaction techniques such as local message tables, transactional message middleware like RocketMQ, and details the two‑phase and three‑phase commit protocols with their advantages and drawbacks.

2PC3PCACID
0 likes · 16 min read
Understanding Distributed System Consistency, CAP, ACID, and Transaction Protocols (2PC & 3PC)
Architecture Digest
Architecture Digest
Jul 25, 2017 · Fundamentals

Understanding Distributed System Consistency: CAP Theorem, ACID, Distributed Transactions, and 2PC/3PC Protocols

This article explains the core concepts of distributed system consistency—including the CAP theorem, ACID properties, various distributed transaction techniques, and the two‑phase and three‑phase commit protocols—while illustrating practical implementations with message queues and local message tables.

2PC3PCCAP theorem
0 likes · 13 min read
Understanding Distributed System Consistency: CAP Theorem, ACID, Distributed Transactions, and 2PC/3PC Protocols