Tag

tcc

0 views collected around this technical thread.

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.

IdempotencyJavabackend development
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.

BackendCompensating Transactionsdistributed transactions
0 likes · 7 min read
Mastering Seata TCC: A Practical Guide to Distributed Transactions
Cognitive Technology Team
Cognitive Technology Team
Apr 30, 2025 · Backend Development

Design Patterns and Solutions for Distributed Transaction Consistency

The article explains how to achieve transaction consistency in distributed internet systems by balancing CAP trade‑offs and presents common design approaches such as 2PC, 3PC, TCC, reliable message delivery, best‑effort notification, and database‑transaction plus compensation mechanisms.

2PC3PCCAP theorem
0 likes · 11 min read
Design Patterns and Solutions for Distributed Transaction Consistency
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 ModeMessage Queue
0 likes · 31 min read
Mastering Distributed Transactions: From 2PC to Seata AT Mode
Code Ape Tech Column
Code Ape Tech Column
Oct 9, 2024 · Backend Development

Implementing TCC Transaction Mode with Seata: Concepts, Types, and Code Example

This article explains the TCC (Try‑Confirm‑Cancel) distributed transaction model, its three phases, three practical variants, and provides a complete Seata‑based Java implementation with code samples, exception handling strategies, and deployment tips for backend services.

BackendJavadistributed transactions
0 likes · 17 min read
Implementing TCC Transaction Mode with Seata: Concepts, Types, and Code Example
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.

BASEXAat
0 likes · 9 min read
Data Migration & Distributed Transactions: XA, BASE, TCC, AT Guide
Architecture & Thinking
Architecture & Thinking
Mar 26, 2024 · Fundamentals

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

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

CAP theoremXA protocoldistributed systems
0 likes · 12 min read
Why Distributed Transactions Matter: From CAP Theorem to XA, 2PC, 3PC and TCC
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.

2PCKafkaMessage 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 ModeMessage Queue
0 likes · 32 min read
Mastering Distributed Transactions: From 2PC to Seata AT Mode
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.

BackendSagaXA
0 likes · 15 min read
Distributed Transaction Solutions: XA, TCC, and SAGA with DTM Implementation
Architecture Digest
Architecture Digest
Feb 8, 2023 · Backend Development

Distributed Transaction Solutions with Seata: ACID, CAP, BASE and Implementation Modes

This article explains the challenges of distributed transactions in micro‑service architectures and presents Seata's various solutions—including two‑phase commit, XA, AT, TCC, Saga and message‑based approaches—while covering fundamental concepts such as ACID, CAP and BASE.

2PCSagaXA
0 likes · 24 min read
Distributed Transaction Solutions with Seata: ACID, CAP, BASE and Implementation Modes
Architect's Guide
Architect's Guide
Jan 15, 2023 · Backend Development

Distributed Transactions: Fundamentals, CAP & BASE Theories, and Solution Comparisons

This article explains the basic concepts of transactions, distinguishes local and distributed transactions, introduces the CAP and BASE theories, and compares major distributed‑transaction solutions such as 2PC, XA, Seata, TCC, reliable‑messaging and maximum‑effort notification, highlighting their trade‑offs.

2PCBASE theoryBackend
0 likes · 40 min read
Distributed Transactions: Fundamentals, CAP & BASE Theories, and Solution Comparisons
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 theorembackend development
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.

Message QueueTransactionconsistency
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.

BackendMessage QueueTransaction
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.

Message Queuedata consistencydistributed transactions
0 likes · 17 min read
Handling Distributed Transaction Failures in Microservices: Blocking Retry, Async Queue, TCC, and Local Message Table
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
Sanyou's Java Diary
Sanyou's Java Diary
Oct 27, 2022 · Backend Development

Seata Distributed Transactions Explained: Compensation, 2PC, AT, TCC, XA, Saga

This article introduces Seata's approach to distributed transactions, covering the concept of reverse compensation, core components (TC, TM, RM), the two‑phase commit protocol, and detailed walkthroughs of Seata's AT, TCC, XA, and Saga modes with practical examples and diagrams.

AT ModeSagaTwo-Phase Commit
0 likes · 14 min read
Seata Distributed Transactions Explained: Compensation, 2PC, AT, TCC, XA, Saga
Architect's Guide
Architect's Guide
Jul 30, 2022 · Databases

Understanding Distributed Transactions, Consistency Models, Sharding, and Commit Protocols

This article explains the fundamentals of distributed transactions, including ACID properties, consistency models, sharding strategies, and the two‑phase, three‑phase, and TCC protocols, while discussing CAP and BASE theories and the challenges of implementing reliable distributed databases.

ACIDBASECAP
0 likes · 23 min read
Understanding Distributed Transactions, Consistency Models, Sharding, and Commit Protocols