Tag

eventual-consistency

1 views collected around this technical thread.

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 theoremStrong Consistencyconsistency
0 likes · 13 min read
Strong Consistency vs. Eventual Consistency in Distributed Systems
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jul 27, 2024 · Fundamentals

Understanding Distributed BASE: Basically Available, Soft State, and Eventual Consistency

This article explains the core concepts of the BASE theory—Basically Available, Soft State, and Eventual Consistency—illustrating how distributed systems trade off consistency for higher availability and performance, and provides practical examples and typical application scenarios.

BASESoft Stateavailability
0 likes · 15 min read
Understanding Distributed BASE: Basically Available, Soft State, and Eventual Consistency
Sanyou's Java Diary
Sanyou's Java Diary
Jun 17, 2024 · Backend Development

How to Keep Cache and Database Consistent? Proven Strategies and Common Pitfalls

This article explains why cache‑DB consistency is a long‑standing challenge, compares naive full‑load and delete‑cache approaches, analyzes concurrency and failure scenarios, and presents reliable solutions such as updating the database first followed by cache deletion using message queues or binlog subscriptions.

Cache ConsistencyMessage QueueRedis
0 likes · 19 min read
How to Keep Cache and Database Consistent? Proven Strategies and Common Pitfalls
Code Ape Tech Column
Code Ape Tech Column
Jun 6, 2023 · Backend Development

Business Compensation Mechanisms: Rollback and Retry Strategies in Distributed Systems

The article explains business compensation mechanisms in distributed microservice architectures, detailing rollback and retry approaches, their implementation patterns, strategies, and practical considerations for achieving eventual consistency while handling failures and outlines best practices for idempotency, monitoring, and workflow engine design.

IdempotencyRollbackbusiness compensation
0 likes · 14 min read
Business Compensation Mechanisms: Rollback and Retry Strategies in Distributed Systems
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
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 theoremCouchDBMVCC
0 likes · 21 min read
Understanding Eventual Consistency in Apache CouchDB
Architects Research Society
Architects Research Society
Apr 25, 2023 · Fundamentals

Understanding Eventual Consistency and Anti‑Entropy in Distributed Systems

This article explains the concepts of eventual consistency, hinted handoff queues and anti‑entropy in distributed databases, illustrates how they work with XDB Enterprise examples, and shows how AE restores data integrity after node failures or network partitions.

XDB Enterpriseanti-entropydata replication
0 likes · 10 min read
Understanding Eventual Consistency and Anti‑Entropy in Distributed Systems
Architects Research Society
Architects Research Society
Apr 21, 2023 · Databases

Understanding Sequential, Causal, and Eventual Consistency Models

This article explains the concepts of sequential, causal, and eventual consistency in distributed systems, illustrating their guarantees with examples and diagrams, and discusses related consistency guarantees such as monotonic reads, writes, and read‑your‑writes, helping readers grasp how these models affect system behavior and performance.

causal consistencyconsistencydistributed systems
0 likes · 13 min read
Understanding Sequential, Causal, and Eventual Consistency Models
Baidu Geek Talk
Baidu Geek Talk
Apr 17, 2023 · Operations

Baidu DuoLiXiong Platform Stability Construction: Practices and Insights

Baidu's DuoLiXiong platform, a SaaS suite for local services, achieves stability through comprehensive technical and business specifications, microservice best practices, rigorous code reviews, automated monitoring, eventual consistency, idempotency, and future automated scaling and intelligent fault tolerance for critical operations.

Code ReviewDevOpsIdempotency
0 likes · 11 min read
Baidu DuoLiXiong Platform Stability Construction: Practices and Insights
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
Top Architect
Top Architect
Sep 23, 2022 · Backend Development

Event‑Driven Architecture and Ensuring Eventual Consistency in Microservices

The article explores event‑driven architecture in microservices, detailing transaction consistency challenges, eventual consistency solutions, domain‑driven design, bounded contexts, and practical patterns such as local transaction tables, event sourcing, and materialized views to achieve reliable distributed systems.

DDDdistributed transactionsevent-driven
0 likes · 15 min read
Event‑Driven Architecture and Ensuring Eventual Consistency in Microservices
Top Architect
Top Architect
Sep 15, 2022 · Backend Development

Event‑Driven Architecture and Distributed Transaction Consistency in Microservices

The article explains how traditional ACID transaction guarantees break down in microservice environments, discusses the challenges of distributed transactions, and presents event‑driven architectures, eventual consistency, domain services, materialized views, and practical patterns such as local transaction tables and event sourcing to achieve reliable consistency across services.

DDDarchitecturedistributed transactions
0 likes · 15 min read
Event‑Driven Architecture and Distributed Transaction Consistency in Microservices
IT Services Circle
IT Services Circle
Aug 24, 2022 · Databases

Data Consistency Between MySQL and Redis: Strategies and Best Practices

This article examines common pitfalls and six practical strategies for maintaining data consistency between MySQL and Redis caches, comparing naive approaches with optimal solutions such as cache double‑delete, asynchronous serialization via message queues, and binlog‑driven eventual consistency, and offers recommendations for real‑time and eventual consistency scenarios.

Cache ConsistencyDatabaseMessage Queue
0 likes · 8 min read
Data Consistency Between MySQL and Redis: Strategies and Best Practices
Top Architect
Top Architect
Aug 10, 2022 · Backend Development

Cache Consistency: Challenges and Strategies for Backend Systems

This article examines why cache consistency cannot be fully guaranteed, analyzes common inconsistency scenarios between Redis and MySQL, compares four update strategies, and offers practical recommendations such as updating the database before deleting cache, using short expiration times, delayed double‑delete, MQ or binlog approaches to achieve eventual consistency.

CacheMySQLRedis
0 likes · 19 min read
Cache Consistency: Challenges and Strategies for Backend Systems
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.

Sagadatabase consistencydistributed transactions
0 likes · 11 min read
Distributed Transactions: Concepts, TCC and Saga Patterns, and Practical Implementation
Architects Research Society
Architects Research Society
Dec 12, 2021 · Databases

Understanding Eventual Consistency and Anti‑Entropy in Distributed Databases – Part 2

This article explains the concept of anti‑entropy as a key mechanism for achieving eventual consistency in distributed database systems, illustrates how XDB Enterprise handles node failures and data drift, and shows practical examples of repairing inconsistencies using the AE service.

XDB Enterpriseanti-entropydata replication
0 likes · 10 min read
Understanding Eventual Consistency and Anti‑Entropy in Distributed Databases – Part 2
Architects Research Society
Architects Research Society
Dec 11, 2021 · Databases

Understanding Eventual Consistency and the Hint Switch Queue in XDB Enterprise

This article explains the concept of eventual consistency in distributed databases, introduces the Hint Switch (HH) queue used by XDB Enterprise to handle failed writes, and discusses how replication factor and node failures affect data consistency, illustrated with practical examples and diagrams.

HH queueXDB Enterprisedatabases
0 likes · 8 min read
Understanding Eventual Consistency and the Hint Switch Queue in XDB Enterprise
Architects Research Society
Architects Research Society
Dec 5, 2021 · Databases

Understanding Sequential, Causal, and Eventual Consistency Models

This article explains the concepts of sequential, causal, and eventual consistency models, illustrating their definitions, guarantees, and practical examples—including process interactions and real‑world scenarios—while comparing their strengths, trade‑offs, and related consistency guarantees such as monotonic reads, writes, and read‑your‑writes.

causal consistencyconsistencydatabases
0 likes · 10 min read
Understanding Sequential, Causal, and Eventual Consistency Models
DevOps
DevOps
Nov 17, 2021 · Cloud Native

Key Considerations for Microservice Migration: Dependency Management, Interface Versioning, Isolation, and Data Consistency

The article outlines essential practices for migrating to microservices, covering service dependency rules to avoid circular dependencies, interface version compatibility strategies, isolation techniques for data, deployment and business logic, and methods to ensure eventual data consistency using scheduled retries and transactional messaging.

Data IsolationTransactional Messagingcloud native
0 likes · 14 min read
Key Considerations for Microservice Migration: Dependency Management, Interface Versioning, Isolation, and Data Consistency
IT Architects Alliance
IT Architects Alliance
Nov 4, 2021 · Databases

Ensuring Data Consistency Between Database and Redis Cache in High-Concurrency Scenarios

This article analyzes data consistency challenges between databases and Redis caches in high‑traffic applications, examines write order pitfalls and concurrency issues, and presents the Cache‑Aside pattern with retry and expiration strategies to achieve eventual consistency.

Cache ConsistencyDatabaseRedis
0 likes · 10 min read
Ensuring Data Consistency Between Database and Redis Cache in High-Concurrency Scenarios