Tagged articles

consistency

337 articles · Page 3 of 4
Selected Java Interview Questions
Selected Java Interview Questions
Jan 15, 2021 · Backend Development

Designing High‑Performance, High‑Availability Flash‑Sale (秒杀) Systems: Architecture, Consistency, and Optimization

This article explains how to design a flash‑sale system that handles massive concurrent requests by focusing on high performance through dynamic‑static separation, hotspot optimization, and code‑level tuning, while ensuring strong consistency for inventory and maintaining high availability via traffic shaping, fault‑tolerance, and operational best practices.

Flash Saleconsistencyhigh performance
0 likes · 27 min read
Designing High‑Performance, High‑Availability Flash‑Sale (秒杀) Systems: Architecture, Consistency, and Optimization
Liangxu Linux
Liangxu Linux
Dec 29, 2020 · Backend Development

Understanding ZooKeeper: Architecture, Data Model, Sessions, and Leader Election

ZooKeeper is an open‑source distributed coordination service that provides primitives for synchronization, configuration management, and naming, featuring a hierarchical data model of znodes, session handling, one‑time watches, strong consistency guarantees, leader election via Zab protocol, and detailed roles of leader, follower, and observer.

Distributed CoordinationLeader ElectionWatches
0 likes · 17 min read
Understanding ZooKeeper: Architecture, Data Model, Sessions, and Leader Election
Code Ape Tech Column
Code Ape Tech Column
Dec 29, 2020 · Fundamentals

Understanding Distributed Consistency: CAP, BASE, 2PC, 3PC, Paxos, Raft, ZAB, and NWR Model

This article explains the challenges of distributed systems such as node failures and network anomalies, then introduces the CAP theorem, BASE theory, two‑phase and three‑phase commit protocols, and details consensus algorithms including Paxos, Raft, ZAB, and Amazon Dynamo's NWR model, highlighting their trade‑offs and practical usage.

2PC3PCCAP theorem
0 likes · 37 min read
Understanding Distributed Consistency: CAP, BASE, 2PC, 3PC, Paxos, Raft, ZAB, and NWR Model
Selected Java Interview Questions
Selected Java Interview Questions
Dec 28, 2020 · Backend Development

Eureka vs Zookeeper: AP vs CP Trade‑offs in Service Registry Design

The article compares Eureka and Zookeeper as service registry solutions, explaining how Eureka follows an AP model with high availability and eventual consistency, while Zookeeper adopts a CP model prioritizing strong consistency, and discusses their suitable scenarios, limitations, and design considerations for distributed systems.

CAP theoremEurekaZookeeper
0 likes · 10 min read
Eureka vs Zookeeper: AP vs CP Trade‑offs in Service Registry Design
Java Backend Technology
Java Backend Technology
Dec 10, 2020 · Databases

Why Your New Master‑Slave DB May Not Reflect Recent Writes—and How to Fix It

This article explains a real‑world case where a newly added mapping rule didn't appear immediately due to master‑slave replication lag, walks through the evolution of database architectures from single‑node to read‑write separation, and presents several practical strategies to mitigate consistency issues caused by replication delay.

DatabaseRead-Write Separationcaching
0 likes · 9 min read
Why Your New Master‑Slave DB May Not Reflect Recent Writes—and How to Fix It
Tencent Cloud Developer
Tencent Cloud Developer
Nov 19, 2020 · Backend Development

Kafka Message Queue Reliability Design and Implementation

The article thoroughly explains Kafka’s message‑queue reliability design and implementation, covering use‑case scenarios, core concepts, storage format, producer acknowledgment settings, broker replication mechanisms (ISR, HW, LEO), consumer delivery semantics, the epoch solution for synchronization, and practical configuration guidelines for various consistency and availability requirements.

BrokerFault ToleranceKafka
0 likes · 15 min read
Kafka Message Queue Reliability Design and Implementation
Architects' Tech Alliance
Architects' Tech Alliance
Nov 7, 2020 · Fundamentals

Design Considerations and Architecture of Distributed File Systems

This article examines the evolution, core requirements, architectural models (centralized and decentralized), persistence strategies, scalability, high availability, performance optimization, security mechanisms, and additional design trade‑offs of distributed file systems, providing a comprehensive overview for architects and engineers.

Distributed File Systemconsistencyscalability
0 likes · 19 min read
Design Considerations and Architecture of Distributed File Systems
Java Backend Technology
Java Backend Technology
Nov 5, 2020 · Backend Development

How to Eliminate Double‑Write Consistency Problems with Message Queues and CDC

This article explores common data‑synchronization challenges such as double‑write consistency and atomicity issues across databases, Redis, Elasticsearch and Hadoop, and presents a generic solution using ordered message queues and change‑data‑capture middleware to ensure reliable, consistent updates.

Change Data CaptureData synchronizationbackend development
0 likes · 8 min read
How to Eliminate Double‑Write Consistency Problems with Message Queues and CDC
Architecture Digest
Architecture Digest
Oct 23, 2020 · Fundamentals

Understanding Consistency Algorithms: Paxos, Raft, ZAB, and Gossip

This article explains why data consistency is essential in distributed systems, defines consistency, compares strong and eventual consistency, and details the design and operation of major algorithms such as Paxos, Multi‑Paxos, Raft, ZAB, and Gossip with illustrative examples and diagrams.

Algorithmconsistencydistributed-systems
0 likes · 11 min read
Understanding Consistency Algorithms: Paxos, Raft, ZAB, and Gossip
High Availability Architecture
High Availability Architecture
Oct 13, 2020 · Cloud Native

Service Discovery: Call Patterns, Consistency Trade‑offs, and Health‑Check Designs

This article examines the motivations for service discovery in microservice architectures, compares client‑side and server‑side discovery patterns, discusses consistency versus availability trade‑offs (CAP, CP vs AP), and reviews various health‑check mechanisms, graceful up/down strategies, metadata considerations, and high‑availability designs.

Load BalancingMicroservicesconsistency
0 likes · 14 min read
Service Discovery: Call Patterns, Consistency Trade‑offs, and Health‑Check Designs
Efficient Ops
Efficient Ops
Oct 9, 2020 · Fundamentals

Understanding the CAP Theorem Through a Real‑World Memory Service Story

This article uses a relatable memory‑service scenario to illustrate the CAP theorem, explaining how consistency, availability, and partition tolerance cannot all be achieved simultaneously in distributed systems and exploring practical trade‑offs through successive design attempts.

CAP theoremavailabilityconsistency
0 likes · 9 min read
Understanding the CAP Theorem Through a Real‑World Memory Service Story
dbaplus Community
dbaplus Community
Sep 23, 2020 · Databases

How JinS Achieves Multi‑Region Data Consistency and High Performance

Facing scalability limits, disaster risks, and latency in single‑region setups, OPPO built the JinS data‑sync framework, detailing its multi‑region challenges, design principles, modular architecture, consistency models, crash‑safe 2PC mechanisms, file‑queue optimizations, relay‑log handling, and performance gains over open‑source and commercial alternatives.

Data synchronizationDatabase ReplicationJinS
0 likes · 21 min read
How JinS Achieves Multi‑Region Data Consistency and High Performance
Top Architect
Top Architect
Sep 17, 2020 · Backend Development

Cache Consistency Strategies: Cache‑Aside Pattern, Deleting vs. Updating Cache, and Queue‑Based Solutions for High Concurrency

The article explains how distributed cache‑aside patterns work, why deleting stale cache entries is often preferable to updating them, analyzes basic and complex cache‑database inconsistency scenarios, and proposes a JVM‑queue‑driven, single‑threaded update mechanism with practical considerations for high‑concurrency environments.

Cache AsideQueuebackend
0 likes · 11 min read
Cache Consistency Strategies: Cache‑Aside Pattern, Deleting vs. Updating Cache, and Queue‑Based Solutions for High Concurrency
21CTO
21CTO
Sep 12, 2020 · Fundamentals

Why Distributed Systems Mirror Single‑Node Concurrency and How to Avoid Common Pitfalls

This article explains how concurrency issues that appear in single‑threaded programs become amplified in distributed systems, covering consistency models, network reliability, clock synchronization, fault detection, backpressure, and cascading failures, and offers practical design and testing strategies to build resilient architectures.

Fault Toleranceconcurrencyconsistency
0 likes · 19 min read
Why Distributed Systems Mirror Single‑Node Concurrency and How to Avoid Common Pitfalls
Architect
Architect
Sep 9, 2020 · Backend Development

Cache Aside Pattern and Solutions for Cache‑Database Consistency in High‑Concurrency Environments

The article explains the classic Cache Aside pattern, why deleting rather than updating cache is preferred, analyzes basic and complex cache inconsistency scenarios, and proposes a queue‑based lazy update solution with practical considerations for read‑write blocking, request routing, and hotspot handling in high‑traffic systems.

Cache AsideQueueconsistency
0 likes · 11 min read
Cache Aside Pattern and Solutions for Cache‑Database Consistency in High‑Concurrency Environments
IT Architects Alliance
IT Architects Alliance
Aug 31, 2020 · Databases

Distributed SQL: Features, Core Characteristics, and Cloud-Native Requirements

The article explains the evolution of database architecture toward distributed SQL, outlining its seven core features such as scalability, consistency, elasticity, geo‑replication, SQL support, data locality, and multi‑cloud capability, while also describing essential database functions and practical considerations for cloud‑native deployments.

Cloud databasesDistributed SQLMulti-Cloud
0 likes · 9 min read
Distributed SQL: Features, Core Characteristics, and Cloud-Native Requirements
MaGe Linux Operations
MaGe Linux Operations
Aug 31, 2020 · Databases

Why Distributed SQL is the Future of Cloud Databases: 7 Key Features Explained

Distributed SQL databases combine the reliability of traditional relational systems with cloud-native scalability, offering seven core traits—scalability, consistency, elasticity, geo-replication, SQL support, data locality, and multi‑cloud operation—while still meeting essential database functions such as manageability, optimization, security, and integration.

Cloud databasesDistributed SQLMulti-Cloud
0 likes · 9 min read
Why Distributed SQL is the Future of Cloud Databases: 7 Key Features Explained
Architecture Digest
Architecture Digest
Aug 24, 2020 · Backend Development

Cache Consistency Strategies: Cache Aside Pattern, Deleting vs Updating Cache, and Queue‑Based Solutions for High Concurrency

This article explains the cache‑aside pattern, why deleting cache entries is often preferable to updating them, outlines basic and complex cache‑database inconsistency scenarios, and presents a queue‑driven approach with practical considerations for maintaining data consistency in high‑concurrency backend systems.

Cache AsideQueuecache
0 likes · 10 min read
Cache Consistency Strategies: Cache Aside Pattern, Deleting vs Updating Cache, and Queue‑Based Solutions for High Concurrency
Top Architect
Top Architect
Aug 18, 2020 · Fundamentals

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

This comprehensive article explains the core concepts of distributed systems—including node modeling, failure types, replica strategies, consistency levels, performance metrics, data distribution techniques, lease mechanisms, quorum, logging, two‑phase commit, MVCC, Paxos, and the CAP theorem—providing a solid foundation for designing robust, scalable architectures.

CAP theoremConsensusPaxos
0 likes · 53 min read
Fundamentals of Distributed Systems: Models, Replication, Consistency, and Core Protocols
Architect's Tech Stack
Architect's Tech Stack
Aug 14, 2020 · Operations

ZooKeeper Interview Questions and Core Concepts

This article provides a comprehensive overview of ZooKeeper, covering its role as a distributed coordination service, consistency guarantees, ZAB protocol, Znode types, watcher mechanism, ACL permissions, chroot feature, session management, server roles, data synchronization, deployment modes, and typical use cases in distributed systems.

ACLDistributed CoordinationWatcher
0 likes · 19 min read
ZooKeeper Interview Questions and Core Concepts
Programmer DD
Programmer DD
Aug 13, 2020 · Backend Development

How to Solve Distributed Cache Consistency Issues with Lazy Updates and Queues

This article explains the classic Cache‑Aside pattern, analyzes common cache‑database consistency problems in high‑concurrency scenarios, and presents a lazy‑update queue solution that deletes stale cache entries, routes updates through internal JVM queues, and mitigates read‑blocking and hotspot issues.

Queueconsistencydistributed systems
0 likes · 11 min read
How to Solve Distributed Cache Consistency Issues with Lazy Updates and Queues
Alibaba Cloud Developer
Alibaba Cloud Developer
Aug 4, 2020 · Fundamentals

How NFSv4 Guarantees Consistent File Locks Across Clients

This article explains the principles behind NFS file‑lock state view consistency, covering NFSv4's stateful design, the SeqId mechanism, SunRPC handling of duplicate requests, and how signal interruptions are managed to keep client and server lock views synchronized.

Distributed File SystemFile LockNFS
0 likes · 10 min read
How NFSv4 Guarantees Consistent File Locks Across Clients
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.

Database DesignMySQLRedis
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.

Distributed CoordinationLeader ElectionZAB 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.

Distributed File SystemHigh Availabilityarchitecture
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.

Distributed File Systemconsistencyperformance 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.

Cache Asidebackendcache
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.

High AvailabilityKafkaconsistency
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 theoremConsensus Protocols
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.

consistencydistributed-systemsfault-tolerance
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.

Microservicescloud-nativeconsistency
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.

DatabaseGroup ReplicationMySQL
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.

Flash SaleMySQLconsistency
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.

Database DesignFlash SaleMySQL
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 theoremFault Toleranceconsistency
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.

Distributed File Systemconsistencyperformance 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.

Distributed File Systemconsistencyscalability
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.

Dynamic TuningFailoverHBase 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.

Consensus ProtocolsData DistributionFault Tolerance
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 ArchitectureFlash SaleHigh Availability
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.

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

Flash SaleHigh AvailabilitySystem 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.

ClusterData lossWAIT command
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.

Flash SaleHigh AvailabilitySystem 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.

Database ArchitectureShardingcache
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.

High AvailabilitySeckillarchitecture
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.

DatabasesTransaction Managementclocks
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 NativeMicroservicesOperations
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.

API DesignPythonSoftware Engineering
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.

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

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

Database ArchitectureRead-Write SeparationSharding
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.

SQL Compatibilityconsistencydatabase 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.

High AvailabilityMonitoringarchitecture
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.

Database ArchitectureHigh AvailabilityRead-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.

High AvailabilityShardingconsistency
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.

Load BalancingMicroservicesNacos
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.

Database ArchitectureHigh Availabilitycaching
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.

Microservicesarchitectureconsistency
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 theoremConsensus Protocols
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.

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

Storage Modelbackendconsistency
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.

API DesignLibraryPython
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 theoremIdempotency
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.

Cache AvalancheCache Penetrationcaching
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.

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

Cache Avalanchecache-penetrationcaching
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.

High Availabilityconsistencydistributed systems
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.

High AvailabilitySQL Optimizationcaching
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.

Caching Strategiesavalanchecache
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.

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

asynchronous-retrybackendconsistency
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.

Data TypesRediscaching
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.

Cache invalidationbackendcache
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.

MicroservicesTransaction ManagementXA protocol
0 likes · 7 min read
Understanding Distributed Transactions and the XA Two‑Phase Commit Protocol