Tagged articles
24 articles
Page 1 of 1
dbaplus Community
dbaplus Community
Jul 10, 2025 · Backend Development

Ensuring Data Consistency in Microservices: From CAP to Transactional Messaging

This article examines the limitations of the CAP theorem in modern microservice architectures, introduces the BASE model for eventual consistency, and evaluates practical solutions such as write RPC retries, synchronous and transactional messaging, and local message tables to achieve reliable data consistency across distributed services.

BASE theoryCAP theoremDistributed Consistency
0 likes · 11 min read
Ensuring Data Consistency in Microservices: From CAP to Transactional Messaging
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
May 25, 2025 · Fundamentals

How Consensus, CAP, and BASE Shape High‑Availability Architecture

This article explains the role of consensus algorithms in achieving high‑availability through redundancy and automatic failover, clarifies distributed consistency, explores the CAP theorem and its C component, and introduces the BASE theory as a practical complement for eventual consistency in modern distributed systems.

BASE theoryCAP theoremConsensus
0 likes · 10 min read
How Consensus, CAP, and BASE Shape High‑Availability Architecture
DeWu Technology
DeWu Technology
Mar 26, 2025 · Fundamentals

Consistency Challenges and Solutions in Distributed Systems: CAP, BASE, RPC, and Messaging

To address consistency problems in distributed systems, the article explains CAP and BASE trade‑offs, shows how transactional RPC and messaging—using retries, RocketMQ two‑phase commits, Spring @TransactionalEventListener, or a local message log—can ensure atomic updates, and compares their reliability, latency, and performance impacts.

BASE theoryCAP theoremDistributed Consistency
0 likes · 12 min read
Consistency Challenges and Solutions in Distributed Systems: CAP, BASE, RPC, and Messaging
政采云技术
政采云技术
Apr 27, 2023 · Backend Development

Understanding CAP Theorem, BASE Theory, and Their Implementation with Zookeeper (CP) and Eureka (AP)

This article explains the CAP theorem and its trade‑offs, introduces the BASE model as a practical compromise, and demonstrates how Zookeeper implements a CP registration center while Eureka adopts an AP approach, illustrating the impact on consistency, availability, and partition tolerance in distributed systems.

AvailabilityBASE theoryCAP theorem
0 likes · 12 min read
Understanding CAP Theorem, BASE Theory, and Their Implementation with Zookeeper (CP) and Eureka (AP)
ITPUB
ITPUB
Apr 13, 2023 · Fundamentals

Mastering Distributed Transactions: From CAP to BASE and Practical Solutions

This article explains distributed transactions, the reasons they arise, the CAP and BASE theories that guide consistency trade‑offs, and outlines strong, eventual, and weak consistency solutions along with popular frameworks for implementing them in modern distributed systems.

BASE theoryCAP theoryDistributed Systems
0 likes · 11 min read
Mastering Distributed Transactions: From CAP to BASE and Practical 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
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
Tencent Cloud Middleware
Tencent Cloud Middleware
Mar 8, 2021 · Backend Development

Understanding CAP, BASE, Paxos and Raft: Core Distributed Consistency Algorithms

This article explains the evolution of backend service architectures, introduces the CAP and BASE theories, and provides detailed walkthroughs of the Paxos and Raft consensus algorithms, covering their roles, constraints, protocol steps, and practical considerations for building reliable distributed systems.

BASE theoryCAP theoryConsensus Algorithm
0 likes · 22 min read
Understanding CAP, BASE, Paxos and Raft: Core Distributed Consistency Algorithms
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
Tencent Cloud Developer
Tencent Cloud Developer
Feb 26, 2021 · Fundamentals

Distributed Consistency Algorithms: CAP, BASE, Paxos, and Raft

From CAP and BASE trade‑offs to the rigorous Paxos consensus and the more approachable Raft protocol, this article explains how modern distributed systems achieve consistency despite partitions, failures, and latency, detailing roles, phases, and safety guarantees that underpin reliable micro‑service architectures.

BASE theoryCAP theoremConsistency
0 likes · 21 min read
Distributed Consistency Algorithms: CAP, BASE, Paxos, and Raft
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
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
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
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 theoremDistributed Systems
0 likes · 13 min read
Distributed System Characteristics and Solutions for Distributed Transaction Consistency
21CTO
21CTO
Nov 26, 2019 · Fundamentals

Which Distributed Transaction Model Wins? A Deep Dive into 2PC, TCC, and Message‑Based Consistency

This article explains the fundamentals of distributed transactions, compares local and global transaction models, examines protocols like XA and 2PC, introduces flexible transaction patterns such as TCC and compensable operations, and evaluates reliable message‑based solutions for achieving eventual consistency.

BASE theoryDistributed TransactionsXA protocol
0 likes · 15 min read
Which Distributed Transaction Model Wins? A Deep Dive into 2PC, TCC, and Message‑Based Consistency
dbaplus Community
dbaplus Community
Nov 5, 2018 · Databases

Why Distributed Transactions Matter: From CAP to Saga and Beyond

This article explains why transactions are essential, traces their origin from early XA specifications, examines the CAP and BASE theories that expose challenges in distributed systems, and reviews practical solutions such as two‑phase commit, three‑phase commit, TCC, asynchronous messaging, Saga and Gossip protocols, highlighting their trade‑offs and when to apply each.

BASE theoryCAP theoremTransactional Messaging
0 likes · 17 min read
Why Distributed Transactions Matter: From CAP to Saga and Beyond
Architecture Digest
Architecture Digest
Jul 11, 2018 · Cloud Native

Understanding Modern Distributed Architecture: SOA, Microservices, Service Mesh, CAP & BASE Theories, and High‑Availability Design

This article explains the evolution and core concepts of mainstream distributed architectures—including SOA, microservices, and service mesh—covers fundamental consistency theories such as CAP and BASE, and outlines practical high‑availability and scalability techniques for building resilient cloud‑native systems.

BASE theoryCAP theoremSOA
0 likes · 17 min read
Understanding Modern Distributed Architecture: SOA, Microservices, Service Mesh, CAP & BASE Theories, and High‑Availability Design
Java Backend Technology
Java Backend Technology
Mar 19, 2018 · Fundamentals

Why Distributed Consistency Matters: From CAP to BASE Explained

This article explores the importance of data consistency in distributed systems, illustrating real‑world scenarios, explaining consistency models such as strong, weak and eventual, and detailing the challenges and theories like CAP and BASE that guide system designers in balancing consistency, availability, and partition tolerance.

BASE theoryCAP theoremConsistency
0 likes · 18 min read
Why Distributed Consistency Matters: From CAP to BASE Explained