Exploring 6 Open-Source Distributed Transaction Frameworks for Microservices

This article introduces six open-source distributed transaction frameworks—Seata, ByteTCC, Nacos-AT, SkyWalking-Tx, TCC-Transaction, and Atomikos—explaining their architectures, core components, transaction modes, and how they integrate with microservices, while also offering additional resources for deeper learning.

Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Exploring 6 Open-Source Distributed Transaction Frameworks for Microservices

Seata

Seata is an open-source distributed transaction solution jointly released by Ant Financial and Alibaba, aiming to provide high performance and easy-to-use transaction services.

Official site: http://seata.io

XA mode : Strong consistency two‑phase commit, sacrifices availability, no business intrusion.

TCC mode : Eventually consistent two‑phase commit, requires business involvement.

AT mode : Eventually consistent two‑phase commit, no business intrusion, default mode.

SAGA mode : Long‑running transactions, requires business involvement.

Seata defines three core components:

TC (Transaction Coordinator) : Coordinates global and branch transactions and maintains their state.

TM (Transaction Manager) : Initiates transactions, typically a microservice.

RM (Resource Manager) : The participant that accesses the actual resources.

The TC runs as a Seata server, while TM and RM are integrated as Seata clients within microservices.

Overall workflow:

ByteTCC

ByteTCC is an open-source distributed transaction framework from Meituan Dianping, based on the TCC compensation mechanism, offering high performance, high availability, and rich API support.

Nacos-AT

Nacos-AT is an Alibaba open-source distributed transaction framework built on the TCC compensation mechanism, seamlessly integrating with Nacos and Spring Cloud.

SkyWalking-Tx

SkyWalking-Tx, from the Apache SkyWalking community, supports TCC and Saga transaction modes and provides comprehensive monitoring and tracing capabilities.

TCC-Transaction

TCC-Transaction is Huawei’s open-source TCC-based distributed transaction framework, delivering high performance and easy-to-use APIs.

Atomikos

Atomikos is an open-source Java transaction manager that supports the XA protocol, enabling control and management of distributed transactions.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

open sourceDistributed TransactionsSeata
Mike Chen's Internet Architecture
Written by

Mike Chen's Internet Architecture

Over ten years of BAT architecture experience, shared generously!

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.