Skip to content
Tagged articles

Consistency

348 articles · Page 4 of 4
Architecture Digest
Architecture Digest
Aug 13, 2018 · Backend Development

Cache Consistency, Concurrency, Penetration, Avalanche, and Bottomless Pit Issues and Mitigation Strategies

The article explains various cache problems—including consistency, concurrency, penetration, avalanche, and the bottomless‑pit phenomenon—and presents practical mitigation techniques such as active updates, locking, empty‑object caching, request filtering, consistent hashing, and multi‑level caching to ensure reliable high‑performance systems.

CacheConsistencyavalanche
0 likes · 8 min read
Cache Consistency, Concurrency, Penetration, Avalanche, and Bottomless Pit Issues and Mitigation Strategies
Java Backend Technology
Java Backend Technology
Jul 9, 2018 · Backend Development

Redis Deep Dive: Why It’s Fast, Common Pitfalls, and Best Practices

This article provides a comprehensive overview of Redis, explaining why it’s chosen for performance and concurrency, how its single‑threaded design achieves speed, the various data types and their use cases, expiration and eviction strategies, consistency challenges with databases, and solutions for cache penetration, avalanche, and key‑concurrency issues.

CachingConsistencydata-structures
0 likes · 15 min read
Redis Deep Dive: Why It’s Fast, Common Pitfalls, and Best Practices
dbaplus Community
dbaplus Community
Jun 24, 2018 · Databases

Redis Deep Dive: Why Use It, Pitfalls, and Practical Solutions

This article provides a comprehensive overview of Redis, covering its performance benefits, single‑threaded speed, data types, expiration policies, memory eviction strategies, consistency challenges with databases, and practical techniques for handling cache penetration, snowball effects, and concurrent key conflicts.

ConsistencyDistributed LockRedis
0 likes · 15 min read
Redis Deep Dive: Why Use It, Pitfalls, and Practical Solutions
dbaplus Community
dbaplus Community
May 31, 2018 · Backend Development

Mastering Cache Update Strategies: When to Delete, Update, or Delay

This article examines three common cache‑update approaches—updating the cache after the database, deleting the cache before the database write, and deleting after the database write—analyzes their drawbacks, and presents improved solutions such as delayed double‑delete, asynchronous retries, and binlog‑driven mechanisms.

BackendConsistencyasynchronous-retry
0 likes · 11 min read
Mastering Cache Update Strategies: When to Delete, Update, or Delay
Java Captain
Java Captain
May 31, 2018 · Backend Development

Cache Update Strategies: Analysis, Drawbacks, and Improvement Solutions

This article examines three common cache‑update strategies, explains their concurrency and performance drawbacks, and proposes practical improvement techniques such as delayed double‑delete, asynchronous retries, and binlog‑based messaging to maintain consistency between cache and database.

CacheConsistencystrategy
0 likes · 10 min read
Cache Update Strategies: Analysis, Drawbacks, and Improvement Solutions
ITPUB
ITPUB
May 31, 2018 · Databases

Mastering Redis: Why It’s Fast, Common Pitfalls, and How to Solve Them

This article provides a comprehensive review of Redis, covering why it’s used, its performance advantages, single‑threaded speed, data types and use cases, expiration policies, memory eviction strategies, consistency challenges, and practical solutions for cache penetration, avalanche, and concurrent key competition.

CachingConcurrencyConsistency
0 likes · 16 min read
Mastering Redis: Why It’s Fast, Common Pitfalls, and How to Solve Them
Java Backend Technology
Java Backend Technology
May 20, 2018 · Backend Development

Which Cache Update Strategy Guarantees Consistency? A Deep Dive into DB‑Cache Synchronization

This article examines three common cache‑update approaches—updating the cache after the database, deleting the cache before updating the database, and updating the database then deleting the cache—analyzes their drawbacks, and presents practical solutions such as delayed double‑delete and retry mechanisms to ensure data consistency.

BackendCacheConsistency
0 likes · 10 min read
Which Cache Update Strategy Guarantees Consistency? A Deep Dive into DB‑Cache Synchronization
Architecture Digest
Architecture Digest
May 20, 2018 · Backend Development

Understanding Distributed Transactions and the XA Two‑Phase Commit Protocol

The article explains how distributed transactions work in microservice architectures, using inventory‑order examples and a World of Warcraft raid analogy to illustrate the XA two‑phase commit protocol, its normal and failure flows, limitations, and alternative approaches such as three‑phase commit, message‑queue and TCC transactions.

ConsistencyTwo-Phase CommitXA protocol
0 likes · 7 min read
Understanding Distributed Transactions and the XA Two‑Phase Commit Protocol
MaGe Linux Operations
MaGe Linux Operations
May 1, 2018 · Fundamentals

Designing Clean Python Library APIs: A Practical Checklist

This article, based on a 2017 PyCon talk, presents a comprehensive checklist for building Python library APIs, covering simplicity, consistency, flexibility, and security with concrete examples and actionable guidelines to help developers create intuitive and reliable interfaces.

API DesignConsistencyLibrary
0 likes · 11 min read
Designing Clean Python Library APIs: A Practical Checklist
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 7, 2018 · Backend Development

Why and How to Split Monolithic Applications: A Practical Guide

This article explains why monolithic applications need to be split, outlines the preparatory steps for understanding business complexity and defining service boundaries, and provides detailed practical guidance on database vertical and horizontal splitting, global ID generation, migration, cut‑over strategies, consistency, and post‑split stability.

BackendConsistencydatabase-splitting
0 likes · 17 min read
Why and How to Split Monolithic Applications: A Practical Guide
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
Architecture Digest
Architecture Digest
Jan 16, 2018 · Fundamentals

Consistency, Consensus, and Reliability in Distributed Systems

This article explains the core challenges of achieving consistency in distributed systems, describes consensus algorithms such as Paxos and Raft, discusses theoretical limits like the FLP impossibility and CAP theorem, and shows how trade‑offs among consistency, availability, and partition tolerance shape practical system design.

BlockchainCAP theoremConsistency
0 likes · 24 min read
Consistency, Consensus, and Reliability in Distributed Systems
Architecture Digest
Architecture Digest
Nov 3, 2017 · Databases

Understanding Database Sharding: Why It Matters and How to Implement It

Database sharding, or splitting databases into multiple instances and tables, is essential for scaling backend systems; this article explains its importance, historical context, core concepts, storage stretching techniques, index and consistency handling, and provides a practical design example for transaction systems.

ConsistencyIndexingPartitioning
0 likes · 11 min read
Understanding Database Sharding: Why It Matters and How to Implement It
Qunar Tech Salon
Qunar Tech Salon
Oct 24, 2017 · Databases

Design and Implementation of Pegasus: Xiaomi’s Distributed Key‑Value Store

This article explains why Xiaomi built Pegasus to replace HBase, describes its architecture—including MetaServer, ReplicaServer, partitioning, multi‑replica design and the PacificA consensus algorithm—covers implementation challenges such as load balancing, consistency, latency, testing, and outlines current status and future plans.

C++ConsistencyPEGASUS
0 likes · 23 min read
Design and Implementation of Pegasus: Xiaomi’s Distributed Key‑Value Store
Architecture Digest
Architecture Digest
Sep 29, 2017 · Databases

Ensuring Consistency in Distributed Systems: From Local Transactions to Two‑Phase Commit and Compensation Mechanisms

This article examines various consistency solutions for distributed systems, including strong and eventual consistency, local database transactions, two‑phase commit, TCC, rollback mechanisms, local message tables, and compensation techniques, illustrating their trade‑offs and appropriate application scenarios.

ConsistencyTransactionsTwo-Phase Commit
0 likes · 13 min read
Ensuring Consistency in Distributed Systems: From Local Transactions to Two‑Phase Commit and Compensation Mechanisms
Qunar Tech Salon
Qunar Tech Salon
Jul 26, 2017 · Databases

Understanding Distributed System Consistency, CAP, ACID, and Transaction Protocols (2PC & 3PC)

This article explains the challenges of consistency in distributed systems, introduces the CAP theorem and ACID properties, describes common distributed transaction techniques such as local message tables, transactional message middleware like RocketMQ, and details the two‑phase and three‑phase commit protocols with their advantages and drawbacks.

2PC3PCACID
0 likes · 16 min read
Understanding Distributed System Consistency, CAP, ACID, and Transaction Protocols (2PC & 3PC)
Architecture Digest
Architecture Digest
Jul 25, 2017 · Fundamentals

Understanding Distributed System Consistency: CAP Theorem, ACID, Distributed Transactions, and 2PC/3PC Protocols

This article explains the core concepts of distributed system consistency—including the CAP theorem, ACID properties, various distributed transaction techniques, and the two‑phase and three‑phase commit protocols—while illustrating practical implementations with message queues and local message tables.

2PC3PCCAP theorem
0 likes · 13 min read
Understanding Distributed System Consistency: CAP Theorem, ACID, Distributed Transactions, and 2PC/3PC Protocols
Architecture Digest
Architecture Digest
Jul 6, 2017 · Fundamentals

PacificA: Microsoft’s General Replication Framework for Large‑Scale Distributed Storage Systems

PacificA is Microsoft’s generic replication framework for large‑scale distributed storage systems that provides strong consistency, separates configuration management from data replication, and uses a primary‑secondary model with lease‑based fault detection to ensure availability, correctness, and efficient operation across heterogeneous nodes.

ConsistencyPacificAReplication
0 likes · 14 min read
PacificA: Microsoft’s General Replication Framework for Large‑Scale Distributed Storage Systems
Efficient Ops
Efficient Ops
Apr 6, 2017 · Fundamentals

Mastering Distributed Consistency: Real‑World Patterns and Protocols

This article examines the challenges of consistency in large‑scale distributed service systems, presents real‑world case studies such as payment transfers and order processing, and outlines practical patterns—including ACID/BASE theory, two‑phase and three‑phase commit, TCC, query, compensation, periodic reconciliation, and reliable messaging—to help engineers design robust, eventually consistent architectures.

ACIDBASECAP theorem
0 likes · 39 min read
Mastering Distributed Consistency: Real‑World Patterns and Protocols
Architecture Digest
Architecture Digest
Apr 6, 2017 · Fundamentals

Distributed Service System Consistency: Best Practices and Patterns

This article examines the challenges of achieving consistency in large‑scale distributed service systems, outlines common inconsistency scenarios such as split‑brain and lost updates, and presents practical patterns—including ACID/BASE trade‑offs, two‑phase and three‑phase commit, TCC, query, compensation, and reliable messaging—to guide engineers in designing robust, eventually consistent architectures.

ACIDBASEConsistency
0 likes · 35 min read
Distributed Service System Consistency: Best Practices and Patterns
dbaplus Community
dbaplus Community
Mar 9, 2017 · Databases

Why Redis Redlock May Not Be Safe: A Deep Dive into the Redlock Debate

An in‑depth review of the heated debate between Redis creator antirez and distributed‑systems expert Martin Kleppmann over the safety of Redis’s Redlock algorithm, covering single‑node lock pitfalls, failover issues, timing assumptions, fencing tokens, and practical recommendations for when to use Redlock versus simpler locks.

ConsistencyDistributed LockFailover
0 likes · 25 min read
Why Redis Redlock May Not Be Safe: A Deep Dive into the Redlock Debate
WeChat Backend Team
WeChat Backend Team
Oct 26, 2016 · Fundamentals

Why Fixed Membership Is Crucial for Paxos and How to Handle Dynamic Changes

The article explains that Paxos relies on a fixed set of voters (the majority) for consistency, shows why configuration‑driven member changes break the protocol, and introduces a simple dynamic membership algorithm that uses delayed activation windows to achieve atomic member updates without violating Paxos guarantees.

AlgorithmConsistencyDistributed Consensus
0 likes · 8 min read
Why Fixed Membership Is Crucial for Paxos and How to Handle Dynamic Changes
WeChat Backend Team
WeChat Backend Team
Oct 25, 2016 · Backend Development

Reinventing WeChat’s Distributed Storage with Paxos: Inside the Memory Cloud Upgrade

This article details how WeChat transformed its massive memory‑cloud storage by replacing the QuorumKV NWR protocol with a non‑lease Paxos design, optimizing PaxosLog, adopting DirectIO on HDDs, and implementing operational safeguards, resulting in dramatically lower latency, higher availability, and reduced failure rates.

ConsistencyPaxosWeChat
0 likes · 15 min read
Reinventing WeChat’s Distributed Storage with Paxos: Inside the Memory Cloud Upgrade
WeChat Backend Team
WeChat Backend Team
Sep 8, 2016 · Databases

Why PhxSQL Rejects Multi-Write, Sharding, and Serializability: Design Trade‑offs

This article explains how PhxSQL prioritizes strong linearizable consistency, high availability, serializable isolation, and full MySQL compatibility, and why it deliberately forgoes features such as multi‑write, sharding, and strict serializable isolation due to the high cost of distributed transactions and protocol complexity.

ConsistencyMySQL CompatibilityPhxSQL
0 likes · 17 min read
Why PhxSQL Rejects Multi-Write, Sharding, and Serializability: Design Trade‑offs
dbaplus Community
dbaplus Community
Aug 1, 2016 · Databases

How Facebook Scaled Its Data Storage with NoSQL: Cassandra, HBase, and Beyond

This article traces Facebook's evolution from a small social site to a global platform, explains how its massive data‑storage challenges led to the adoption of NoSQL solutions like Cassandra and HBase, and breaks down the core patterns, consistency models, and scaling techniques that power such large‑scale systems.

CassandraConsistencyFacebook
0 likes · 15 min read
How Facebook Scaled Its Data Storage with NoSQL: Cassandra, HBase, and Beyond
Qunar Tech Salon
Qunar Tech Salon
Jul 7, 2016 · Backend Development

Design and Practices of Qunar's Self‑Developed High‑Availability Message Middleware

This article shares Qunar's architecture and practical experience in designing a self‑developed high‑availability message middleware, covering its role in transaction processing, consistency guarantees, fault‑tolerance mechanisms, isolation, monitoring, and consumer design, and discusses trade‑offs and operational considerations.

Consistencyfault tolerance
0 likes · 16 min read
Design and Practices of Qunar's Self‑Developed High‑Availability Message Middleware
Tencent Music Tech Team
Tencent Music Tech Team
Jun 17, 2016 · Backend Development

Design Considerations for a High‑Scale Messaging System: Capacity Estimation, Consistency Guarantees, and Avalanche Prevention

Designing Quanmin K‑Song’s high‑scale messaging system requires careful capacity estimation of throughput, storage and network traffic, robust consistency via unique transaction IDs and operation logs, and avalanche prevention through selective retries, scaling and priority‑based throttling to maintain reliability under load.

Consistencyavalanche preventionbackend design
0 likes · 7 min read
Design Considerations for a High‑Scale Messaging System: Capacity Estimation, Consistency Guarantees, and Avalanche Prevention
Baidu Maps Tech Team
Baidu Maps Tech Team
May 11, 2016 · Backend Development

Mastering Cache Strategies: When to Use LRU, LFU, and Consistency Techniques

This article explains why caching is essential for high‑performance data retrieval, compares LRU and LFU eviction policies, presents three Redis‑based cache implementations, and discusses consistency challenges and solutions such as eviction ordering, consistent hashing, and delayed eviction in distributed systems.

CachingConsistencyLFU
0 likes · 10 min read
Mastering Cache Strategies: When to Use LRU, LFU, and Consistency Techniques
Qunar Tech Salon
Qunar Tech Salon
Mar 11, 2016 · Fundamentals

Key Concepts in Distributed Systems: Middleware, RPC, Mobile Agents, Consistency, Transactions, and Coordination Algorithms

This article reviews essential distributed‑system concepts, including middleware roles, RPC communication steps, mobile‑agent characteristics, naming services, Petri‑net modeling, logical and vector clocks, consistency models, code migration, two‑phase and three‑phase commit protocols, and election and mutual‑exclusion algorithms.

Consistencyelection algorithmstransaction protocols
0 likes · 21 min read
Key Concepts in Distributed Systems: Middleware, RPC, Mobile Agents, Consistency, Transactions, and Coordination Algorithms
21CTO
21CTO
Jan 10, 2016 · Backend Development

Designing a Scalable High‑Concurrency Distributed Backend for Millions of PV Sites

This article outlines a comprehensive design for a high‑concurrency distributed backend system that handles tens of millions of page views, detailing group‑based data partitioning, master‑slave roles, consistency models, heartbeat services, and global coordination to achieve scalability and fault tolerance.

Consistencybackend architecturehigh concurrency
0 likes · 19 min read
Designing a Scalable High‑Concurrency Distributed Backend for Millions of PV Sites
Architect
Architect
Dec 18, 2015 · Fundamentals

Understanding Distributed Consistency: Importance, Models, and Challenges

The article explains why consistency is essential in distributed systems, describes the CAP theorem, outlines various consistency models such as strong, weak, and eventual consistency, and discusses the trade‑offs between data correctness and system performance.

CAP theoremConsistencyconsistency models
0 likes · 9 min read
Understanding Distributed Consistency: Importance, Models, and Challenges
21CTO
21CTO
Dec 11, 2015 · Databases

How Amazon Dynamo Ensures High Availability with Consistent Hashing

The article explains Amazon’s Dynamo distributed key‑value store architecture, covering its decentralized design, consistent hashing with virtual nodes, replication strategies, quorum‑based read/write parameters, vector‑clock versioning, failure detection, hinted handoff, scaling mechanisms, and how these techniques together provide high availability, scalability, and reliability.

ConsistencyReplicationkey-value store
0 likes · 19 min read
How Amazon Dynamo Ensures High Availability with Consistent Hashing
Architects' Tech Alliance
Architects' Tech Alliance
Nov 25, 2015 · Cloud Computing

Overview of FusionStorage Distributed Block Storage Architecture and Features

FusionStorage is a distributed block storage solution for x86 servers that separates compute and storage, uses DHT‑based key‑value architecture, provides strong consistency and read‑repair mechanisms, and supports various cache media and advanced storage functions such as thin provisioning and synchronous replication.

ConsistencyDHTFusionStorage
0 likes · 6 min read
Overview of FusionStorage Distributed Block Storage Architecture and Features
21CTO
21CTO
Nov 5, 2015 · Backend Development

How CAS Prevents Data Inconsistency in High‑Concurrency Transactions

This article explains why concurrent read‑write operations on a shared balance can cause inconsistencies, illustrates the problem with a purchase‑balance example, and shows how a Compare‑And‑Set (CAS) update clause guarantees atomicity and preserves data integrity.

BackendCASConcurrency
0 likes · 7 min read
How CAS Prevents Data Inconsistency in High‑Concurrency Transactions
Architect
Architect
Aug 26, 2015 · Backend Development

Design Considerations for Master/Slave Distributed Cache with Proxy and CAS

The article analyzes the use of a master/slave architecture for distributed caching, explains why two clusters, CAS, and proxy are employed, discusses consistency and availability challenges, and evaluates possible mitigation strategies for cache failures.

CASConsistencyHigh Availability
0 likes · 7 min read
Design Considerations for Master/Slave Distributed Cache with Proxy and CAS
21CTO
21CTO
Aug 24, 2015 · Databases

Mastering Distributed Consistency: Strategies Behind NoSQL Replication

This article systematically explores the distributed characteristics of NoSQL databases, covering consistency trade‑offs, replication techniques, anti‑entropy protocols, data placement strategies, failure detection, and coordinator election, while illustrating each concept with diagrams and practical examples.

Anti-entropyConsistencyNoSQL
0 likes · 32 min read
Mastering Distributed Consistency: Strategies Behind NoSQL Replication

Challenges and Strategies for Metadata Protection in Cloud Object Storage

This article examines the problems and trade‑offs of metadata protection in cloud object storage, highlighting the importance of reliability, availability, and consistency, and comparing primary‑secondary and multi‑replica models, including the WRN algorithm and practical operational considerations.

ConsistencyObject StorageOperations
0 likes · 28 min read
Challenges and Strategies for Metadata Protection in Cloud Object Storage
Suning Design
Suning Design
Apr 29, 2014 · Product Management

Mastering UI/UX: How Priority, Consistency, and Feel Shape User Experience

The article explores three core design semi‑principles—priority, consistency, and feel—explaining how they guide designers and product managers to allocate interface resources, maintain predictability, and create positive user emotions that can determine product success.

ConsistencyUI/UXdesign-principles
0 likes · 10 min read
Mastering UI/UX: How Priority, Consistency, and Feel Shape User Experience
Suning Design
Suning Design
Apr 4, 2014 · Product Management

Mastering UI Design: Why Priority, Consistency, and Feeling Matter

This article explores three essential UI design principles—priority, consistency, and feeling—explaining how they guide user decisions, reduce cognitive load, and create a satisfying experience, while offering practical tips for product designers and managers.

ConsistencyUI designUser Experience
0 likes · 11 min read
Mastering UI Design: Why Priority, Consistency, and Feeling Matter