Tagged articles
130 articles
Page 1 of 2
Coder Trainee
Coder Trainee
Apr 29, 2026 · Backend Development

Mastering Distributed Transactions with Seata in Spring Cloud Microservices

This article explains why distributed transactions are essential in microservice architectures, introduces Alibaba's open‑source Seata solution, compares its AT, TCC and Saga modes, shows step‑by‑step Docker deployment, provides full Spring Cloud code examples, and lists common pitfalls and debugging tips.

AT ModeDocker ComposeSeata
0 likes · 12 min read
Mastering Distributed Transactions with Seata in Spring Cloud Microservices
SpringMeng
SpringMeng
Apr 11, 2026 · Backend Development

How a New Tech Lead Crafted an Elegant Payment System Architecture

The article breaks down the complexities of payment processing by outlining business background, decomposing the workflow into modular steps, illustrating sequence diagrams, designing data structures, and addressing related domains such as product and coupon management, while highlighting key technical challenges like TCC transactions, locking, and retry mechanisms.

Backend Architecturecoupon rulesorder processing
0 likes · 8 min read
How a New Tech Lead Crafted an Elegant Payment System Architecture
Ray's Galactic Tech
Ray's Galactic Tech
Feb 3, 2026 · Backend Development

Mastering TCC in Go Microservices: A Complete Practical Guide

This guide explains the TCC (Try‑Confirm‑Cancel) distributed transaction model for Go microservices, covering its principles, comparison with 2PC and Saga, architecture, implementation steps, code examples, real‑world e‑commerce case, failure scenarios, table design, and production‑grade best practices.

Distributed Transactionstcc
0 likes · 11 min read
Mastering TCC in Go Microservices: A Complete Practical Guide
Su San Talks Tech
Su San Talks Tech
Jan 9, 2026 · Backend Development

Mastering Seata TCC: Theory, Types, and Practical Implementation

This article explains the TCC (Try‑Confirm‑Cancel) transaction model, its three practical variants, and provides a step‑by‑step guide with code examples for integrating Seata TCC into a Spring‑Boot e‑commerce order service, while addressing common pitfalls such as idempotency, empty rollbacks, and hanging transactions.

Distributed TransactionsMicroservicesSeata
0 likes · 18 min read
Mastering Seata TCC: Theory, Types, and Practical Implementation
NiuNiu MaTe
NiuNiu MaTe
Oct 22, 2025 · Backend Development

How to Build a Lightning‑Fast, Stable Seckill System That Handles Millions of Requests

Learn how to design a robust, high‑performance seckill architecture that can endure millions of concurrent requests by breaking down business flow, defining precise technical metrics, and implementing a four‑layer system—access, traffic‑shaping, business logic, and data—using CDN, APISIX, Redis, RocketMQ, and MySQL with detailed code examples.

RocketMQSeckillSystem Architecture
0 likes · 22 min read
How to Build a Lightning‑Fast, Stable Seckill System That Handles Millions of Requests
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 Services Circle
IT Services Circle
Jun 19, 2025 · Backend Development

Why We Skipped TCC: Using Compensation and Local Message Tables for Distributed Transactions

This article explains common distributed‑transaction solutions, describes the author’s own compensation‑plus‑local‑message‑table approach for merging customers across databases, outlines the TCC model with its Try‑Confirm‑Cancel phases, and details why TCC was rejected due to complexity, long resource locks, and rollback issues.

CompensationDistributed Transactionstcc
0 likes · 9 min read
Why We Skipped TCC: Using Compensation and Local Message Tables for Distributed Transactions
Java Tech Enthusiast
Java Tech Enthusiast
Jun 3, 2025 · Backend Development

Understanding the TCC (Try‑Confirm‑Cancel) Pattern for Distributed Transactions in Microservices

This article explains the TCC (Try‑Confirm‑Cancel) distributed transaction pattern, compares it with traditional solutions, details its three‑phase workflow, provides Java code examples for each phase, and discusses exception handling, timeout control, asynchronous processing, suitable scenarios, and common pitfalls for backend microservice development.

Distributed TransactionsIdempotencyMicroservices
0 likes · 8 min read
Understanding the TCC (Try‑Confirm‑Cancel) Pattern for Distributed Transactions in Microservices
Lobster Programming
Lobster Programming
May 6, 2025 · Backend Development

Mastering Seata TCC: A Practical Guide to Distributed Transactions

Learn how Seata's TCC mode addresses distributed transaction challenges when AT mode cannot handle non-relational resources, by detailing its three-phase workflow, handling of common anomalies like empty rollbacks, idempotency, and hanging, and weighing its benefits against complexity.

Compensating TransactionsDistributed TransactionsSeata
0 likes · 7 min read
Mastering Seata TCC: A Practical Guide to Distributed Transactions
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
Liangxu Linux
Liangxu Linux
Sep 15, 2024 · Backend Development

Top Free C/C++ Compilers: GCC, Clang/LLVM, TCC, MSVC, and Digital Mars

This article introduces five widely used, free C/C++ compilers—GCC, Clang/LLVM, Tiny C Compiler, Microsoft Visual C++, and Digital Mars—detailing their main features, platform support, typical usage commands, and ideal application scenarios for developers seeking lightweight or powerful compilation tools.

C++ClangMSVC
0 likes · 12 min read
Top Free C/C++ Compilers: GCC, Clang/LLVM, TCC, MSVC, and Digital Mars
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
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 theoremDistributed TransactionsMicroservices
0 likes · 18 min read
How to Choose the Right Distributed Transaction Pattern for Microservices
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
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
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
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
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
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
IT Architects Alliance
IT Architects Alliance
Nov 24, 2022 · Backend Development

Transaction Consistency Strategies in Microservices: Blocking Retry, Async Queues, TCC, and Local Message Tables

The article examines common microservice transaction consistency techniques—including blocking retries, asynchronous queues, TCC compensation transactions, local message tables, and MQ transactions—explaining their mechanisms, advantages, drawbacks, and practical code examples for ensuring data integrity across distributed services.

ConsistencyMessage QueueRetry
0 likes · 13 min read
Transaction Consistency Strategies in Microservices: Blocking Retry, Async Queues, TCC, and Local Message Tables
Top Architect
Top Architect
Nov 23, 2022 · Backend Development

Transaction Consistency Strategies in Distributed Microservices: Blocking Retry, Asynchronous Queue, TCC, and Local Message Table

The article explains various techniques for ensuring data consistency in distributed microservice architectures, including blocking retries, asynchronous queues, TCC compensation transactions, local message tables, and MQ transactions, while discussing their advantages, drawbacks, and practical implementation details.

BackendConsistencyMessage Queue
0 likes · 15 min read
Transaction Consistency Strategies in Distributed Microservices: Blocking Retry, Asynchronous Queue, TCC, and Local Message Table
Architect
Architect
Nov 22, 2022 · Backend Development

Handling Distributed Transaction Failures in Microservices: Blocking Retry, Async Queue, TCC, and Local Message Table

This article examines common strategies for handling inter‑service call failures in microservice architectures, comparing blocking retries, asynchronous queues, TCC compensation transactions, local message tables, and MQ‑based transactions, and discusses their advantages, drawbacks, and practical implementation considerations.

Data ConsistencyDistributed TransactionsMicroservices
0 likes · 17 min read
Handling Distributed Transaction Failures in Microservices: Blocking Retry, Async Queue, TCC, and Local Message Table
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
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
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
macrozheng
macrozheng
May 27, 2022 · Backend Development

Designing a Scalable Coupon System: From Distribution to Redemption

This article explains the end‑to‑end design of a coupon system for e‑commerce, covering promotion types, core workflows, service architecture, database schema, distributed transaction handling, scaling strategies, rate limiting, and consistency mechanisms such as TCC.

Coupon SystemScalabilitybackend design
0 likes · 15 min read
Designing a Scalable Coupon System: From Distribution to Redemption
政采云技术
政采云技术
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
Baidu Geek Talk
Baidu Geek Talk
May 11, 2022 · Backend Development

Distributed Transactions: Concepts, TCC and Saga Patterns, and Practical Implementation

The article explains how micro‑service architectures create data‑consistency challenges that require distributed transaction strategies, compares strong‑consistency protocols like 2PC/3PC with eventual‑consistency approaches such as TCC and Saga patterns, and discusses their trade‑offs, implementation complexity, and suitability for real‑world scenarios like a points‑based sign‑in system.

Distributed TransactionsMicroservicesdatabase-consistency
0 likes · 11 min read
Distributed Transactions: Concepts, TCC and Saga Patterns, and Practical Implementation
Shopee Tech Team
Shopee Tech Team
May 5, 2022 · Backend Development

seadt: Golang Distributed Transaction Solution – Design, Integration, and Code Implementation

seadt is a Golang‑based TCC distributed‑transaction framework for Shopee Financial Products that lets initiators run multi‑service operations as if they were local DB actions, providing TM, RM, and TC components, automatic proxy generation, and robust handling of empty commits, rollbacks, hanging branches, and concurrency issues.

Golangdistributed-transactionseadt
0 likes · 32 min read
seadt: Golang Distributed Transaction Solution – Design, Integration, and Code Implementation
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
Shopee Tech Team
Shopee Tech Team
Mar 3, 2022 · Backend Development

seadt: A Golang Distributed Transaction Framework for Financial Products

seadt is a self‑developed Golang distributed‑transaction framework for Shopee’s financial products that adopts the TCC model, providing a global Transaction Coordinator, embedded Transaction Managers and Resource Managers via an SDK to ensure atomic two‑phase commits, idempotency, high availability, and eventual consistency in loan‑processing flows, with future Saga support planned.

Financial ServicesGolangSeata
0 likes · 20 min read
seadt: A Golang Distributed Transaction Framework for Financial Products
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
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
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
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
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.

Distributed Transactionssagatcc
0 likes · 16 min read
Classic Solutions for Distributed Transactions: Theory and Practical Patterns
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
Java Interview Crash Guide
Java Interview Crash Guide
Sep 12, 2021 · Backend Development

Mastering Distributed Transactions: From Blocking Retries to TCC and MQ

This article examines common distributed transaction patterns in micro‑service architectures—including blocking retries, asynchronous queues, TCC compensation, local message tables, and MQ transactions—explaining their mechanisms, advantages, drawbacks, and practical implementation details.

Distributed TransactionsMessage QueueMicroservices
0 likes · 13 min read
Mastering Distributed Transactions: From Blocking Retries to TCC and MQ
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
Architect's Tech Stack
Architect's Tech Stack
Aug 27, 2021 · Backend Development

Transaction Management Patterns in Microservices: Blocking Retry, Async Queue, TCC, and Local Message Table

The article explains common microservice transaction patterns—including blocking retry, asynchronous queues, TCC compensation transactions, and local message tables—detailing their implementations, advantages, drawbacks, and practical code examples for ensuring data consistency in distributed systems.

Data ConsistencyDistributed SystemsMicroservices
0 likes · 14 min read
Transaction Management Patterns in Microservices: Blocking Retry, Async Queue, TCC, and Local Message Table
IT Architects Alliance
IT Architects Alliance
Aug 26, 2021 · Backend Development

Business Classification and Distributed Transaction Solutions with DTM, SEATA, and RocketMQ

The article classifies common microservice business scenarios, matches each with suitable distributed transaction patterns such as reliable messages, TCC, SAGA, and XA, and demonstrates practical implementations using DTM, SEATA, and RocketMQ with code examples and a feature comparison table.

DTMDistributed TransactionsMicroservices
0 likes · 8 min read
Business Classification and Distributed Transaction Solutions with DTM, SEATA, and RocketMQ
ITPUB
ITPUB
Aug 23, 2021 · Backend Development

Ensuring Microservice Data Consistency: Retry, Queues, TCC & Message Tables

The article examines common strategies for handling service call failures and maintaining data consistency in microservice architectures, comparing blocking retries, asynchronous queues, TCC compensation transactions, local message tables, and MQ transactions, highlighting their trade‑offs, implementation details, and practical considerations.

Data ConsistencyDistributed Transactionstcc
0 likes · 16 min read
Ensuring Microservice Data Consistency: Retry, Queues, TCC & Message Tables
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
IT Architects Alliance
IT Architects Alliance
Jul 18, 2021 · Databases

Mastering Distributed Transactions: From Two-Phase Commit to Saga and Beyond

This article explains the fundamentals of distributed transactions, compares classic solutions such as XA, Saga, TCC, local message tables, and transactional messages, discusses their trade‑offs, and introduces advanced techniques like sub‑transaction barriers to handle network anomalies in microservice architectures.

DTMDistributed TransactionsMicroservices
0 likes · 16 min read
Mastering Distributed Transactions: From Two-Phase Commit to Saga and Beyond
Code Ape Tech Column
Code Ape Tech Column
Jul 7, 2021 · Backend Development

How to Ensure Data Consistency in Microservices: From Blocking Retries to TCC

This article examines common techniques for handling service call failures in micro‑service architectures—blocking retries, asynchronous queues, TCC compensation transactions, local message tables, and MQ transactions—detailing their implementations, pitfalls, and trade‑offs to achieve reliable data consistency.

Data ConsistencyLocal Message TableMessage Queue
0 likes · 16 min read
How to Ensure Data Consistency in Microservices: From Blocking Retries to TCC
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jul 3, 2021 · Backend Development

Choosing the Right Distributed Transaction Strategy for Microservices

This article examines the challenges of distributed transactions in microservice architectures and compares five practical solutions—Seata (2PC), TCC, transactional messaging, local message tables, and a custom Kola approach—highlighting their principles, implementations, advantages, and prerequisites.

Distributed TransactionsMicroservicesSeata
0 likes · 14 min read
Choosing the Right Distributed Transaction Strategy for Microservices
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 25, 2021 · Backend Development

Seata Distributed Transaction Framework: Concepts, Architecture, and Spring Boot Demo

This article introduces the open‑source Seata distributed transaction solution, explains its AT, TCC, SAGA and XA modes, describes the TC‑TM‑RM components and workflow, and provides a step‑by‑step Spring Boot demo with Docker, Maven dependencies, configuration, and code examples for a multi‑service purchase scenario.

AT ModeDistributed TransactionsDocker
0 likes · 11 min read
Seata Distributed Transaction Framework: Concepts, Architecture, and Spring Boot Demo
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
ITPUB
ITPUB
Mar 25, 2021 · Backend Development

Why a TCC Framework Must Own the Spring TransactionManager

This article examines the challenges of building a generic TCC distributed‑transaction framework on Spring, explaining why every TCC service must participate in RM‑local transactions, why the framework should intercept the Spring TransactionManager, how to handle fault recovery, idempotency of Confirm/Cancel, and the pitfalls of relying on Cancel for rollback, concluding with practical recommendations.

Distributed TransactionsIdempotencyTransactionManager
0 likes · 18 min read
Why a TCC Framework Must Own the Spring TransactionManager
IT Architects Alliance
IT Architects Alliance
Mar 7, 2021 · Databases

Mastering Distributed Transactions: From ACID to TCC and Sharding Strategies

This article provides a comprehensive technical guide to distributed transactions, covering ACID fundamentals, consistency models, sharding techniques, CAP and BASE theories, and detailed implementations of two‑phase, three‑phase, and TCC protocols, while highlighting their advantages, limitations, and practical considerations.

BASE theoryCAP theoremDistributed Transactions
0 likes · 23 min read
Mastering Distributed Transactions: From ACID to TCC and Sharding Strategies
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
Selected Java Interview Questions
Selected Java Interview Questions
Jan 18, 2021 · Backend Development

Transaction Management in Traditional Applications and Microservices: From Local Transactions to BASE and TCC

This article explains the evolution of transaction management from local and distributed (2PC/3PC) transactions in monolithic systems to the challenges in microservices, introduces the BASE theory, and details four microservice‑compatible consistency patterns—reliable event notification, max‑effort notification, business compensation, and TCC—along with their trade‑offs.

BASEEvent-driventcc
0 likes · 17 min read
Transaction Management in Traditional Applications and Microservices: From Local Transactions to BASE and TCC
Top Architect
Top Architect
Jan 4, 2021 · Backend Development

Understanding the Saga Pattern for Distributed Data Consistency in Microservices

This article explains the importance of data consistency in distributed microservice systems, introduces the Saga pattern as a solution, compares it with two‑phase commit and TCC, and details its architecture, recovery mechanisms, and implementation considerations within ServiceComb.

Data ConsistencyDistributed Transactionsservicecomb
0 likes · 19 min read
Understanding the Saga Pattern for Distributed Data Consistency in Microservices
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
vivo Internet Technology
vivo Internet Technology
Nov 25, 2020 · Backend Development

An Overview of the Seata Distributed Transaction Framework and Its Modes

Seata is an open‑source Java framework that simplifies distributed transactions by offering a Transaction Coordinator, embedded Transaction and Resource Managers, and four modes—AT, TCC, Saga, and XA—each with distinct consistency and performance trade‑offs, enabling high‑concurrency, zero‑intrusion handling of multi‑node operations.

AT ModeDistributed TransactionsSeata
0 likes · 15 min read
An Overview of the Seata Distributed Transaction Framework and Its Modes
Code Ape Tech Column
Code Ape Tech Column
Nov 25, 2020 · Backend Development

Data Consistency Strategies in Microservices: Transaction Management and Patterns

This article reviews the evolution from traditional local and distributed transactions to BASE theory and presents four microservice data‑consistency patterns—reliable event notification, maximum‑effort notification, business compensation, and TCC—detailing their principles, advantages, drawbacks, and implementation examples.

CompensationData ConsistencyMicroservices
0 likes · 20 min read
Data Consistency Strategies in Microservices: Transaction Management and Patterns
Java Backend Technology
Java Backend Technology
Nov 7, 2020 · Databases

How Seata’s AT Mode Solves Distributed Transaction Challenges

This article explains the fundamentals of single- and multi-data-source transactions, reviews common distributed-transaction solutions such as 2PC, 3PC, TCC, transaction-status tables and message-queue based eventual consistency, and then details Seata’s AT mode implementation, including its workflow, undo-log mechanism, and isolation handling.

AT ModeDistributed TransactionsMicroservices
0 likes · 32 min read
How Seata’s AT Mode Solves Distributed Transaction Challenges
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
Architecture Digest
Architecture Digest
Nov 3, 2020 · Backend Development

Data Consistency in Microservices: Transaction Management and Implementation Patterns

This article introduces the limitations of traditional local and distributed transactions for microservices, explains the BASE theory, and details four practical patterns—reliable event notification, maximum‑effort notification, business compensation, and TCC—providing code examples, diagrams, and a comparative table to guide developers in achieving eventual consistency across microservice architectures.

BASE theoryData ConsistencyDistributed Systems
0 likes · 19 min read
Data Consistency in Microservices: Transaction Management and Implementation Patterns
Java Architect Essentials
Java Architect Essentials
Oct 13, 2020 · Backend Development

Data Consistency in Microservices: Transaction Management Patterns and Practices

The article reviews microservice data consistency challenges, explains why traditional distributed transactions like 2PC/3PC are unsuitable, introduces the BASE theory, and details four implementation patterns—reliable event notification, maximum effort notification, business compensation, and TCC—to achieve eventual consistency.

BASE theoryData ConsistencyEvent-driven
0 likes · 19 min read
Data Consistency in Microservices: Transaction Management Patterns and Practices
Top Architect
Top Architect
Sep 12, 2020 · Backend Development

Key Considerations for Building a Generic TCC Distributed Transaction Framework

This article explains the essential design principles of a TCC (Try‑Confirm‑Cancel) distributed transaction framework, covering the necessity of RM local transactions, integration with Spring's TransactionManager, fault‑recovery mechanisms, idempotency guarantees, and handling of parallel Try/Confirm/Cancel operations.

Distributed TransactionsTransactionManagerfault-recovery
0 likes · 22 min read
Key Considerations for Building a Generic TCC Distributed Transaction Framework
Java Architect Essentials
Java Architect Essentials
Sep 1, 2020 · Backend Development

How to Ensure Data Consistency in Microservices: Patterns and Pitfalls

Microservice architectures struggle with traditional ACID transactions, so this article reviews local and distributed transaction basics, explains why 2PC/3PC are unsuitable, introduces the BASE model, and details four practical consistency patterns—reliable event, async event, business compensation, and TCC—highlighting their mechanisms, advantages, and drawbacks.

BASE theoryData ConsistencyDistributed Systems
0 likes · 17 min read
How to Ensure Data Consistency in Microservices: Patterns and Pitfalls
dbaplus Community
dbaplus Community
Aug 27, 2020 · Backend Development

Taming Microservice Chaos: Stability, Degradation & Data Consistency

This article shares practical guidance on microservice benefits, common pitfalls such as stability and data consistency issues, and detailed solutions including circuit breakers, service degradation tactics, TCC distributed transactions, transactional messaging with RocketMQ, seamless data migration, and full‑stack APM monitoring.

APM monitoringData Consistencycircuit breaker
0 likes · 37 min read
Taming Microservice Chaos: Stability, Degradation & Data Consistency
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