Skip to content
Tagged articles

distributed transactions

318 articles · Page 2 of 4
Selected Java Interview Questions
Selected Java Interview Questions
May 10, 2024 · Databases

Comparing NewSQL Databases with Middleware‑Based Sharding: Advantages, Limitations, and Practical Guidance

This article objectively compares NewSQL databases and middleware‑plus‑sharding architectures, examining their core principles, distributed transaction handling, high‑availability mechanisms, scaling and sharding strategies, SQL support, storage engines, and maturity to help engineers decide which solution fits their workload.

Database ArchitectureHigh AvailabilityNewSQL
0 likes · 18 min read
Comparing NewSQL Databases with Middleware‑Based Sharding: Advantages, Limitations, and Practical Guidance
Java Captain
Java Captain
Apr 26, 2024 · Databases

Choosing Between Sharding Middleware and NewSQL Distributed Databases: Advantages, Trade‑offs, and Use Cases

This article objectively compares middleware‑based sharding with modern NewSQL distributed databases, examining their architectural differences, performance, transaction support, scalability, high‑availability, and operational considerations, to help practitioners decide which approach best fits their workload and organizational constraints.

Database ArchitectureHigh AvailabilityNewSQL
0 likes · 20 min read
Choosing Between Sharding Middleware and NewSQL Distributed Databases: Advantages, Trade‑offs, and Use Cases
Lobster Programming
Lobster Programming
Apr 23, 2024 · Backend Development

Comparing Distributed Transaction Strategies: Local Messages, RocketMQ, and Seata (AT & TCC)

This article compares four distributed transaction solutions—local message tables, RocketMQ transactional messages, Seata AT mode, and Seata TCC mode—detailing their advantages, limitations, workflow phases, and common exception‑handling techniques for ensuring data consistency across services.

RocketMQSeataTransactional Messaging
0 likes · 6 min read
Comparing Distributed Transaction Strategies: Local Messages, RocketMQ, and Seata (AT & TCC)
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.

A*BASETCC
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 theoremSagaTCC
0 likes · 18 min read
How to Choose the Right Distributed Transaction Pattern for Microservices
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Feb 5, 2024 · Backend Development

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.

Seatadistributed transactionsopen-source
0 likes · 5 min read
Exploring 6 Open-Source Distributed Transaction Frameworks 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's Tech Stack
Architect's Tech Stack
Dec 29, 2023 · Cloud Native

Spring Cloud Alibaba Core Components and Practices: Nacos, Sentinel, Seata, RocketMQ

This article provides a comprehensive overview of Spring Cloud Alibaba’s core features—including Nacos service registration and configuration, Sentinel flow‑control and degradation rules, Seata distributed transaction modes, RocketMQ messaging capabilities, as well as guidance on service discovery, security, gray releases, and dynamic routing.

RocketMQSeataSentinel
0 likes · 33 min read
Spring Cloud Alibaba Core Components and Practices: Nacos, Sentinel, Seata, RocketMQ
macrozheng
macrozheng
Dec 6, 2023 · Databases

When and How to Implement Database Sharding and Partitioning for High‑Scale Systems

This article explains why database sharding and partitioning become necessary, outlines performance bottlenecks, presents software and hardware optimization techniques, details horizontal and vertical splitting strategies, and discusses the added complexity such as cross‑database joins, distributed transactions, and ID generation.

Horizontal ScalingSQL OptimizationTable Partitioning
0 likes · 13 min read
When and How to Implement Database Sharding and Partitioning for High‑Scale Systems
Architect
Architect
Oct 2, 2023 · Backend Development

Design and Implementation of a Secure Funds Account System

This article presents a comprehensive guide to designing and implementing a secure, cloud‑native funds account system for payment platforms, covering core concepts such as account structure, balance and transaction logs, accounting principles, storage selection, distributed transactions, security measures, consistency, availability, and best‑practice architectural patterns.

Securitybackend architecturedistributed transactions
0 likes · 34 min read
Design and Implementation of a Secure Funds Account System
Architect
Architect
Sep 18, 2023 · Databases

Database Sharding: Data Partitioning Strategies, Challenges, and Practical Solutions

The article explains why relational databases become performance bottlenecks at large scales, introduces vertical and horizontal sharding techniques, discusses their advantages and drawbacks, and provides detailed guidance on handling distributed transactions, joins, pagination, global primary keys, and ID generation strategies.

Horizontal ShardingVertical Shardingdistributed transactions
0 likes · 24 min read
Database Sharding: Data Partitioning Strategies, Challenges, and Practical Solutions
DataFunTalk
DataFunTalk
Sep 17, 2023 · Cloud Native

REDck: A Cloud‑Native Real‑Time Data Warehouse Built on ClickHouse

REDck is a cloud‑native, storage‑compute separated real‑time OLAP data warehouse derived from ClickHouse that addresses scalability, operational cost, and reliability challenges through a unified metadata service, object‑storage optimizations, multi‑level caching, distributed task scheduling, and two‑phase commit transactions.

ClickHouseReal-time OLAPStorage-Compute Separation
0 likes · 18 min read
REDck: A Cloud‑Native Real‑Time Data Warehouse Built on ClickHouse
ITPUB
ITPUB
Sep 11, 2023 · Cloud Native

How REDck Transforms ClickHouse into a Scalable Cloud‑Native Real‑Time Data Warehouse

Xiaohongshu built REDck, a cloud‑native, storage‑compute separated real‑time OLAP warehouse on ClickHouse, addressing scaling, cost, and reliability challenges through a unified metadata service, object‑storage optimizations, multi‑level caching, distributed task scheduling, bucketing, and exactly‑once transaction support.

CachingClickHouseObject Storage
0 likes · 21 min read
How REDck Transforms ClickHouse into a Scalable Cloud‑Native Real‑Time Data Warehouse
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.

2PCData ConsistencyTCC
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
Alibaba Cloud Native
Alibaba Cloud Native
Jul 24, 2023 · Cloud Native

Seata 1.7.0 Release: Major Stability Boost and New Cloud‑Native Features

Seata 1.7.0, positioned as a stability‑focused release, dramatically improves robustness, adds native‑image support, expands Docker images, resolves numerous bugs across JDK, Spring, and database integrations, enhances security, and provides detailed upgrade and deployment guides for enterprise‑grade distributed transactions.

JavaSeatacloud-native
0 likes · 11 min read
Seata 1.7.0 Release: Major Stability Boost and New Cloud‑Native Features
Shopee Tech Team
Shopee Tech Team
Jul 13, 2023 · Backend Development

Design and Implementation of seadt-SAGA Distributed Transaction Framework

The article details Shopee’s seadt‑SAGA framework—a Go‑based distributed transaction solution that implements the SAGA pattern via two modes, orchestration with a central coordinator and collaboration with embedded logic, explains their state‑machine designs, compares rollback ordering using vector clocks versus sequence numbers, and discusses each mode’s trade‑offs.

CollaborationGoSaga
0 likes · 23 min read
Design and Implementation of seadt-SAGA Distributed Transaction Framework
Alibaba Cloud Native
Alibaba Cloud Native
Jun 14, 2023 · Backend Development

Mastering Seata Saga: A Practical Guide to Distributed Transactions in Microservices

This guide introduces Seata Saga’s distributed transaction model, explains its advantages and drawbacks, walks through deployment, JSON state‑machine design, unit‑test exploration, and best‑practice recommendations for reliable microservice orchestration, including compensation strategies, isolation handling, and performance tuning tips.

BackendSagaSeata
0 likes · 13 min read
Mastering Seata Saga: A Practical Guide to Distributed Transactions in Microservices
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 modeSeata
0 likes · 33 min read
Mastering Distributed Transactions: From 2PC to Seata AT Mode
Architecture Digest
Architecture Digest
Apr 14, 2023 · Backend Development

Design and Architecture of a Scalable Transaction Platform for Vivo Global Mall

This article presents the design philosophy, overall architecture, multi‑tenant sharding strategy, state‑machine workflow, distributed transaction handling, and high‑availability measures of Vivo’s global e‑commerce transaction platform, sharing practical challenges and solutions encountered during its development and ongoing evolution.

distributed transactionse-commercestate machine
0 likes · 14 min read
Design and Architecture of a Scalable Transaction Platform for Vivo Global Mall
vivo Internet Technology
vivo Internet Technology
Apr 12, 2023 · Backend Development

vivo Transaction Platform: Architecture Design and Key Technical Solutions

The article details vivo’s transition from a monolithic mall to a micro‑service transaction platform, outlining a multi‑tenant architecture with ShardingSphere‑sharded MySQL, Snowflake IDs, Elasticsearch search, configurable state machines, generic delayed tasks, Seata and local‑message distributed transactions, plus high‑availability safeguards, emphasizing pragmatic solution selection.

High AvailabilityMulti-tenant ArchitectureSeata
0 likes · 11 min read
vivo Transaction Platform: Architecture Design and Key Technical Solutions
macrozheng
macrozheng
Apr 7, 2023 · Backend Development

Designing Scalable Order Systems: Architecture, ID Strategies, and Distributed Transactions

This article explores the comprehensive design of order business systems, covering background considerations, order lifecycle management, technical solutions such as ID generation, parallel and asynchronous processing, timeout handling, distributed transactions, and data strategies like sharding and synchronization.

Data Shardingbackend architecturedistributed transactions
0 likes · 12 min read
Designing Scalable Order Systems: Architecture, ID Strategies, and Distributed Transactions
Alibaba Cloud Native
Alibaba Cloud Native
Mar 20, 2023 · Cloud Native

What’s New in Seata 1.6.x? Deep Dive into AT‑Mode Enhancements and Cloud‑Native Communication

This article explores the core features introduced in Seata 1.6.x—including AT‑mode syntax upgrades, multi‑primary‑key support, optimized request/response networking, lock‑strategy modes, and multi‑registry service discovery—explaining how each improvement boosts performance and flexibility for cloud‑native microservices.

AT modeLock StrategySeata
0 likes · 16 min read
What’s New in Seata 1.6.x? Deep Dive into AT‑Mode Enhancements and Cloud‑Native Communication
ITPUB
ITPUB
Mar 14, 2023 · Fundamentals

Master Distributed Systems: CAP, BASE, Locks, Transactions, Paxos & Raft

This comprehensive guide explores core distributed system concepts—including the CAP theorem and its trade‑offs, BASE consistency, various distributed lock strategies, multiple transaction patterns such as 2PC, 3PC, TCC and Seata, as well as consensus algorithms Paxos and Raft, while also covering idempotency and rate‑limiting techniques.

CAP theoremIdempotencyconsensus algorithms
0 likes · 29 min read
Master Distributed Systems: CAP, BASE, Locks, Transactions, Paxos & Raft
政采云技术
政采云技术
Mar 2, 2023 · Fundamentals

Two‑Phase Commit in Lucene: Mechanism, Implementation, and Rollback

This article explains the two‑phase commit protocol, describes how Lucene implements it through a dedicated interface, details the preparation, commit, segment handling, deletion policies, and rollback procedures, and provides code snippets illustrating the core logic.

LuceneTwo-Phase Commitdistributed transactions
0 likes · 13 min read
Two‑Phase Commit in Lucene: Mechanism, Implementation, and Rollback
政采云技术
政采云技术
Mar 2, 2023 · Databases

Understanding Two-Phase Commit and Its Implementation in Lucene

This article explains the two-phase commit protocol for distributed transactions, details its generic workflow, and describes how Apache Lucene implements the protocol through its TwoPhaseCommit interface, including preparation, flushing, commit, segment handling, deletion policies, and rollback mechanisms with illustrative code examples.

JavaLuceneTwo-Phase Commit
0 likes · 12 min read
Understanding Two-Phase Commit and Its Implementation in Lucene
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 theoremReliable Messaging
0 likes · 42 min read
Distributed Transaction Fundamentals and Solutions: CAP, BASE, 2PC, TCC, Reliable Messaging, and Maximum‑Effort Notification
Alibaba Cloud Native
Alibaba Cloud Native
Dec 21, 2022 · Cloud Native

What’s New in Seata 1.6.0? Features, Fixes, and Optimizations Explained

Seata 1.6.0 release notes detail major enhancements such as Oracle and PostgreSQL multi‑primary‑key support, Dubbo 3 integration, JDK 17 compatibility, ARM64 Docker images, extensive bug fixes, performance optimizations, test updates, contributor acknowledgments, and links to downloads, documentation, and the GitHub repository.

JavaSeatacloud-native
0 likes · 7 min read
What’s New in Seata 1.6.0? Features, Fixes, and Optimizations Explained
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 ConsistencyTCCdistributed 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 19, 2022 · Backend Development

Implementing Distributed Transactions with RocketMQ and SEATA in a Microservice Architecture

This article explains the concept of distributed transactions, presents typical microservice scenarios that generate them, and demonstrates a complete implementation using RocketMQ transactional messages and SEATA, including database schema, producer and consumer code, transaction listeners, and idempotent consumption handling.

JavaRocketMQSeata
0 likes · 14 min read
Implementing Distributed Transactions with RocketMQ and SEATA in a Microservice Architecture
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.

2PC3PCSaga
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
Top Architect
Top Architect
Oct 19, 2022 · Databases

MySQL Replication, High Availability, and Sharding: Concepts and Solutions

This article explains the evolution from single‑node MySQL databases to master‑slave replication, various replication modes, high‑availability strategies, and both vertical and horizontal sharding techniques, while discussing the associated challenges such as distributed transactions, routing, and operational complexity.

High AvailabilityMySQLReplication
0 likes · 11 min read
MySQL Replication, High Availability, and Sharding: Concepts 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 modeSeata
0 likes · 34 min read
How Seata’s AT Mode Solves Distributed Transaction Challenges in Microservices
Python Programming Learning Circle
Python Programming Learning Circle
Sep 30, 2022 · Databases

Understanding Database Sharding: Reasons, Methods, and Common Challenges

This article explains why database sharding (both vertical and horizontal) is needed to overcome performance bottlenecks, outlines practical thresholds for splitting tables, describes vertical and horizontal partitioning techniques, and discusses key issues such as distributed transactions, cross‑node queries, global primary keys, and scaling strategies.

Horizontal PartitioningVertical Partitioningdatabase sharding
0 likes · 9 min read
Understanding Database Sharding: Reasons, Methods, and Common Challenges
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.

A*BASETCC
0 likes · 9 min read
Data Migration & Distributed Transactions: XA, BASE, TCC, AT Demystified
Architecture Digest
Architecture Digest
Sep 9, 2022 · Databases

MySQL Replication, High Availability, and Sharding Strategies

This article explains the evolution from single‑node MySQL to master‑slave replication, various replication modes, high‑availability solutions such as MHA and MGR, and the challenges and techniques of vertical and horizontal sharding for scaling large‑scale internet applications.

MySQLReplicationdatabase scaling
0 likes · 12 min read
MySQL Replication, High Availability, and Sharding Strategies
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.

2PCInterviewJava
0 likes · 15 min read
Master Distributed Transaction Consistency: 2PC vs MQ Solutions for Java Interviews
Alibaba Cloud Native
Alibaba Cloud Native
Aug 3, 2022 · Cloud Native

How RocketMQ Transactional Messages Ensure Distributed Consistency

This article explains the challenges of maintaining atomicity across multiple downstream services in distributed systems and details how RocketMQ's transactional message feature provides a two‑phase commit mechanism, lifecycle, implementation details, and practical usage to achieve eventual consistency.

Message QueueRocketMQTransactional Messaging
0 likes · 14 min read
How RocketMQ Transactional Messages Ensure Distributed Consistency
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.

2PCKafkaMQ
0 likes · 19 min read
How to Ensure Distributed Transaction Consistency Using Message Queues
Top Architect
Top Architect
Jul 4, 2022 · Backend Development

Distributed Transaction Solutions and Message Queue Reliability

This article explains the challenges of distributed transactions, reviews common solutions such as 2PC, 3PC, TCC, Saga, local message tables, and MQ‑based approaches, and discusses how RocketMQ, Kafka, and RabbitMQ handle transactional messaging, message loss prevention, and duplicate processing.

Transactional Messagingdistributed transactions
0 likes · 17 min read
Distributed Transaction Solutions and Message Queue Reliability
Programmer DD
Programmer DD
Jul 2, 2022 · Backend Development

How to Achieve Distributed Transaction Consistency with MQs

This article explains the challenges of distributed transactions in multi‑node systems, reviews common solutions such as 2PC, TCC, Saga, and focuses on implementing eventual consistency using message queues, detailing local message tables, MQ‑based transactions, and loss‑prevention techniques across RocketMQ, Kafka, and RabbitMQ.

ConsistencyMQMessage Queue
0 likes · 19 min read
How to Achieve Distributed Transaction Consistency with MQs
Java Architecture Diary
Java Architecture Diary
May 31, 2022 · Backend Development

Explore Seata 1.5: New Enterprise Features, SkyWalking Integration, and YAML Config

Seata 1.5 introduces a stronger Enterprise edition with 20% lower latency and 30% higher TPS, a graphical console, SkyWalking transaction tracing, YAML configuration support, and detailed deployment steps for integrating Seata into Pig microservice projects, complete with code examples and database setup.

Enterprise EditionSeataSkyWalking
0 likes · 5 min read
Explore Seata 1.5: New Enterprise Features, SkyWalking Integration, and YAML Config
政采云技术
政采云技术
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.

SagaTCCdatabase consistency
0 likes · 11 min read
Distributed Transactions: Concepts, TCC and Saga Patterns, and Practical Implementation
macrozheng
macrozheng
May 11, 2022 · Databases

Mastering Database Sharding: When and How to Split Databases and Tables

This article explains the concepts of database and table sharding, why they are needed, various vertical and horizontal splitting strategies, range and hash partitioning methods, their advantages and drawbacks, timing considerations, common challenges such as transactions and distributed IDs, and introduces popular sharding middleware.

Horizontal PartitioningVertical Partitioningdatabase sharding
0 likes · 12 min read
Mastering Database Sharding: When and How to Split Databases and Tables
Code Ape Tech Column
Code Ape Tech Column
May 9, 2022 · Databases

Sharding-JDBC Advanced Guide: Configuration and Practical Implementation

This article provides a comprehensive guide to Sharding-JDBC, covering the challenges of database sharding such as distributed transactions, cross‑node joins, pagination, global key collisions, and demonstrates practical configuration and code examples for vertical and horizontal partitioning using Spring Boot.

Horizontal PartitioningSharding-JDBCSpring Boot
0 likes · 18 min read
Sharding-JDBC Advanced Guide: Configuration and Practical Implementation
Architect's Journey
Architect's Journey
Apr 27, 2022 · R&D Management

Essential Architecture Terms Every Architect Should Know

This article compiles core architectural concepts—including ROI, SOLID principles, system splitting, isolation, ACID, CAP/BASE, distributed transactions, and capacity estimation—explaining their definitions, practical examples, trade‑offs, and how they guide architects in making informed technical decisions.

CAP theoremSOLIDarchitecture
0 likes · 19 min read
Essential Architecture Terms Every Architect Should Know
Tencent Cloud Developer
Tencent Cloud Developer
Apr 26, 2022 · Backend Development

Understanding Distributed Transactions in Microservices: Challenges and Practical Solutions

The article explains why distributed transactions in micro‑service architectures are hard—due to remote failures, timeouts, and lack of atomic guarantees—and outlines practical approaches such as unique transaction IDs, audit logs, SQL/NoSQL persistence, TCC, Saga or compensation patterns to achieve reliable consistency while balancing availability.

Idempotencydistributed transactionstimeout handling
0 likes · 17 min read
Understanding Distributed Transactions in Microservices: Challenges and Practical 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
Top Architect
Top Architect
Mar 16, 2022 · Databases

Comprehensive Guide to Database Sharding: Vertical & Horizontal Partitioning, Global ID Generation, and Distributed Transaction Challenges

This article explains the concepts, methods, advantages, and drawbacks of database sharding, covering vertical and horizontal partitioning, sharding rules, global primary key generation, distributed transaction issues, cross‑node queries, pagination, data migration, and practical case studies, with code examples and diagrams.

Global ID GenerationHorizontal ScalingSharding
0 likes · 24 min read
Comprehensive Guide to Database Sharding: Vertical & Horizontal Partitioning, Global ID Generation, and Distributed Transaction Challenges
IT Architects Alliance
IT Architects Alliance
Feb 17, 2022 · Databases

Understanding Consistency in Distributed Transactions: Strong vs. Weak, CAP Theory, and NewSQL Approaches

This article explains the concept of consistency in distributed transactions, compares strong and weak consistency, relates it to the CAP theorem, and explores theoretical and practical approaches—including XA, NewSQL, and MVCC—to achieve stronger consistency across databases and micro‑services.

ACIDCAP theoremConsistency
0 likes · 13 min read
Understanding Consistency in Distributed Transactions: Strong vs. Weak, CAP Theory, and NewSQL Approaches
Architect's Journey
Architect's Journey
Feb 9, 2022 · Databases

Choosing the Right Database Architecture: A Practical Guide

The article walks through the challenges of growing data volumes, compares master‑slave, vertical, horizontal, and sharding‑plus‑partitioning architectures, explains their pros and cons, and provides concrete guidance on selecting and implementing a suitable database solution, including middleware options and real‑world case studies.

Database ArchitectureShardingShardingSphere
0 likes · 21 min read
Choosing the Right Database Architecture: A Practical Guide
Programmer DD
Programmer DD
Dec 13, 2021 · Backend Development

Seata’s Evolution: From Alibaba’s TXC to Open‑Source Transaction Framework

This article traces Seata’s development from its 2014 origins as Alibaba’s TXC middleware, through its 2016 cloud service launch and 2019 open‑source release, detailing its architecture, module composition, core roles, and the four transaction modes (AT, TCC, Saga, XA) with practical comparisons.

AT modeSagaSeata
0 likes · 17 min read
Seata’s Evolution: From Alibaba’s TXC to Open‑Source Transaction Framework
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.

BackendSagaTCC
0 likes · 19 min read
Mastering Distributed Transactions: From XA to TCC and Beyond
Architect
Architect
Nov 22, 2021 · Backend Development

Design and Evolution of Vivo Mall Product System: Architecture, Challenges, and Solutions

This article details the evolution of Vivo's e‑commerce product system from a monolithic design to a modular, high‑performance backend, describing architectural changes, challenges such as stability, scalability, and data consistency, and the technical solutions implemented to address them.

distributed transactionse-commercemicroservices
0 likes · 10 min read
Design and Evolution of Vivo Mall Product System: Architecture, Challenges, and Solutions
dbaplus Community
dbaplus Community
Nov 18, 2021 · Databases

When Should You Split Your Database Tables? Practical Guidelines and Real‑World Cases

This article examines the signs that a database table has reached its limits, explains why vertical and horizontal sharding are needed, offers concrete sizing formulas, compares hash, range and consistent‑hash partitioning, and shares large‑scale case studies from Suning, JD, Meituan, Ant Financial and Taobao.

Horizontal Partitioningdistributed transactionslarge-scale systems
0 likes · 14 min read
When Should You Split Your Database Tables? Practical Guidelines and Real‑World Cases
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Nov 9, 2021 · Databases

Master‑Slave, Master‑Master, Paxos: Choosing the Right Distributed Transaction Strategy

This article compares common distributed transaction approaches—including Master‑Slave, Master‑Master, two‑phase and three‑phase commit, and Paxos—explains their mechanisms, trade‑offs, and real‑world implementations such as Alibaba’s TCC, GTS, LCN, and TXC, helping architects select the most suitable solution for high‑availability data consistency.

ConsensusMaster‑SlavePaxos
0 likes · 23 min read
Master‑Slave, Master‑Master, Paxos: Choosing the Right Distributed Transaction Strategy
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.

BackendSagaTCC
0 likes · 15 min read
Distributed Transaction Solutions: Theory, Patterns, and Practical Implementations
DevOps
DevOps
Oct 20, 2021 · Backend Development

Microservice Architecture: Stability, Service Degradation, Data Consistency, and Migration Practices

This article summarizes the author's extensive experience with microservice adoption, covering its benefits, the challenges of stability, service degradation strategies, distributed transaction patterns, data migration techniques, and practical monitoring using APM tools to help teams successfully transform to microservices.

APMCircuit Breakerdata migration
0 likes · 35 min read
Microservice Architecture: Stability, Service Degradation, Data Consistency, and Migration Practices
Alibaba Cloud Native
Alibaba Cloud Native
Oct 17, 2021 · Backend Development

How RocketMQ Improves Financial Customer‑Accompaniment Efficiency with Transactional Messaging

This article presents a Boshi Fund case study showing how RocketMQ’s decoupling, topic/tag best practices, and transactional messaging streamline multi‑system financial customer‑accompaniment, enhance operational efficiency, and enable reliable distributed transactions in online fund‑purchase scenarios.

Financial ServicesMessage QueueRocketMQ
0 likes · 12 min read
How RocketMQ Improves Financial Customer‑Accompaniment Efficiency with Transactional Messaging
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.

BackendSagaTCC
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.

SagaTCCTwo-Phase Commit
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.

3PCBackendTCC
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.

Message QueueTCCdistributed transactions
0 likes · 13 min read
Mastering Distributed Transactions: From Blocking Retries to TCC and MQ
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
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 ConsistencyTCCdistributed transactions
0 likes · 16 min read
Ensuring Microservice Data Consistency: Retry, Queues, TCC & Message Tables
Wukong Talks Architecture
Wukong Talks Architecture
Aug 13, 2021 · Fundamentals

Reliable Message-Based Distributed Transaction Consistency Solution

This article explains the fundamentals of distributed transactions, introduces the reliable message eventual consistency approach, analyzes its challenges such as atomicity and message reliability, and presents two practical solutions—local message tables and RocketMQ transactional messages—along with their advantages and drawbacks.

Reliable MessagingRocketMQdistributed transactions
0 likes · 8 min read
Reliable Message-Based Distributed Transaction Consistency 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.

2PC3PCJTA
0 likes · 13 min read
Understanding XA, 2PC, 3PC, JTA, TCC and Reliable Message Consistency in Distributed Transactions
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 4, 2021 · Backend Development

Mastering Seata Global Transactions in Spring Boot 2.2: A Step-by-Step Guide

This article walks through configuring Spring Boot 2.2.11 with Seata 1.3.0, detailing environment setup, dependency configuration, global transaction activation, proxy bean creation, data source proxying, transaction interceptor mechanisms, XID propagation via RestTemplate and Feign, and the complete commit‑and‑rollback workflow.

JavaSeataSpring Boot
0 likes · 31 min read
Mastering Seata Global Transactions in Spring Boot 2.2: A Step-by-Step Guide