Tagged articles

TCC

134 articles · Page 2 of 2
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.

SpringTCCTransactionManager
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 ConsistencyEvent-Driven Architecture
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 ConsistencyTCC
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.

TCCXAdistributed transactions
0 likes · 11 min read
Distributed Transaction Solutions and Interview Guide
Top Architect
Top Architect
Jul 8, 2020 · Fundamentals

Distributed System Characteristics and Solutions for Distributed Transaction Consistency

This article explains the key characteristics of distributed systems, introduces the CAP and BASE theories, compares strong, weak and eventual consistency models, and reviews common distributed transaction solutions such as two‑phase commit, TCC and message‑based approaches, highlighting their trade‑offs and practical considerations.

BASE theoryCAP theoremTCC
0 likes · 13 min read
Distributed System Characteristics and Solutions for Distributed Transaction Consistency
Alibaba Cloud Developer
Alibaba Cloud Developer
May 28, 2020 · Databases

Mastering Distributed Transactions: 5 Solutions, Patterns, and Their Trade‑offs

This article explains the fundamentals of distributed transactions, compares five major solutions—including XA two‑phase commit, TCC, Saga, message‑based approaches, and maximum‑effort notification—covers their architectures, advantages, drawbacks, and provides guidance on selecting the right model for micro‑service systems.

MicroservicesSagaSeata
0 likes · 27 min read
Mastering Distributed Transactions: 5 Solutions, Patterns, and Their Trade‑offs
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.

2PCTCCbackend
0 likes · 19 min read
Mastering Distributed Transactions: Reliable Messaging, TCC, and Flexible Solutions
Java Backend Technology
Java Backend Technology
Sep 9, 2019 · Backend Development

Mastering TCC Distributed Transactions: Key Design Principles and Pitfalls

This article explores the complexities of building a generic TCC distributed transaction framework, emphasizing the need for RM-local transaction integration, Spring TransactionManager takeover, fault‑recovery mechanisms, idempotency guarantees, and proper handling of Try/Confirm/Cancel phases to ensure global consistency.

SpringTCCTransaction Management
0 likes · 18 min read
Mastering TCC Distributed Transactions: Key Design Principles and Pitfalls
AntTech
AntTech
Jul 29, 2019 · Backend Development

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

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

AT ModeSagaSeata
0 likes · 15 min read
Ant Financial’s Distributed Transaction Evolution and the Open‑Source Seata Framework
MaGe Linux Operations
MaGe Linux Operations
Jul 1, 2019 · Backend Development

Designing a Scalable E‑Commerce System with Microservices, DDD, and Distributed Transactions

This article walks through building an e‑commerce platform using microservices, covering module decomposition, domain‑driven design, service splitting, technology stack choices, distributed transaction strategies, circuit‑breaker patterns, centralized configuration, monitoring, and capacity planning to guide developers from concept to deployment.

CAP theoremDDDE‑Commerce
0 likes · 27 min read
Designing a Scalable E‑Commerce System with Microservices, DDD, and Distributed Transactions
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.

2PCReconciliationTCC
0 likes · 25 min read
Seven Reliable Methods for Solving Distributed Transaction Problems
Programmer DD
Programmer DD
Dec 25, 2018 · Backend Development

Mastering TCC Distributed Transactions: A Practical Guide to TRY, CONFIRM, and CANCEL

This article introduces the TCC (Try‑Confirm‑Cancel) distributed transaction model, explains its three phases with real‑world e‑commerce examples, compares it to other solutions, and shows how mature frameworks ensure eventual consistency and automatic rollback in failure scenarios.

TCCTransaction Managementdistributed transaction
0 likes · 8 min read
Mastering TCC Distributed Transactions: A Practical Guide to TRY, CONFIRM, and CANCEL
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.

2PCCAP theoremMicroservices
0 likes · 15 min read
Understanding Distributed Transactions: Theory, Models, and .NET Solutions
Programmer DD
Programmer DD
Oct 12, 2018 · Backend Development

Why Hmily Is the High‑Performance Asynchronous TCC Framework for Distributed Transactions

This article explains Hmily’s core features, the four key techniques that give it high performance—including Disruptor‑based log handling, asynchronous confirm/cancel execution, ThreadLocal caching, and GuavaCache usage—and provides step‑by‑step guidance on integrating the framework with Dubbo, Spring Cloud, or Motan.

GuavaCacheHmilyTCC
0 likes · 17 min read
Why Hmily Is the High‑Performance Asynchronous TCC Framework for Distributed Transactions
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.

2PCMessage QueueTCC
0 likes · 12 min read
Why Distributed Transactions Matter: Concepts, Scenarios, and Solutions
dbaplus Community
dbaplus Community
Jul 31, 2018 · Databases

Mastering Distributed Transactions with ShardingSphere: From ACID to TCC

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

BASECAPSaga
0 likes · 19 min read
Mastering Distributed Transactions with ShardingSphere: From ACID to TCC
Java Backend Technology
Java Backend Technology
Jul 15, 2018 · Backend Development

Mastering TCC: Key Design Practices for Reliable Distributed Transactions

This article introduces the TCC (Try‑Confirm‑Cancel) distributed transaction model, explains its two‑phase workflow, and outlines six essential design considerations—including two‑phase operation splitting, empty rollback handling, suspension control, idempotency, data visibility, and concurrency—while sharing Ant Financial’s decade‑long practical experience and solutions.

TCCTransaction Managementdistributed transactions
0 likes · 6 min read
Mastering TCC: Key Design Practices for Reliable Distributed Transactions
AntTech
AntTech
Jun 7, 2018 · Backend Development

Ant Financial's Distributed Transaction Solutions: Evolution of TCC, FMT, and XA Models

This article details Ant Financial's multi‑year development of a comprehensive distributed transaction framework—including TCC, FMT, and XA models—designed to ensure financial‑grade consistency, high performance, and seamless cloud‑native integration for massive, latency‑sensitive payment and accounting services.

Performance OptimizationTCCfinancial systems
0 likes · 18 min read
Ant Financial's Distributed Transaction Solutions: Evolution of TCC, FMT, and XA Models
ITPUB
ITPUB
May 24, 2018 · Databases

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

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

TCCXAdatabase-consistency
0 likes · 20 min read
How Ant Financial Solved Distributed Transaction Challenges with TCC, FMT, and XA
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.

2PCACIDTCC
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
Architecture Digest
Architecture Digest
Sep 10, 2017 · Backend Development

Understanding Distributed Transaction Patterns: TCC, Asynchronous Assurance, and Maximum Effort Notification

The article explains common interview questions on distributed systems and compares transaction coordination methods, detailing the two‑phase commit drawbacks and introducing three patterns—TCC, asynchronous assurance, and maximum‑effort notification—along with their advantages, usage scenarios, and practical considerations.

Backend DevelopmentMessage QueueTCC
0 likes · 4 min read
Understanding Distributed Transaction Patterns: TCC, Asynchronous Assurance, and Maximum Effort Notification
dbaplus Community
dbaplus Community
Apr 16, 2017 · Backend Development

Ensuring Data Consistency with Distributed Transactions: From Single DB to TCC

This article walks through the evolution of distributed transaction architectures—from simple single-database transactions, through post-commit multi-database approaches and two-phase commit, to TCC and eventual-consistency patterns—illustrating each method with game-style purchase examples, diagrams, and practical implementation tips.

TCCeventual consistencytwo-phase commit
0 likes · 15 min read
Ensuring Data Consistency with Distributed Transactions: From Single DB to TCC