Tag

CAP theorem

1 views collected around this technical thread.

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
Java Tech Enthusiast
Java Tech Enthusiast
May 4, 2025 · Fundamentals

Technical Interview Q&A: TCP, Redis, Kafka, CAP Theorem, Singleton, C++ STL, and Algorithms

This guide reviews common backend interview topics, explaining TCP TIME_WAIT behavior, multi‑port listening, full page load steps, Redis data types, Kafka consumer sizing and at‑most‑once semantics, the CAP theorem, Singleton usage, C++ std::map complexity, and an O(n) doubly‑linked list reversal algorithm.

AlgorithmsC++CAP theorem
0 likes · 12 min read
Technical Interview Q&A: TCP, Redis, Kafka, CAP Theorem, Singleton, C++ STL, and Algorithms
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
Cognitive Technology Team
Cognitive Technology Team
Apr 3, 2025 · Fundamentals

Understanding CAP Theory and BASE: Data Consistency in Distributed Systems

This article explains the CAP theorem and its practical extension BASE, describing their core concepts, trade‑off combinations, typical components such as Zookeeper, Eureka, and Nacos, and engineering techniques like asynchronous replication, Saga, and idempotent design for building highly available distributed systems.

BASECAP theoremDistributed Systems
0 likes · 5 min read
Understanding CAP Theory and BASE: Data Consistency in Distributed Systems
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
IT Architects Alliance
IT Architects Alliance
Jan 21, 2025 · Cloud Native

Understanding CAP Theory and Data Consistency Challenges in Microservice Architecture

The article explains how microservice architectures face data consistency challenges, introduces the CAP theorem's trade‑offs among consistency, availability and partition tolerance, and discusses practical solutions such as service registries, distributed transaction patterns, and cloud‑native strategies for maintaining reliable systems.

CAP theoremDistributed SystemsMicroservices
0 likes · 16 min read
Understanding CAP Theory and Data Consistency Challenges in Microservice Architecture
IT Architects Alliance
IT Architects Alliance
Jan 13, 2025 · Fundamentals

Strong Consistency vs. Eventual Consistency in Distributed Systems

The article explains the principles, implementation techniques, trade‑offs, and typical use cases of strong consistency and eventual consistency in distributed systems, helping architects decide which model best fits the performance, availability, and correctness requirements of their applications.

CAP theoremDistributed SystemsStrong Consistency
0 likes · 13 min read
Strong Consistency vs. Eventual Consistency in Distributed Systems
vivo Internet Technology
vivo Internet Technology
Nov 27, 2024 · Backend Development

Implementation Principles of Distributed Locks with Redis and Zookeeper

Distributed locks synchronize multiple services across nodes, and can be implemented using Redis’s fast, AP‑oriented SET‑NX with automatic TTL renewal or Zookeeper’s CP‑oriented ephemeral sequential nodes, each offering distinct trade‑offs in performance, consistency, and suitability for various workload requirements.

CAP theoremDistributed LockJava
0 likes · 24 min read
Implementation Principles of Distributed Locks with Redis and Zookeeper
macrozheng
macrozheng
Aug 23, 2024 · Databases

NewSQL vs Middleware Sharding: Which Architecture Truly Wins?

This article objectively compares NewSQL databases with middleware‑based sharding solutions, examining architecture, distributed transactions, CAP constraints, high availability, scaling, SQL support, storage engines, and maturity to help readers choose the right approach for their workloads.

CAP theoremDistributed DatabasesNewSQL
0 likes · 19 min read
NewSQL vs Middleware Sharding: Which Architecture Truly Wins?
Top Architect
Top Architect
Jun 19, 2024 · Databases

Choosing Between NewSQL Databases and Middleware‑Based Sharding: A Comparative Analysis

This article objectively compares NewSQL databases with middleware‑based sharding solutions, examining their architectures, distributed transaction handling, scalability, high‑availability mechanisms, storage engines, and suitability for various workloads, and provides guidance on selecting the appropriate approach based on specific system requirements.

CAP theoremNewSQLSharding
0 likes · 19 min read
Choosing Between NewSQL Databases and Middleware‑Based Sharding: A Comparative Analysis
Architecture & Thinking
Architecture & Thinking
May 21, 2024 · Fundamentals

Mastering Distributed Consistency: Paxos, Raft, and ZAB Explained

This article examines high‑concurrency distributed consistency algorithms—explaining the CAP challenges, detailing Paxos, Raft, and ZAB’s core concepts, roles, and workflow, and discussing their practical applications and selection criteria for ensuring strong data consistency in critical systems.

CAP theoremDistributed SystemsPaxos
0 likes · 13 min read
Mastering Distributed Consistency: Paxos, Raft, and ZAB Explained
Architecture Digest
Architecture Digest
Apr 19, 2024 · Databases

Comparing NewSQL Distributed Databases with Middleware‑Based Sharding: Advantages, Trade‑offs, and Use Cases

The article objectively compares NewSQL distributed databases with traditional middleware‑based sharding solutions, examining their architectural differences, distributed transaction support, performance, scalability, high‑availability mechanisms, storage engines, and practical suitability for various application scenarios.

CAP theoremDistributed DatabasesNewSQL
0 likes · 18 min read
Comparing NewSQL Distributed Databases with Middleware‑Based Sharding: Advantages, Trade‑offs, and Use Cases
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 theoremDistributed SystemsMicroservices
0 likes · 12 min read
Why Distributed Transactions Matter: From CAP Theorem to XA, 2PC, 3PC and TCC
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
Architects Research Society
Architects Research Society
May 21, 2023 · Fundamentals

Immutable Architecture, CAP Theorem, and CRDTs – Insights from Michael Perry

Michael Perry discusses his book on immutable architecture, exploring the eight myths of distributed computing, the impact of Pat Helland’s “immutability changes everything”, CAP theorem, eventual consistency, location‑independent identities, and CRDTs, while offering practical advice for applying these concepts in real‑world enterprise systems.

CAP theoremCRDTDistributed Systems
0 likes · 27 min read
Immutable Architecture, CAP Theorem, and CRDTs – Insights from Michael Perry
Selected Java Interview Questions
Selected Java Interview Questions
May 16, 2023 · Databases

Understanding NoSQL: Meaning, Theory, Advantages, and Use Cases

This article explains the true meaning of NoSQL, its theoretical foundation in the CAP theorem, the reasons why it excels in large‑scale and high‑concurrency scenarios, compares it with relational databases, and outlines typical use cases and trade‑offs.

CAP theoremNoSQLNon-relational
0 likes · 6 min read
Understanding NoSQL: Meaning, Theory, Advantages, and Use Cases
Architects Research Society
Architects Research Society
May 6, 2023 · Databases

Understanding Eventual Consistency in Apache CouchDB

This article explains how Apache CouchDB achieves eventual consistency through its MVCC architecture, CAP theorem trade‑offs, incremental replication, and document‑level versioning, illustrating concepts such as local consistency, conflict resolution, and practical use‑cases for building scalable distributed systems.

CAP theoremCouchDBDistributed Systems
0 likes · 21 min read
Understanding Eventual Consistency in Apache CouchDB
政采云技术
政采云技术
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.

BASE theoryCAP theoremDistributed Systems
0 likes · 12 min read
Understanding CAP Theorem, BASE Theory, and Their Implementation with Zookeeper (CP) and Eureka (AP)
JD Retail Technology
JD Retail Technology
Apr 19, 2023 · Databases

Understanding Distributed Data Consistency: CAP, BASE, and Transaction Solutions

This article explains why achieving data consistency in modern distributed systems is challenging, reviews ACID properties of local databases, discusses the CAP and BASE theorems, examines event ordering mechanisms, and compares practical solutions such as two‑phase commit, XA, local message tables, and MQ‑based transaction models.

BASE theoremCAP theoremDistributed Systems
0 likes · 19 min read
Understanding Distributed Data Consistency: CAP, BASE, and Transaction Solutions
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Apr 8, 2023 · Fundamentals

Understanding Distributed Consistency: CAP, BASE, and Consistency Models

This article explains the fundamentals of distributed consistency, covering strong, weak, and eventual consistency, the CAP theorem, BASE model, and how ACID principles relate to modern distributed systems, helping engineers balance availability and data integrity in large‑scale architectures.

ACIDBASE modelCAP theorem
0 likes · 9 min read
Understanding Distributed Consistency: CAP, BASE, and Consistency Models