Tagged articles
313 articles
Page 3 of 4
Programmer DD
Programmer DD
Jul 28, 2020 · Databases

Designing Scalable Like/Comment Systems: MySQL vs Redis Strategies

This article explores the requirements and database design patterns for implementing likes, comments, and favorites in apps, comparing traditional MySQL schemas with Redis‑based storage and caching solutions, and discusses their trade‑offs, scalability, and data consistency considerations.

ConsistencyDatabase designlikes
0 likes · 8 min read
Designing Scalable Like/Comment Systems: MySQL vs Redis Strategies
Top Architect
Top Architect
Jul 25, 2020 · Fundamentals

ZooKeeper Overview: Architecture, Data Model, Sessions, Watches, Consistency Guarantees, Leader Election and Zab Protocol

This article provides a comprehensive introduction to ZooKeeper, covering its purpose, design goals, hierarchical data model, znode types, client sessions, watch mechanism, consistency guarantees, leader election process, leader and follower workflows, and the Zab atomic broadcast protocol.

ConsistencyDistributed CoordinationZAB Protocol
0 likes · 17 min read
ZooKeeper Overview: Architecture, Data Model, Sessions, Watches, Consistency Guarantees, Leader Election and Zab Protocol
IT Architects Alliance
IT Architects Alliance
Jul 25, 2020 · Fundamentals

What Makes Distributed File Systems Tick? Design Principles and Trade‑offs

This article examines the core concepts, architectural models, scalability, persistence, high availability, performance optimization, and security considerations of distributed file systems, comparing centralized and decentralized designs such as GFS and Ceph to guide future system design decisions.

ConsistencyDistributed File SystemPerformance Optimization
0 likes · 21 min read
What Makes Distributed File Systems Tick? Design Principles and Trade‑offs
Architects' Tech Alliance
Architects' Tech Alliance
Jul 15, 2020 · Fundamentals

Design Considerations and Architecture 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 compares centralized (e.g., GFS) and decentralized (e.g., Ceph) architectures, along with strategies for high availability, performance optimization, and handling small files.

ConsistencyDistributed File SystemPerformance Optimization
0 likes · 21 min read
Design Considerations and Architecture of Distributed File Systems
Java Backend Technology
Java Backend Technology
Jul 9, 2020 · Backend Development

How to Solve Distributed Cache Consistency Issues with Lazy Updates

This article explains the Cache Aside pattern, why deleting stale cache entries is often better than updating them, and presents a queue‑based lazy‑update solution that handles simple and complex consistency problems in high‑concurrency environments while outlining practical performance considerations.

BackendCacheConsistency
0 likes · 11 min read
How to Solve Distributed Cache Consistency Issues with Lazy Updates
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 18, 2020 · Big Data

Kafka Interview Questions: High Availability, Reliability, Consistency, Performance, and Usage Rationale

This article explains common Kafka interview questions by analyzing the system's high‑availability design, reliability mechanisms, consistency model, performance tricks such as sequential writes and zero‑copy, and the reasons for using Kafka and message queues, providing both conceptual insight and practical details.

ConsistencyDistributed SystemsKafka
0 likes · 12 min read
Kafka Interview Questions: High Availability, Reliability, Consistency, Performance, and Usage Rationale
Architect
Architect
Jun 7, 2020 · Fundamentals

Understanding Consistency Models and Distributed Consensus Protocols

This article explains the fundamentals of distributed consistency, covering weak and strong consistency, the CAP theorem, ACID and BASE models, and detailed overviews of 2PC, 3PC, Paxos, Raft, Gossip, NWR, Quorum, and Lease mechanisms, highlighting their trade‑offs and practical use cases.

2PCCAP theoremConsistency
0 likes · 16 min read
Understanding Consistency Models and Distributed Consensus Protocols
Architecture Digest
Architecture Digest
May 30, 2020 · Fundamentals

A Comprehensive Guide to Learning Distributed Systems

This article provides a thorough overview of distributed systems, explaining their definition, when to adopt them, core concepts like partition and replication, common challenges, essential properties, typical architectural components, and practical implementations to help readers build a solid learning roadmap.

ConsistencyPartitionScalability
0 likes · 15 min read
A Comprehensive Guide to Learning Distributed Systems
Tencent Cloud Middleware
Tencent Cloud Middleware
May 22, 2020 · Cloud Native

When to Use Client vs Server Service Discovery? A Deep Technical Dive

This article examines service discovery patterns, comparing client‑side and server‑side approaches, explores consistency trade‑offs, health‑check mechanisms, subscription models, graceful up/down procedures, and high‑availability designs to help engineers choose the right solution for microservice architectures.

ConsistencyMicroservicescloud-native
0 likes · 15 min read
When to Use Client vs Server Service Discovery? A Deep Technical Dive
Aikesheng Open Source Community
Aikesheng Open Source Community
May 18, 2020 · Databases

Understanding MySQL Group Replication Consistency Levels (group_replication_consistency)

This article explains the MySQL group_replication_consistency parameter, describes its five possible values, demonstrates the three most common consistency modes (EVENTUAL, BEFORE, AFTER) with practical multi‑node examples, and discusses their advantages, drawbacks, and impact on query latency and data integrity.

ConsistencyGroup ReplicationReplication
0 likes · 13 min read
Understanding MySQL Group Replication Consistency Levels (group_replication_consistency)
Architecture Digest
Architecture Digest
May 2, 2020 · Databases

Designing High‑Performance Flash‑Sale (秒杀) Systems with MySQL: Balancing Consistency and Performance

This article explains how to build a MySQL‑based flash‑sale system that guarantees high performance and strong consistency, discusses common pitfalls such as overselling and duplicate purchases, and presents progressive solutions from simple unique indexes to transaction‑based locking and performance‑oriented designs that may sacrifice consistency when necessary.

Consistencyflash salemysql
0 likes · 11 min read
Designing High‑Performance Flash‑Sale (秒杀) Systems with MySQL: Balancing Consistency and Performance
ITPUB
ITPUB
Apr 24, 2020 · Databases

Designing a High‑Performance, Consistent Flash‑Sale System with MySQL

This article explains how to design a high‑performance, strongly consistent flash‑sale (秒杀) system using MySQL InnoDB, covering table schema, unique indexes, transaction handling, row‑level locking, and trade‑offs between consistency and performance, with concrete SQL examples and flow diagrams.

ConsistencyDatabase designflash sale
0 likes · 11 min read
Designing a High‑Performance, Consistent Flash‑Sale System with MySQL
Big Data Technology & Architecture
Big Data Technology & Architecture
Apr 13, 2020 · Fundamentals

Understanding Replication, Consistency, Fault Tolerance, and the CAP Theorem in Distributed Systems

This article explains the core concepts of replication, consistency, and fault tolerance in distributed systems, discusses strong and asynchronous replication methods, and details the CAP theorem with its consistency, availability, and partition tolerance trade‑offs, illustrating AP and CP scenarios such as Eureka and Zookeeper clusters.

CAP theoremConsistencyfault tolerance
0 likes · 7 min read
Understanding Replication, Consistency, Fault Tolerance, and the CAP Theorem in Distributed Systems
Programmer DD
Programmer DD
Mar 17, 2020 · Backend Development

How to Keep Cache and Database Consistent Under High Concurrency?

This article explains the cache‑aside pattern, why deleting stale cache entries is preferred over updating them, outlines basic and complex cache‑database inconsistency scenarios, and presents a queue‑based solution with practical considerations for read‑blocking, request routing, and hotspot handling in high‑traffic systems.

CacheConsistencyhigh concurrency
0 likes · 11 min read
How to Keep Cache and Database Consistent Under High Concurrency?
Architects' Tech Alliance
Architects' Tech Alliance
Mar 6, 2020 · 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 a central node, persistence strategies, scalability, high availability, performance optimizations, security mechanisms, and practical considerations for small‑file workloads.

ConsistencyDistributed File SystemPerformance Optimization
0 likes · 20 min read
Design Principles and Architecture of Distributed File Systems
Architects' Tech Alliance
Architects' Tech Alliance
Feb 16, 2020 · 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 such as POSIX compliance, persistence, scalability and security, architectural models with and without a central node, replication strategies, load balancing, high availability, performance optimizations, and practical considerations for small‑file handling.

ConsistencyDistributed File SystemScalability
0 likes · 20 min read
Design Principles and Architecture of Distributed File Systems
Big Data Technology Architecture
Big Data Technology Architecture
Feb 11, 2020 · Databases

JDHBase Multi‑Active Architecture and Asynchronous Replication Practices

This article describes JDHBase’s large‑scale KV storage architecture, its HBase‑based asynchronous replication mechanism, multi‑active cluster design, client‑side routing via Fox Manager, automatic failover strategies, dynamic replication tuning, and serial replication techniques to ensure data consistency across geographically distributed data centers.

ConsistencyDynamic TuningHBase Replication
0 likes · 12 min read
JDHBase Multi‑Active Architecture and Asynchronous Replication Practices
Architects' Tech Alliance
Architects' Tech Alliance
Feb 10, 2020 · Fundamentals

Mastering Distributed System Fundamentals: Models, Replication, Consistency, and Protocols

This article provides a comprehensive overview of distributed system fundamentals, covering node modeling, replica concepts, consistency levels, data distribution strategies, centralized and decentralized replica protocols, lease mechanisms, quorum, two‑phase commit, MVCC, Paxos, and the CAP theorem, while analyzing their trade‑offs in availability, consistency, and partition tolerance.

ConsistencyDistributed SystemsReplication
0 likes · 55 min read
Mastering Distributed System Fundamentals: Models, Replication, Consistency, and Protocols
Java Architect Essentials
Java Architect Essentials
Dec 15, 2019 · Backend Development

Designing Ultra‑High‑Performance Flash‑Sale Systems: Architecture, Consistency, and Availability

This article analyzes the core challenges of building flash‑sale (秒杀) systems—high concurrency reads and writes, strict consistency, and ultra‑high availability—and presents a layered architectural approach covering dynamic/static separation, hotspot optimization, database tuning, and comprehensive high‑availability strategies.

Backend ArchitectureConsistencyOperations
0 likes · 28 min read
Designing Ultra‑High‑Performance Flash‑Sale Systems: Architecture, Consistency, and Availability
Architects' Tech Alliance
Architects' Tech Alliance
Dec 13, 2019 · Fundamentals

An Overview of Snapshot Technology and Its Applications

This article provides a comprehensive overview of snapshot technology, explaining its definition, the backup challenges it addresses, the creation process, various implementations across file systems, LVM, NAS, disk arrays, virtualization, databases, and different snapshot types such as COW, ROW, incremental and continuous data protection, as well as consistency issues and solutions.

ConsistencyLVMNAS
0 likes · 19 min read
An Overview of Snapshot Technology and Its Applications
21CTO
21CTO
Dec 7, 2019 · Backend Development

Master Flash Sale Systems: Boost Performance, Ensure Consistency & High Availability

This article explains how to design a flash‑sale (秒杀) system that handles massive concurrent requests by applying dynamic‑static separation, hotspot optimization, database tuning, and traffic‑shaping techniques to achieve high performance, strong consistency, and robust high‑availability.

BackendConsistencySystem Design
0 likes · 26 min read
Master Flash Sale Systems: Boost Performance, Ensure Consistency & High Availability
Java High-Performance Architecture
Java High-Performance Architecture
Nov 29, 2019 · Databases

Why Redis Cluster Can Lose Data and How to Mitigate It

Redis Cluster does not guarantee strong consistency, and in scenarios like asynchronous replication or network partitions data can be lost even after client acknowledgment; using the WAIT command, configuring node timeout, and understanding master‑slave election can reduce but not fully eliminate these risks.

ClusterConsistencyData loss
0 likes · 5 min read
Why Redis Cluster Can Lose Data and How to Mitigate It
Efficient Ops
Efficient Ops
Nov 26, 2019 · Backend Development

How to Build a High‑Performance, Consistent, and Highly Available Flash‑Sale System

This article explores the architectural design of a flash‑sale (秒杀) system, covering high‑performance techniques, consistency guarantees, high‑availability strategies, hotspot optimization, and practical implementation details such as static‑dynamic separation, caching, data integration, and database tuning.

BackendConsistencySystem Design
0 likes · 33 min read
How to Build a High‑Performance, Consistent, and Highly Available Flash‑Sale System
ITPUB
ITPUB
Nov 25, 2019 · Databases

Which Database Architecture Best Balances Availability, Performance, and Consistency?

This article examines four common database architecture patterns—primary‑standby, dual‑primary, master‑slave read/write separation, and a hybrid dual‑primary + master‑slave—evaluating each against high availability, performance, consistency, and scalability, and then presents practical consistency‑resolution techniques and cache strategies.

CacheConsistencyDatabase Architecture
0 likes · 10 min read
Which Database Architecture Best Balances Availability, Performance, and Consistency?
Architecture Digest
Architecture Digest
Nov 20, 2019 · Backend Development

Design Principles and Optimization Strategies for High‑Concurrency Flash‑Sale (Seckill) Systems

This article examines the architectural design of flash‑sale (seckill) systems, covering high performance through dynamic‑static separation, hotspot optimization, consistency handling for inventory deduction, and high‑availability techniques such as traffic shaping, queuing, and fallback plans.

ConsistencySeckillarchitecture
0 likes · 30 min read
Design Principles and Optimization Strategies for High‑Concurrency Flash‑Sale (Seckill) Systems
dbaplus Community
dbaplus Community
Nov 17, 2019 · Databases

How Hybrid Logical Clocks Power Distributed Transactions

This article explains why distributed databases need precise clocks, compares central, logical, and hybrid clock designs, and shows how hybrid logical clocks (HLC) together with two‑phase commit and other transaction techniques enable consistent, high‑throughput distributed transactions.

ConsistencyDistributed Systemsclocks
0 likes · 18 min read
How Hybrid Logical Clocks Power Distributed Transactions
Alibaba Cloud Native
Alibaba Cloud Native
Oct 16, 2019 · Cloud Native

Master the Distributed Systems Knowledge Map: From SOA to MSA and Beyond

This comprehensive guide walks you through the fundamentals, design patterns, consistency models, core components, and engineering practices of modern distributed systems, helping you understand micro‑service architecture, network protocols, data management, fault tolerance, and performance optimization in cloud‑native environments.

Cloud NativeConsistencyMicroservices
0 likes · 32 min read
Master the Distributed Systems Knowledge Map: From SOA to MSA and Beyond
JD Retail Technology
JD Retail Technology
Sep 20, 2019 · Databases

Follower Reads, Closed Timestamp, and Minimum Proposal Tracker in CB‑SQL

This article explains how CB‑SQL implements follower reads by using safe (closed) timestamps, describes the CT update mechanism with a Minimum Proposal Tracker, and discusses routing, replica read validation, timestamp forwarding, range split/merge handling, and recovery strategies for consistent distributed reads.

CB-SQLCDCClosed Timestamp
0 likes · 15 min read
Follower Reads, Closed Timestamp, and Minimum Proposal Tracker in CB‑SQL
MaGe Linux Operations
MaGe Linux Operations
Sep 17, 2019 · Fundamentals

Essential Checklist for Designing Clean Python Library APIs

This article distills the key recommendations from the 2017 PyCon talk “How to make a good library API”, offering a concise checklist that covers simplicity, consistency, flexibility, and security to help Python developers create intuitive, maintainable, and robust library interfaces.

ConsistencyLibrary DevelopmentPython
0 likes · 11 min read
Essential Checklist for Designing Clean Python Library APIs
Programmer DD
Programmer DD
Aug 24, 2019 · Backend Development

How to Solve Cache‑Database Consistency Issues in High‑Concurrency Systems

This article examines common cache‑database consistency problems, explains why naive double‑write approaches fail, introduces the Cache‑Aside pattern, and proposes a queue‑based serialization solution with lazy cache updates to maintain data integrity under high‑traffic, concurrent read‑write workloads.

BackendCacheConsistency
0 likes · 12 min read
How to Solve Cache‑Database Consistency Issues in High‑Concurrency Systems
Architects' Tech Alliance
Architects' Tech Alliance
Aug 7, 2019 · Operations

How Snapshot Technology Solves Modern Backup Challenges

Snapshot technology creates point‑in‑time copies of files, directories or volumes, addressing common backup issues such as large data volumes, write‑in‑progress files, performance impact, and consistency, while offering various implementations—from file‑system and LVM to NAS, hypervisors, and databases—each with distinct advantages and trade‑offs.

BackupConsistencyData Protection
0 likes · 20 min read
How Snapshot Technology Solves Modern Backup Challenges
Architecture Digest
Architecture Digest
Jul 22, 2019 · Fundamentals

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

This article provides a comprehensive overview of distributed‑system fundamentals, covering node concepts, failure types, replication models, consistency levels, performance and availability metrics, data‑distribution strategies, replica control protocols, lease mechanisms, quorum, two‑phase commit, MVCC, Paxos, and the CAP theorem.

CAP theoremConsensusConsistency
0 likes · 54 min read
Fundamentals of Distributed Systems: Nodes, Replication, Consistency, and Core Protocols
ITPUB
ITPUB
Jul 12, 2019 · Databases

Choosing the Right Database Architecture: Master‑Slave, Dual‑Master, and Beyond

This article outlines core database architecture principles—high availability, performance, consistency, and scalability—then compares four common setups (primary‑backup, dual‑master, primary‑replica, and hybrid), analyzes their trade‑offs, and presents practical consistency and cache‑sync solutions along with personal insights.

ConsistencyDatabase ArchitectureRead-Write Separation
0 likes · 11 min read
Choosing the Right Database Architecture: Master‑Slave, Dual‑Master, and Beyond
Architects' Tech Alliance
Architects' Tech Alliance
Jul 8, 2019 · Databases

Guidelines for Selecting In-Memory Databases and Corresponding Hardware

This article compares ten typical in‑memory databases, discusses their technical characteristics such as performance, ACID support and SQL compatibility, and provides comprehensive technical and non‑technical criteria as well as hardware recommendations for choosing the most suitable in‑memory database solution.

ConsistencySQL Compatibilitydatabase selection
0 likes · 7 min read
Guidelines for Selecting In-Memory Databases and Corresponding Hardware
Architecture Digest
Architecture Digest
Jun 12, 2019 · Fundamentals

Comprehensive Guide to Distributed System Theory – Curated Article Collection

This resource compiles a complete series of articles on distributed system theory covering consistency, consensus, high availability, scalability, performance, testing, and operations, offering both quick overviews for newcomers and in‑depth readings for practitioners seeking to master modern distributed architectures.

ConsistencyScalabilityarchitecture
0 likes · 8 min read
Comprehensive Guide to Distributed System Theory – Curated Article Collection
21CTO
21CTO
Apr 24, 2019 · Databases

Which DB Architecture Wins? High Availability, Performance & Consistency Explained

This article examines core database architecture principles—high availability, performance, consistency, and scalability—and compares four common deployment patterns (primary‑standby, dual‑primary, primary‑replica with read/write separation, and a hybrid dual‑primary/replica design), followed by detailed consistency solutions and practical insights for real‑world implementation.

ConsistencyDatabase ArchitectureRead-Write Separation
0 likes · 11 min read
Which DB Architecture Wins? High Availability, Performance & Consistency Explained
Architecture Digest
Architecture Digest
Apr 23, 2019 · Databases

Database Architecture Principles, Common Schemes, and Consistency Solutions

This article outlines core database architecture principles—high availability, performance, consistency, and scalability—examines four typical deployment schemes with their trade‑offs, and presents multiple consistency‑preserving strategies for both primary/replica and DB‑cache interactions.

Consistencyhigh availabilitysharding
0 likes · 10 min read
Database Architecture Principles, Common Schemes, and Consistency Solutions
High Availability Architecture
High Availability Architecture
Apr 19, 2019 · Cloud Native

In‑Depth Comparison and Design Principles of Microservice Service Registries

This article provides a comprehensive analysis of mainstream microservice service‑registry products—including Nacos, Eureka, ZooKeeper, and Consul—covering their data models, consistency protocols, load‑balancing strategies, health‑check mechanisms, performance, scalability, usability, and extensibility to guide practitioners in selecting and designing registration centers.

ConsistencyMicroservicesNacos
0 likes · 26 min read
In‑Depth Comparison and Design Principles of Microservice Service Registries
Architect's Tech Stack
Architect's Tech Stack
Feb 26, 2019 · Databases

Database Architecture: Primary‑Backup, Master‑Slave, Read‑Write Splitting, and Consistency Solutions

This article explains fundamental database architecture principles, compares four common deployment patterns—including primary‑backup, dual‑primary, master‑slave with read‑write separation, and a hybrid dual‑primary/master‑slave design—analyzes their high‑availability, performance, consistency, and scalability characteristics, and presents practical consistency‑resolution techniques and personal insights.

ConsistencyDatabase Architecturecaching
0 likes · 10 min read
Database Architecture: Primary‑Backup, Master‑Slave, Read‑Write Splitting, and Consistency Solutions
Java Captain
Java Captain
Feb 22, 2019 · Fundamentals

Comprehensive Overview of Distributed Systems and Microservice Architecture

This article provides a thorough introduction to distributed systems, covering fundamental theories such as nodes, networks, time, ordering, consistency models (CAP, ACID, BASE), design patterns, scenario classifications, engineering practices, and the full technology stack needed to build and operate microservice‑based distributed applications.

ConsistencyMicroservicesScalability
0 likes · 37 min read
Comprehensive Overview of Distributed Systems and Microservice Architecture
Youzan Coder
Youzan Coder
Jan 23, 2019 · Fundamentals

Consistency, CAP Theorem, and Distributed Consensus Protocols (2PC, 3PC, Paxos, Raft, Zookeeper)

The article explains how the CAP theorem forces trade‑offs between consistency, availability and partition tolerance, then surveys distributed commit protocols (2PC, 3PC) and consensus algorithms (Paxos, Raft, Zookeeper’s ZAB), and shows their practical use in systems such as ZanKV that combine Raft with RocksDB for strongly consistent, fault‑tolerant key‑value storage.

2PCCAP theoremConsistency
0 likes · 28 min read
Consistency, CAP Theorem, and Distributed Consensus Protocols (2PC, 3PC, Paxos, Raft, Zookeeper)
UC Tech Team
UC Tech Team
Jan 3, 2019 · Frontend Development

The Elements of UI Engineering – Core Challenges and Trade‑offs

The article explores the fundamental problems of UI engineering—consistency, responsiveness, latency, navigation, caching, accessibility, internationalisation, transport, resilience, abstraction, and prioritisation—encouraging developers to solve them by building small, library‑free prototypes to deepen their understanding of trade‑offs.

ConsistencyState Managementaccessibility
0 likes · 13 min read
The Elements of UI Engineering – Core Challenges and Trade‑offs
Qunar Tech Salon
Qunar Tech Salon
Dec 8, 2018 · Backend Development

Design and Implementation of QMQ: Qunar.com’s Internal Message Queue

This article examines Qunar.com’s internally developed message queue (QMQ), discussing the motivations behind building it, the challenges of consistency and storage, client‑side transaction integration, the novel log‑based storage model, and its support for arbitrary delayed messages.

BackendConsistencyStorage Model
0 likes · 15 min read
Design and Implementation of QMQ: Qunar.com’s Internal Message Queue
MaGe Linux Operations
MaGe Linux Operations
Nov 28, 2018 · Fundamentals

Essential Checklist for Designing Clean Python Library APIs

This article distills key recommendations from a 2017 PyCon talk into a practical checklist for building Python library APIs, covering simplicity, consistency, flexibility, and security to help developers create intuitive, reliable, and well‑structured interfaces.

ConsistencyLibraryPython
0 likes · 11 min read
Essential Checklist for Designing Clean Python Library APIs
Hujiang Technology
Hujiang Technology
Nov 26, 2018 · Backend Development

Ensuring Distributed Final Consistency: Heavy and Light Approaches, Principles and Practices

The article explains distributed final consistency challenges, compares heavyweight transaction frameworks with lightweight techniques such as idempotency, retries, state machines, recovery logs, and async verification, and outlines CAP, BASE principles and practical implementation steps for backend systems.

BASECAP theoremConsistency
0 likes · 14 min read
Ensuring Distributed Final Consistency: Heavy and Light Approaches, Principles and Practices
Java Captain
Java Captain
Sep 20, 2018 · Backend Development

Common Cache Problems and Their Mitigation Strategies

The article explains major cache issues such as consistency, concurrency, penetration, jitter, avalanche, and the “bottomless pit” phenomenon, and outlines practical techniques like locking, empty‑object caching, request filtering, consistent hashing, rate limiting, and multi‑level caching to prevent system failures.

Consistencycache-avalanchecache-penetration
0 likes · 8 min read
Common Cache Problems and Their Mitigation Strategies
Java Backend Technology
Java Backend Technology
Sep 11, 2018 · Backend Development

How to Prevent Cache Consistency, Concurrency, and Avalanche Issues in High‑Traffic Systems

This article explains common cache problems such as consistency, concurrency, penetration, jitter, avalanche, and the bottomless‑hole phenomenon, and provides practical strategies like expiration policies, locking, empty‑object caching, sharding, rate limiting, and IO optimizations to keep high‑traffic systems stable.

BackendConsistencyavalanche
0 likes · 7 min read
How to Prevent Cache Consistency, Concurrency, and Avalanche Issues in High‑Traffic Systems
Senior Brother's Insights
Senior Brother's Insights
Sep 2, 2018 · Backend Development

Understanding and Solving Common Cache Problems: Consistency, Concurrency, Penetration, and More

This article explains the major cache challenges—including consistency, concurrency, penetration, jitter, avalanche, and the so‑called bottomless‑pit phenomenon—describes why they occur in high‑traffic systems, and offers practical mitigation techniques such as locking, empty‑object caching, request filtering, sharding, and multi‑level caching.

Consistencycache-avalanchecache-penetration
0 likes · 7 min read
Understanding and Solving Common Cache Problems: Consistency, Concurrency, Penetration, and More
Architects' Tech Alliance
Architects' Tech Alliance
Aug 27, 2018 · 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 (centralized and decentralized), persistence strategies, scalability, high availability, performance optimization, security mechanisms, and additional considerations such as space allocation, file deletion, small‑file handling, and fingerprint‑based deduplication.

ConsistencyDistributed SystemsScalability
0 likes · 19 min read
Design Principles and Architecture of Distributed File Systems
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Aug 14, 2018 · Databases

How 58.com Scales Its Database: Architecture, High Availability, and Performance Tricks

This article explains 58.com’s database architecture, covering availability through replication and dual‑master setups, read‑performance enhancements with indexing, read replicas and caching, consistency solutions, rapid horizontal scaling methods, and a review of Codd’s twelve rules for relational design.

ConsistencySQL OptimizationScalability
0 likes · 14 min read
How 58.com Scales Its Database: Architecture, High Availability, and Performance Tricks
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.

Consistencycachingdata-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-lockmemory eviction
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.

ConsistencyData TypesExpiration
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.

ConsistencyDistributed TransactionsMicroservices
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.

ConsistencyLibrarySecurity
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.

BackendConsistencyID generation
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.

Backend ArchitectureConsistencyPartitioning
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.

CConsistencyPEGASUS
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.

CompensationConsistencyDistributed Systems
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.

ConsistencyDistributed SystemsPacificA
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.

ConsistencyRedlockdistributed-lock
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.

ConsistencyPaxosalgorithm
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.

ConsistencyFacebookHBase
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.

ConsistencyDistributed Systemsavalanche prevention
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.

ConsistencyLFULRU
0 likes · 10 min read
Mastering Cache Strategies: When to Use LRU, LFU, and Consistency Techniques