Skip to content
Tagged articles

Consistency

348 articles · Page 2 of 4
Top Architect
Top Architect
Mar 28, 2023 · Backend Development

Ensuring Data Consistency Between Cache and Database: Strategies and Trade‑offs

This article examines various strategies for maintaining data consistency between caches (such as Redis and local memory) and databases during double-write operations, evaluates their advantages and drawbacks, and proposes solutions like delayed double deletion, message‑queue compensation, and binlog‑based cache updates.

Consistencydatabase
0 likes · 8 min read
Ensuring Data Consistency Between Cache and Database: Strategies and Trade‑offs
Architects Research Society
Architects Research Society
Mar 1, 2023 · Fundamentals

Understanding Consistency in Distributed Systems

This article explains the concept of consistency in distributed systems, distinguishes strong and weak (eventual) consistency, outlines typical use cases and challenges, and reviews key protocols such as 2‑Phase Commit, 3‑Phase Commit, Paxos, and Raft, while referencing the FLP and CAP theorems.

2PC3PCCAP theorem
0 likes · 9 min read
Understanding Consistency in Distributed Systems
ITPUB
ITPUB
Feb 14, 2023 · Databases

Mastering Database Read‑Write Splitting: Techniques, Use‑Cases, and Top Tools

This article provides a comprehensive overview of database read‑write splitting, detailing its benefits, core technical implementations, practical best‑practice guidelines, and a comparison of popular open‑source and commercial products that enable efficient read‑write traffic distribution.

ConsistencyRead‑Write SplittingSQL routing
0 likes · 21 min read
Mastering Database Read‑Write Splitting: Techniques, Use‑Cases, and Top Tools
ITPUB
ITPUB
Jan 4, 2023 · Databases

Can Cassandra Beat RDBMS Distributed Bottlenecks? A Deep Dive into Decentralized Databases

The article traces the evolution from Codd's relational model to modern RDBMS scaling limits, explains why centralized Hadoop/HBase architectures struggle with high‑concurrency workloads, and shows how Cassandra’s decentralized design—using consistent hashing, gossip, and virtual nodes—overcomes these bottlenecks while offering flexible consistency guarantees.

CassandraConsistencyHBase
0 likes · 22 min read
Can Cassandra Beat RDBMS Distributed Bottlenecks? A Deep Dive into Decentralized Databases
Architect's Guide
Architect's Guide
Dec 1, 2022 · Databases

Comprehensive Guide to Redis: Architecture, Data Structures, Persistence, Replication, Clustering, and Advanced Features

This article provides an in‑depth overview of Redis, covering its single‑threaded architecture, core data structures (String, Hash, List, Set, ZSet), persistence mechanisms (RDB, AOF, hybrid), replication, Sentinel and cluster designs, memory eviction policies, bitmap analytics, skiplist implementation, and strategies for ensuring data consistency.

CachingConsistencyRedis
0 likes · 27 min read
Comprehensive Guide to Redis: Architecture, Data Structures, Persistence, Replication, Clustering, and Advanced Features
IT Architects Alliance
IT Architects Alliance
Nov 24, 2022 · Backend Development

Transaction Consistency Strategies in Microservices: Blocking Retry, Async Queues, TCC, and Local Message Tables

The article examines common microservice transaction consistency techniques—including blocking retries, asynchronous queues, TCC compensation transactions, local message tables, and MQ transactions—explaining their mechanisms, advantages, drawbacks, and practical code examples for ensuring data integrity across distributed services.

ConsistencyMessage QueueRetry
0 likes · 13 min read
Transaction Consistency Strategies in Microservices: Blocking Retry, Async Queues, TCC, and Local Message Tables
IT Architects Alliance
IT Architects Alliance
Nov 24, 2022 · Fundamentals

Why Code Reuse Often Fails to Improve Efficiency in System Design

The article examines the common belief that reusing code and components boosts productivity, explains the flawed reasoning behind it, highlights the hidden costs of excessive abstraction, and proposes autonomy and consistency metrics as guidelines for sensible system design.

ConsistencyDesign Principlesautonomy
0 likes · 9 min read
Why Code Reuse Often Fails to Improve Efficiency in System Design
Top Architect
Top Architect
Nov 23, 2022 · Backend Development

Transaction Consistency Strategies in Distributed Microservices: Blocking Retry, Asynchronous Queue, TCC, and Local Message Table

The article explains various techniques for ensuring data consistency in distributed microservice architectures, including blocking retries, asynchronous queues, TCC compensation transactions, local message tables, and MQ transactions, while discussing their advantages, drawbacks, and practical implementation details.

BackendConsistencyMessage Queue
0 likes · 15 min read
Transaction Consistency Strategies in Distributed Microservices: Blocking Retry, Asynchronous Queue, TCC, and Local Message Table
21CTO
21CTO
Nov 22, 2022 · Fundamentals

Key Distributed System Techniques: Bloom Filter, Consistent Hashing, Quorum

This article explains fundamental distributed‑system mechanisms—including Bloom filters for space‑efficient membership tests, consistent hashing for scalable data placement, quorum requirements for operation safety, leader‑follower coordination, heartbeats, fencing, write‑ahead logging, log segmentation, high‑water marks, leases, gossip protocols, failure detection, split‑brain resolution, checksums, CAP and PACELC theorems, hinted handoff, read repair, and Merkle trees—providing a comprehensive overview for engineers.

Bloom FilterConsistencyConsistent Hashing
0 likes · 13 min read
Key Distributed System Techniques: Bloom Filter, Consistent Hashing, Quorum
Tencent Cloud Developer
Tencent Cloud Developer
Nov 18, 2022 · Backend Development

Cache Consistency Strategies and Best Practices

The article explains how using a Redis cache can boost read performance but introduces consistency challenges, compares four cache‑aside write strategies, and recommends the reliable “update database then delete cache” approach combined with short expiration times and asynchronous message‑queue invalidation to keep data fresh.

BackendCache AsideConsistency
0 likes · 20 min read
Cache Consistency Strategies and Best Practices
IT Architects Alliance
IT Architects Alliance
Nov 17, 2022 · Backend Development

Cache Update Strategies and Concurrency Control: CAS, Distributed Locks, Asynchronous Updates, and Delayed Double Delete

This article examines cache update strategies in high‑concurrency systems, analyzing the trade‑offs of delete‑then‑write versus write‑then‑write approaches, illustrating race conditions, and presenting solutions such as CAS, distributed locks, asynchronous updates, and delayed double‑delete to maintain data consistency.

CASCacheConsistency
0 likes · 8 min read
Cache Update Strategies and Concurrency Control: CAS, Distributed Locks, Asynchronous Updates, and Delayed Double Delete
58 Tech
58 Tech
Nov 17, 2022 · Backend Development

Design and Migration Strategies for the WLock Distributed Lock Service

The article presents the architecture of WLock, a Paxos‑based distributed lock service, analyzes key isolation schemes, evaluates cluster expansion and splitting, and details a multi‑step key migration process—including forward and reverse migration, node scaling, and consistency safeguards—to achieve high‑availability and isolated lock handling in multi‑tenant environments.

Cluster ScalingConsistencyDistributed Lock
0 likes · 18 min read
Design and Migration Strategies for the WLock Distributed Lock Service
Top Architect
Top Architect
Nov 13, 2022 · Backend Development

Cache Update Strategies and Concurrency Control in Backend Systems

The article analyzes the challenges of keeping cache and database consistent after write operations, evaluates four update‑order strategies, discusses their concurrency pitfalls, and presents practical solutions such as CAS, distributed locks, asynchronous updates, and delayed double‑delete techniques.

BackendCASCache
0 likes · 8 min read
Cache Update Strategies and Concurrency Control in Backend Systems
Shopee Tech Team
Shopee Tech Team
Nov 3, 2022 · Cloud Native

Design of a Cloud-Native High-Availability Service Naming Center

The article describes ShopeePay’s cloud‑native, high‑availability Naming Center built on sRPC, which replaces etcd with an in‑memory, peer‑to‑peer service registry that uses gossip heartbeats, self‑protection, and a coordinator for eventual consistency, rapid recovery, and seamless upgrades.

ConsistencyHigh AvailabilityNaming Service
0 likes · 18 min read
Design of a Cloud-Native High-Availability Service Naming Center
Architecture Digest
Architecture Digest
Oct 16, 2022 · Backend Development

Design and Implementation of Baidu Transaction Middle‑Platform Asset System

The article presents the architecture, business scenarios, consistency mechanisms, double‑entry accounting, hotspot‑account handling, storage sharding, and regulatory compliance of Baidu's transaction middle‑platform asset system that supports C2C payments, virtual‑coin, cash, and asset services across dozens of products.

Consistencyasset managementdouble-entry accounting
0 likes · 13 min read
Design and Implementation of Baidu Transaction Middle‑Platform Asset System
JD Cloud Developers
JD Cloud Developers
Sep 29, 2022 · Databases

Mastering Data Consistency: Transactions, Isolation Levels, and MVCC Explained

This article explores how to achieve data consistency by examining transaction properties, isolation levels, common concurrency issues like dirty, non-repeatable, and phantom reads, and compares lock‑based concurrency control with multi‑version concurrency control (MVCC), detailing undo logs, read‑view mechanisms, and practical examples.

ConsistencyMVCCTransactions
0 likes · 15 min read
Mastering Data Consistency: Transactions, Isolation Levels, and MVCC Explained
Architecture & Thinking
Architecture & Thinking
Sep 23, 2022 · Operations

How Baidu’s Transaction Middle‑Platform Asset System Ensures Consistent, Secure User Funds

This article explains the design and implementation of Baidu's transaction middle‑platform asset system, covering C2C payment models, core business scenarios, asset flow processes, consistency guarantees, double‑entry accounting, hotspot account handling, storage architecture, and regulatory compliance to support rapid asset‑related business growth.

ConsistencyDouble EntryFinancial Compliance
0 likes · 15 min read
How Baidu’s Transaction Middle‑Platform Asset System Ensures Consistent, Secure User Funds
Baidu Geek Talk
Baidu Geek Talk
Sep 21, 2022 · Industry Insights

How Baidu’s Transaction Middle‑Platform Asset System Enables C2C Payments and Guarantees Consistency

This article details the design and implementation of Baidu's transaction middle‑platform asset system, covering its C2C payment model, core asset management capabilities, consistency guarantees, double‑entry accounting, hot‑account handling, sharding and archiving strategies, and compliance with national financial regulations.

C2C paymentsConsistencyFinancial Compliance
0 likes · 15 min read
How Baidu’s Transaction Middle‑Platform Asset System Enables C2C Payments and Guarantees Consistency
Top Architect
Top Architect
Sep 7, 2022 · Backend Development

Cache Consistency Challenges and Update Strategies in Backend Systems

This article explains why caching is essential for high‑traffic services, describes the inherent consistency problems between Redis and MySQL, analyzes four cache‑update strategies with concrete concurrency scenarios, and provides practical recommendations such as using delete‑after‑update, delayed double‑delete, expiration, MQ, and binlog subscription to achieve eventual consistency.

BackendConsistencystrategy
0 likes · 22 min read
Cache Consistency Challenges and Update Strategies in Backend Systems
Top Architect
Top Architect
Aug 30, 2022 · Fundamentals

Key Distributed System Design Patterns and Concepts

This article explains essential distributed‑system design patterns such as Bloom filters, consistent hashing, quorum, leader‑follower replication, heartbeats, fencing, write‑ahead logs, segment logs, high‑water marks, leases, CAP and PACELC theorems, hinted handoff, read‑repair, Merkle trees, and related failure‑detection mechanisms, illustrating how they improve scalability, consistency and fault tolerance.

Bloom FilterCAP theoremConsistency
0 likes · 12 min read
Key Distributed System Design Patterns and Concepts
Meituan Technology Team
Meituan Technology Team
Aug 25, 2022 · Databases

Transactions, Consistency, and Consensus in Distributed Systems

This article explains how transactions, consistency, and consensus interrelate in distributed systems, reviews replication models, details ACID properties, internal consistency models, consensus algorithms, and Kafka’s configuration and transaction support, and highlights verification tools like TLA+ and Jepsen for ensuring correctness.

ACIDConsensusConsistency
0 likes · 46 min read
Transactions, Consistency, and Consensus in Distributed Systems
Meituan Technology Team
Meituan Technology Team
Aug 25, 2022 · Databases

Data Replication in Distributed Systems – Part 1: Models, Challenges, and Design Considerations

The article surveys three data‑replication models—master‑slave, multi‑master, and leaderless—explains how they enable scalability and fault‑tolerance, and examines core distributed‑system challenges such as partial node failures, unreliable networks, and unsynchronized clocks, while stressing safety‑liveness trade‑offs and design techniques like quorum and timeouts.

ConsistencyKafkadata replication
0 likes · 37 min read
Data Replication in Distributed Systems – Part 1: Models, Challenges, and Design Considerations
Top Architect
Top Architect
Aug 12, 2022 · Operations

Key Distributed System Design Patterns Explained by a Senior Architect

This article presents a concise overview of essential distributed‑system design patterns—including Bloom filters, consistent hashing, quorum, leader/follower, heartbeat, fencing, high‑water mark, leases, gossip protocol, PACELC theorem, hinted handoff, read‑repair, and Merkle trees—explaining their purpose, operation, and typical usage in large‑scale storage and coordination services.

Consistencyarchitecturedistributed systems
0 likes · 15 min read
Key Distributed System Design Patterns Explained by a Senior Architect
IT Architects Alliance
IT Architects Alliance
Aug 11, 2022 · Fundamentals

Key Distributed System Concepts: Bloom Filter, Consistent Hashing, Quorum, Leader/Follower, and More

This article introduces essential distributed‑system mechanisms—including Bloom filters, consistent hashing, quorum, leader/follower roles, heartbeats, fencing, write‑ahead logs, segment logs, high‑water marks, leases, gossip protocols, failure detection, CAP/PACELC theorems, hinted handoff, read‑repair, and Merkle trees—to help engineers design scalable and fault‑tolerant services.

CAP theoremConsistencydata structures
0 likes · 12 min read
Key Distributed System Concepts: Bloom Filter, Consistent Hashing, Quorum, Leader/Follower, and More
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.

BackendConsistencycaching strategies
0 likes · 19 min read
Cache Consistency: Challenges and Strategies for Backend Systems
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Aug 2, 2022 · Backend Development

How Nacos’s Distro Protocol Ensures High‑Availability Consistency

This article explains the design, six mechanisms, and source‑code flow of Nacos’s Distro protocol, showing how asynchronous replication, periodic sync, new‑node loading, and local reads together provide AP‑style high availability and eventual consistency for service registration.

APConsistencyDistro
0 likes · 15 min read
How Nacos’s Distro Protocol Ensures High‑Availability Consistency
IT Architects Alliance
IT Architects Alliance
Jul 25, 2022 · Backend Development

Design and Implementation of Distributed Lock Services: Redis, ZooKeeper, and SharkLock

The article explains the principles, requirements, and common implementations of distributed lock services using Redis and ZooKeeper, analyzes their drawbacks, and introduces SharkLock's design choices—including lock metadata, reliability via SharkStore, dead‑lock prevention, safety mechanisms, and Raft‑based consistency—to guide developers in building robust distributed locking solutions.

ConsistencyRaftRedis
0 likes · 15 min read
Design and Implementation of Distributed Lock Services: Redis, ZooKeeper, and SharkLock
dbaplus Community
dbaplus Community
Jul 24, 2022 · Fundamentals

Meta’s Secret to Near‑Zero Cache Inconsistency

Meta’s engineering team describes how they raised cache consistency from six‑nines to ten‑nines by defining precise invalidation semantics, building the Polaris observability service, and implementing systematic tracking of cache mutations, offering practical strategies that apply to any distributed cache such as Redis or TAO.

ConsistencyMetaPolaris
0 likes · 17 min read
Meta’s Secret to Near‑Zero Cache Inconsistency
JavaEdge
JavaEdge
Jul 24, 2022 · Databases

Understanding Database Transactions: ACID, Isolation, and Real-World Pitfalls

The article examines why robust fault‑tolerance is essential for data stores, explains how transactions simplify error handling, breaks down the ACID guarantees, illustrates isolation and durability with concrete examples and diagrams, and discusses when multi‑object transactions are truly needed.

ACIDConsistencyTransactions
0 likes · 20 min read
Understanding Database Transactions: ACID, Isolation, and Real-World Pitfalls
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
High Availability Architecture
High Availability Architecture
Jun 24, 2022 · Backend Development

Improving Cache Invalidation and Consistency at Scale

Meta engineers describe the challenges of cache invalidation and consistency in large‑scale distributed systems, explain why stale caches are problematic, present their Polaris observability service and consistency‑tracking techniques, and detail how they raised TAO’s cache consistency from six‑nines to ten‑nines.

CachingConsistencycache invalidation
0 likes · 17 min read
Improving Cache Invalidation and Consistency at Scale
Top Architect
Top Architect
Jun 2, 2022 · Databases

Reasonable Strategies for Database and Cache Read/Write Consistency

The article discusses how to achieve reasonable read/write consistency between databases and caches by emphasizing cache expiration, eventual consistency, analyzing the Cache‑Aside pattern, evaluating four update‑order options, recommending the "update‑DB‑then‑delete‑cache" approach, and suggesting async deletion via message queues and distributed locks to handle concurrency and cache breakdown.

Cache AsideConsistencydistributed-lock
0 likes · 19 min read
Reasonable Strategies for Database and Cache Read/Write Consistency
IT Architects Alliance
IT Architects Alliance
May 21, 2022 · Backend Development

Cache Usage Techniques and Design Strategies

This article explains how caching can accelerate read/write performance and reduce backend load, analyzes its benefits and costs, and details practical design patterns such as update policies, granularity control, penetration, bottom‑hole, avalanche, and hot‑key optimizations for reliable high‑performance systems.

CachingConsistencyRedis
0 likes · 13 min read
Cache Usage Techniques and Design Strategies
政采云技术
政采云技术
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
Sohu Tech Products
Sohu Tech Products
May 18, 2022 · Fundamentals

Understanding Strong vs. Weak Consistency in Java's ConcurrentHashMap

This article explains the concepts of strong and weak consistency, their roots in visibility and ordering within the Java Memory Model, and how Java 8’s ConcurrentHashMap uses volatile fields, CAS, and unsafe operations to achieve strong consistency for put/get while retaining weak consistency for operations like size().

ConcurrencyConcurrentHashMapConsistency
0 likes · 14 min read
Understanding Strong vs. Weak Consistency in Java's ConcurrentHashMap
Architects Research Society
Architects Research Society
May 6, 2022 · Fundamentals

Understanding the CAP Theorem and How PACELC Extends It

The article explains the CAP theorem’s three properties—consistency, availability, and partition tolerance—its implications for distributed systems, highlights its limitations, introduces the PACELC extension that adds latency versus consistency trade‑offs when no partition exists, and provides real‑world database examples.

CAP theoremConsistencyPACELC
0 likes · 7 min read
Understanding the CAP Theorem and How PACELC Extends It
Wukong Talks Architecture
Wukong Talks Architecture
May 5, 2022 · Backend Development

Deep Dive into Nacos Distro Consistency Protocol: Design, Mechanisms, and Source Code Analysis

This article explains the design principles, six core mechanisms, asynchronous replication, periodic synchronization, new‑node sync, and local read strategy of Nacos's Distro consistency protocol, illustrating how AP/CP choices and the JRaft protocol ensure high availability in a distributed service registry.

APConsistencyDistro
0 likes · 13 min read
Deep Dive into Nacos Distro Consistency Protocol: Design, Mechanisms, and Source Code Analysis
Top Architect
Top Architect
May 1, 2022 · Backend Development

Cache Consistency Challenges and Practical Strategies for Database‑Redis Integration

The article explains why high‑traffic systems store data in databases but use fast caches like Redis, outlines the inherent consistency problems between cache and database, evaluates four update‑delete strategies with concurrency scenarios, and recommends practical solutions such as post‑update cache eviction, delayed double deletion, expiration policies, message queues, and binlog listeners to achieve eventual consistency.

BackendConsistencydistributed-systems
0 likes · 19 min read
Cache Consistency Challenges and Practical Strategies for Database‑Redis Integration
IT Architects Alliance
IT Architects Alliance
Apr 30, 2022 · Backend Development

Cache Consistency Strategies and Best Practices for Database‑Cache Synchronization

This article explains why caching is essential for high‑read workloads, describes the consistency challenges when data resides in both MySQL and Redis, compares four cache‑update strategies, and offers practical recommendations such as using expiration, delayed double‑delete, message queues, and binlog subscription to achieve eventual consistency.

BackendCachingConsistency
0 likes · 20 min read
Cache Consistency Strategies and Best Practices for Database‑Cache Synchronization
Architect's Journey
Architect's Journey
Apr 13, 2022 · Fundamentals

Is Classifying Distributed Systems as CP or AP a False Dichotomy?

The article revisits the CAP theorem, explains linearizable consistency and strict availability, demonstrates with concrete data‑center examples why the CP/AP split is often misleading, and argues that latency concerns and broader failure modes make the binary classification of distributed systems impractical.

CAP theoremCP vs APConsistency
0 likes · 10 min read
Is Classifying Distributed Systems as CP or AP a False Dichotomy?
IT Services Circle
IT Services Circle
Apr 7, 2022 · Databases

Database and Cache Dual-Write Consistency: Common Solutions and Pitfalls

This article examines the problem of data inconsistency when writing to both a database and a cache, outlines four typical dual‑write strategies, analyzes their drawbacks in high‑concurrency scenarios, and recommends the most reliable approach—writing to the database first followed by cache deletion with retry mechanisms.

CacheConsistencyRetry
0 likes · 18 min read
Database and Cache Dual-Write Consistency: Common Solutions and Pitfalls
Yanxuan Tech Team
Yanxuan Tech Team
Apr 7, 2022 · Backend Development

Mastering Server‑Side Caching: From Local to Distributed Multilevel Strategies

This article explains why caching is essential for reducing CPU and I/O pressure, outlines key cache attributes such as throughput and hit rate, compares popular local cache libraries, describes distributed cache options, and details the design, consistency, monitoring, and hot‑key handling of a transparent multilevel cache architecture.

ConsistencyHeliosdistributed cache
0 likes · 20 min read
Mastering Server‑Side Caching: From Local to Distributed Multilevel Strategies
Top Architect
Top Architect
Mar 22, 2022 · Backend Development

Cache Update Strategies: Consistency, Concurrency, and Failure Handling

The article analyzes various cache update strategies—including delete‑then‑write, write‑then‑delete, and asynchronous binlog subscription—examining their impact on system throughput, concurrency safety, failure scenarios, and fault detection to ensure data consistency between cache and database.

BackendCacheConcurrency
0 likes · 6 min read
Cache Update Strategies: Consistency, Concurrency, and Failure Handling
DaTaobao Tech
DaTaobao Tech
Mar 9, 2022 · Cloud Native

Distributed System Consistency Handling

The article explains how distributed systems maintain request consistency by employing idempotent IDs, state‑machine tracking, snapshot recording, and coordinated error‑handling strategies—including retries, queries, and messaging—while also addressing read/write separation limits, reconciliation, and disaster‑recovery measures to prevent duplicate actions and state divergence.

ConsistencyIdempotencydistributed systems
0 likes · 18 min read
Distributed System Consistency Handling
Code Ape Tech Column
Code Ape Tech Column
Feb 21, 2022 · Backend Development

Cache Consistency Issues and Solutions: Cache‑Aside Pattern, Lazy Deletion, and High‑Concurrency Queue Design

This article explains the fundamental cache‑aside pattern, why lazy cache deletion is preferred over immediate updates, analyzes simple and complex cache‑database inconsistency scenarios, and proposes a high‑concurrency queue‑based solution with practical considerations for backend systems.

Cache AsideConsistencydistributed-systems
0 likes · 11 min read
Cache Consistency Issues and Solutions: Cache‑Aside Pattern, Lazy Deletion, and High‑Concurrency Queue Design
Top Architect
Top Architect
Feb 18, 2022 · Backend Development

Ensuring Data Consistency Between Cache and Database: Strategies and Trade‑offs

The article analyzes the problem of data inconsistency when using caches such as Redis or local memory alongside a database, classifies data by real‑time requirements, compares four write‑through/write‑behind strategies, and proposes practical solutions like delayed double‑delete, message‑queue compensation, and binlog‑driven cache updates.

BackendCacheConsistency
0 likes · 8 min read
Ensuring Data Consistency Between Cache and Database: Strategies and Trade‑offs
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
Java Backend Technology
Java Backend Technology
Jan 24, 2022 · Backend Development

How to Solve Double‑Write Consistency Issues with Message Queues

This article examines the pitfalls of writing to multiple data stores simultaneously—such as consistency and atomicity problems—and proposes a generic solution using change data capture and message queues to keep databases, Redis, Elasticsearch, and Hadoop synchronized.

Consistencydata synchronizationdouble-write
0 likes · 7 min read
How to Solve Double‑Write Consistency Issues with Message Queues
Big Data Technology & Architecture
Big Data Technology & Architecture
Jan 18, 2022 · Big Data

Data Warehouse Data Quality Measurement Standards

The article outlines four key dimensions for evaluating data warehouse data quality—correctness, completeness, timeliness, and consistency—explains common consistency issues such as differing metric values across models, cross‑dimensional aggregations, and real‑time versus batch calculations, and proposes organizational and review mechanisms to mitigate these problems.

ConsistencyData Governancebig data
0 likes · 9 min read
Data Warehouse Data Quality Measurement Standards
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.

Consistencycausal consistencydatabases
0 likes · 10 min read
Understanding Sequential, Causal, and Eventual Consistency Models
Java Architect Essentials
Java Architect Essentials
Nov 19, 2021 · Fundamentals

A Comprehensive Guide to Learning Distributed Systems

This article provides a thorough overview of distributed systems, explaining their definition, core concepts such as partition and replication, key challenges, essential characteristics, typical components and protocols, a practical request flow example, and a curated list of real‑world implementations to help readers build a solid learning roadmap.

ConsistencyReplicationdistributed systems
0 likes · 17 min read
A Comprehensive Guide to Learning Distributed Systems
ITPUB
ITPUB
Nov 5, 2021 · Databases

Why Distributed Databases Face Consistency Challenges and How to Address Them

The article explains how distributed database systems appear as a single logical database but operate over a network of nodes, detailing failures, stale reads, consistency models, architecture anomalies, sharding, replication, and various read/write scenarios that illustrate the complexity of achieving strong consistency.

CAP theoremConsistencySharding
0 likes · 16 min read
Why Distributed Databases Face Consistency Challenges and How to Address Them
Alibaba Cloud Developer
Alibaba Cloud Developer
Oct 26, 2021 · Fundamentals

Jepsen Uncovered: A Practical Guide to Linearizability Testing

This article explains the fundamentals of Jepsen testing, compares it with TLA+, describes its architecture and workflow, illustrates how to apply Jepsen for linearizability verification of distributed systems such as locks, and offers practical guidance on integrating Jepsen or building custom testing frameworks.

ConsistencyJepsendistributed systems
0 likes · 17 min read
Jepsen Uncovered: A Practical Guide to Linearizability Testing
IT Architects Alliance
IT Architects Alliance
Oct 24, 2021 · Databases

Database Capacity Planning and Scaling with ScyllaDB

This article explains why database capacity planning is challenging and presents a systematic approach—including workload analysis, performance modeling, consistency considerations, and node scaling decisions—using the open‑source NoSQL database ScyllaDB to guide accurate capacity estimation.

ConsistencyNoSQLPerformance Modeling
0 likes · 14 min read
Database Capacity Planning and Scaling with ScyllaDB
21CTO
21CTO
Oct 21, 2021 · Databases

Why Is Database Capacity Planning So Hard? Simplify with ScyllaDB

This article explains why sizing a database cluster is challenging, outlines a step‑by‑step methodology for estimating workload, configuration and performance, discusses the impact of consistency levels, secondary indexes, materialized views and maintenance, and shows how ScyllaDB can be used to model and simplify capacity planning.

ConsistencyDatabase CapacityNoSQL
0 likes · 16 min read
Why Is Database Capacity Planning So Hard? Simplify with ScyllaDB
Java Architect Essentials
Java Architect Essentials
Oct 18, 2021 · Fundamentals

Fundamentals of Distributed Systems: Models, Replication, Consistency, and Protocols

This article introduces core concepts of distributed systems, including node and replica models, various consistency levels, data distribution strategies, lease and quorum mechanisms, replica control protocols such as primary‑secondary, two‑phase commit, MVCC, Paxos, and the CAP theorem, providing a comprehensive overview for architects.

CAP theoremConsensusConsistency
0 likes · 54 min read
Fundamentals of Distributed Systems: Models, Replication, Consistency, and Protocols
Top Architect
Top Architect
Sep 26, 2021 · Fundamentals

Fundamentals of Distributed Systems: Concepts, Replication, Consistency, and Protocols

This article provides a comprehensive overview of distributed system fundamentals, covering system models, node concepts, failure types, replication strategies, consistency levels, data distribution methods, replica control protocols such as primary‑secondary, two‑phase commit, lease‑based caching, quorum, MVCC, Paxos, and the CAP theorem.

ConsistencyReplicationdistributed systems
0 likes · 54 min read
Fundamentals of Distributed Systems: Concepts, Replication, Consistency, and Protocols
IT Architects Alliance
IT Architects Alliance
Sep 6, 2021 · Databases

Comprehensive Overview of Data Models, Storage Engines, Transactions, Consistency, and Replication in Modern Databases

This article provides a detailed summary of database concepts including data models (relational, document, graph), storage engine architectures (page‑oriented B‑tree, log‑structured LSM), transaction mechanisms, isolation levels, distributed transaction protocols, partitioning strategies, indexing, consistency models, and consensus algorithms such as Lamport timestamps and Raft.

ConsistencyData ModelsStorage Engines
0 likes · 29 min read
Comprehensive Overview of Data Models, Storage Engines, Transactions, Consistency, and Replication in Modern Databases
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 6, 2021 · Backend Development

Ensuring Consistency Between Redis Cache and MySQL Database: Patterns and Practical Solutions

This article explains how to maintain data consistency between Redis cache and MySQL database by describing strong, weak, and eventual consistency, three classic cache patterns (Cache‑Aside, Read‑Through/Write‑Through, Write‑Behind), and practical solutions such as delayed double deletion, retry mechanisms, and binlog‑based asynchronous eviction.

Consistencycaching-patterns
0 likes · 13 min read
Ensuring Consistency Between Redis Cache and MySQL Database: Patterns and Practical Solutions
Continuous Delivery 2.0
Continuous Delivery 2.0
Aug 6, 2021 · R&D Management

Consistency as the Essential Path to R&D Efficiency

The talk explains that achieving consistency in development processes, tool platforms, and personnel capabilities is essential for scaling software organizations without losing productivity, describing entropy, random complexity, the EPC model, and CLCT metric as practical ways to improve R&D efficiency.

ConsistencyDevOpsengineering management
0 likes · 19 min read
Consistency as the Essential Path to R&D Efficiency
Top Architect
Top Architect
Aug 3, 2021 · Fundamentals

Design and Considerations of Distributed File Systems

This article provides a comprehensive overview of distributed file systems, covering their historical evolution, essential requirements such as POSIX compliance, persistence, scalability, and security, and comparing centralized (e.g., GFS) and decentralized (e.g., Ceph) architectures along with strategies for high availability, performance optimization, and data consistency.

Consistencydistributed file systemmetadata
0 likes · 19 min read
Design and Considerations of Distributed File Systems
IT Architects Alliance
IT Architects Alliance
Jul 25, 2021 · Fundamentals

Fundamentals of Distributed Systems: Concepts, Replication, Consistency, and Core Protocols

This article provides a comprehensive overview of distributed system fundamentals, covering concepts such as nodes, replicas, consistency models, data distribution strategies, lease and quorum mechanisms, two‑phase commit, MVCC, Paxos, and the CAP theorem, while discussing their practical engineering trade‑offs and failure handling.

CAP theoremConsensus ProtocolsConsistency
0 likes · 54 min read
Fundamentals of Distributed Systems: Concepts, Replication, Consistency, and Core Protocols
Architects' Tech Alliance
Architects' Tech Alliance
Jul 18, 2021 · Fundamentals

Fundamentals of Distributed Systems: Concepts, Replication, Consistency, and Core Protocols

This article provides a comprehensive overview of distributed system fundamentals, covering system models, replicas, performance and availability metrics, data distribution strategies, replica protocols such as lease, quorum, two‑phase commit, MVCC, Paxos, and the CAP theorem, with practical engineering considerations.

CAP theoremConsistencyPaxos
0 likes · 53 min read
Fundamentals of Distributed Systems: Concepts, Replication, Consistency, and Core Protocols
Sohu Tech Products
Sohu Tech Products
Jun 30, 2021 · Fundamentals

Raft Log Replication: Format, Process, and Consistency Guarantees

This article explains the Raft consensus algorithm’s log format, the step‑by‑step log replication process, how leaders ensure consistency through forced overwrites, and details the AppendEntries RPC parameters, illustrated with diagrams and examples.

ConsistencyLog ReplicationRaft
0 likes · 11 min read
Raft Log Replication: Format, Process, and Consistency Guarantees
Ctrip Technology
Ctrip Technology
Jun 24, 2021 · Backend Development

Design and Implementation of Distributed Cache with Eventual and Strong Consistency at Ctrip Finance

This article presents Ctrip Finance's design of a unified high‑availability Redis cache service, covering both eventual‑consistency and strong‑consistency scenarios, the overall architecture, data‑accuracy, completeness and availability mechanisms, lock handling, fault‑tolerant updates, and operational recovery strategies.

ConsistencyHigh AvailabilityMySQL
0 likes · 26 min read
Design and Implementation of Distributed Cache with Eventual and Strong Consistency at Ctrip Finance
Java Interview Crash Guide
Java Interview Crash Guide
Jun 9, 2021 · Backend Development

Designing a Universal Static Data Cache for Microservice Architectures

This article examines the challenges of caching low‑frequency static data in microservice systems and proposes a comprehensive solution that combines business services, Redis, persistent queues, and consistency‑checking programs to achieve high‑performance, near‑real‑time data access while mitigating cache‑related risks.

CachingConsistencyQueue
0 likes · 13 min read
Designing a Universal Static Data Cache for Microservice Architectures
IT Architects Alliance
IT Architects Alliance
Jun 6, 2021 · Fundamentals

Design Principles and Architecture of Distributed File Systems

This article provides a comprehensive overview of distributed file systems, covering their historical evolution, essential requirements, architectural models with and without central nodes, persistence strategies, scalability, high availability, performance optimization, security mechanisms, and additional considerations such as space allocation, file deletion, small‑file handling, and deduplication.

ConsistencyHigh AvailabilitySecurity
0 likes · 21 min read
Design Principles and Architecture of Distributed File Systems
Programmer DD
Programmer DD
Jun 1, 2021 · Fundamentals

What Makes Distributed File Systems Tick? Design Principles and Architecture Explained

This article explores the core concepts, design requirements, architectural models, scalability, high availability, performance optimization, and security considerations of distributed file systems, comparing centralized and decentralized approaches while highlighting practical solutions for persistence, consistency, and fault tolerance.

Consistencydata replicationdistributed file system
0 likes · 21 min read
What Makes Distributed File Systems Tick? Design Principles and Architecture Explained
Java Backend Technology
Java Backend Technology
May 27, 2021 · Backend Development

How to Ensure Cache‑Database Consistency: Patterns and Pitfalls Explained

This article explains cache‑database consistency challenges, outlines three classic caching patterns, compares delete‑versus‑update strategies, discusses operation ordering, and presents three practical solutions—including delayed double delete, retry mechanisms, and binlog‑based asynchronous eviction—to help maintain data integrity in distributed systems.

BackendCacheConsistency
0 likes · 11 min read
How to Ensure Cache‑Database Consistency: Patterns and Pitfalls Explained
macrozheng
macrozheng
May 26, 2021 · Backend Development

How to Ensure Cache‑Database Consistency: Patterns, Pitfalls, and Solutions

This article explains the concepts of strong, weak, and eventual consistency, introduces three classic cache patterns (Cache‑Aside, Read‑Through/Write‑Through, Write‑Behind), and discusses practical strategies such as delayed double‑delete, retry mechanisms, and binlog‑based asynchronous eviction to keep Redis and MySQL data in sync.

CacheConsistencyMySQL
0 likes · 11 min read
How to Ensure Cache‑Database Consistency: Patterns, Pitfalls, and Solutions
Tencent Cloud Developer
Tencent Cloud Developer
May 12, 2021 · Databases

Evolution and Architecture of Distributed Databases: A TDSQL Case Study

The talk traces the evolution of distributed databases—from early shared‑memory and shared‑nothing designs through New‑SQL breakthroughs—to Tencent’s HTAP‑oriented TDSQL, highlighting its strong‑consistency architecture, anomaly taxonomy, and performance advantages over systems like Google Spanner while addressing modern scalability and hardware challenges.

ConsistencyDatabase ArchitectureHTAP
0 likes · 22 min read
Evolution and Architecture of Distributed Databases: A TDSQL Case Study
Big Data Technology & Architecture
Big Data Technology & Architecture
May 11, 2021 · Big Data

Data Quality: Dimensions, Rules, and Constraints

The article explains the importance of data quality in the big data era, defines key quality dimensions such as completeness, uniqueness, validity, consistency, accuracy, timeliness, and credibility, and details how each dimension can be measured and enforced through specific constraints and validation rules.

ConsistencyData Governanceaccuracy
0 likes · 9 min read
Data Quality: Dimensions, Rules, and Constraints
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 25, 2021 · Databases

Overview of Database System Design

This article provides a comprehensive overview of database system design, covering the historical evolution, classification of relational and NoSQL databases, common architectures, consistency models, indexing techniques, storage formats, compression, and practical considerations for selecting and optimizing database solutions.

ConsistencyIndexingStorage
0 likes · 45 min read
Overview of Database System Design
Top Architect
Top Architect
Apr 24, 2021 · Fundamentals

Fundamentals of Distributed Systems: Models, Replication, Consistency, and Core Protocols

This article provides a comprehensive overview of distributed system fundamentals, covering node models, replica concepts, various consistency levels, data distribution strategies, lease-based caching, quorum mechanisms, two‑phase commit, MVCC, Paxos consensus, and the CAP theorem, illustrating each with practical examples and diagrams.

CAP theoremConsensusConsistency
0 likes · 54 min read
Fundamentals of Distributed Systems: Models, Replication, Consistency, and Core Protocols
Java Interview Crash Guide
Java Interview Crash Guide
Apr 19, 2021 · Fundamentals

What You Need to Know About Distributed Systems: Theory, Consistency, Transactions & Redis

This comprehensive guide covers the core concepts of distributed systems—including CAP theory, consistency models, transaction protocols like 2PC/3PC and TCC, Redis features, persistence options, expiration strategies, memory eviction policies, distributed locking with Redis and Zookeeper, as well as an overview of Kafka's architecture and reliability mechanisms.

ConsistencyMessage QueueRedis
0 likes · 34 min read
What You Need to Know About Distributed Systems: Theory, Consistency, Transactions & Redis
Java Architect Essentials
Java Architect Essentials
Apr 6, 2021 · Backend Development

Distributed Transaction Solutions: 2PC, 3PC, XA, TCC, Saga, Local Message Table, Transactional Messages, and Seata

This article explains the importance of distributed transactions in micro‑service architectures, reviews ACID properties, compares various solutions such as 2PC/3PC, XA, local message tables, transactional messages, TCC, Saga, and introduces the Seata framework with its AT, TCC, and Saga modes, while also discussing consistency versus consensus with Paxos.

2PCConsistencySaga
0 likes · 14 min read
Distributed Transaction Solutions: 2PC, 3PC, XA, TCC, Saga, Local Message Table, Transactional Messages, and Seata
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 6, 2021 · Backend Development

Cache Consistency Strategies: TTL, Delayed Double Delete, Cache‑Aside, and Message‑Queue Approaches

This article examines cache consistency challenges in Redis-backed systems and compares several update strategies—including TTL, delayed double‑delete, cache‑aside, and message‑queue approaches—detailing their workflows, code examples, advantages, and drawbacks to guide backend developers toward reliable cache invalidation.

BackendCacheCache Aside
0 likes · 7 min read
Cache Consistency Strategies: TTL, Delayed Double Delete, Cache‑Aside, and Message‑Queue Approaches
MaGe Linux Operations
MaGe Linux Operations
Apr 5, 2021 · Backend Development

Mastering Distributed Transactions: Protocols, Patterns, and Seata Explained

This article explores the fundamentals of distributed transactions in microservice architectures, detailing ACID properties, classic protocols like 2PC/3PC and XA, modern patterns such as TCC, Saga, local message tables, transaction messages, and the Seata framework, while comparing their trade‑offs with Paxos consensus.

2PCConsistencySaga
0 likes · 16 min read
Mastering Distributed Transactions: Protocols, Patterns, and Seata Explained
21CTO
21CTO
Apr 2, 2021 · Databases

Choosing the Right Database Architecture: Principles, Schemes, and Consistency Solutions

This article outlines core database architecture principles, compares four common deployment schemes (master‑slave, dual‑master, master‑slave with read/write separation, and hybrid), and presents practical consistency solutions for both primary‑replica and DB‑cache mismatches, followed by personal evolution insights.

ConsistencyHigh AvailabilityMySQL
0 likes · 11 min read
Choosing the Right Database Architecture: Principles, Schemes, and Consistency Solutions
ITPUB
ITPUB
Apr 2, 2021 · Databases

Choosing the Right MySQL Architecture: Master‑Standby, Dual‑Master, and Consistency Strategies

This article examines core MySQL architecture principles—high availability, performance, consistency, and scalability—then compares four common deployment patterns, analyzes their trade‑offs, and presents practical consistency solutions for both master‑slave replication and cache synchronization, ending with personal insights on evolution and sharding.

ConsistencyDatabase ArchitectureHigh Availability
0 likes · 12 min read
Choosing the Right MySQL Architecture: Master‑Standby, Dual‑Master, and Consistency Strategies