Tagged articles

consistency

337 articles · Page 2 of 4
21CTO
21CTO
Nov 22, 2022 · Fundamentals

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

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

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

Cache Consistency Strategies and Best Practices

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

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

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

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

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

Design and Migration Strategies for the WLock Distributed Lock Service

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

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

Cache Update Strategies and Concurrency Control in Backend Systems

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

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

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

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

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

Design and Implementation of Baidu Transaction Middle‑Platform Asset System

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

Asset ManagementDouble Entry Accountingconsistency
0 likes · 13 min read
Design and Implementation of Baidu Transaction Middle‑Platform Asset System
JD Cloud Developers
JD Cloud Developers
Sep 29, 2022 · Databases

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

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

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

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

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

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

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

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

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

Cache Consistency Challenges and Update Strategies in Backend Systems

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

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

Key Distributed System Design Patterns and Concepts

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

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

Transactions, Consistency, and Consensus in Distributed Systems

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

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

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

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

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

Key Distributed System Design Patterns Explained by a Senior Architect

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

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

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

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

CAP theoremData StructuresFault Tolerance
0 likes · 12 min read
Key Distributed System Concepts: Bloom Filter, Consistent Hashing, Quorum, Leader/Follower, and More
Top Architect
Top Architect
Aug 10, 2022 · Backend Development

Cache Consistency: Challenges and Strategies for Backend Systems

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

Caching Strategiesbackendconsistency
0 likes · 19 min read
Cache Consistency: Challenges and Strategies for Backend Systems
IT Architects Alliance
IT Architects Alliance
Jul 25, 2022 · Backend Development

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

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

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

Meta’s Secret to Near‑Zero Cache Inconsistency

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

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

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

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

ACIDDatabaseIsolation
0 likes · 20 min read
Understanding Database Transactions: ACID, Isolation, and Real-World Pitfalls
Programmer DD
Programmer DD
Jul 2, 2022 · Backend Development

How to Achieve Distributed Transaction Consistency with MQs

This article explains the challenges of distributed transactions in multi‑node systems, reviews common solutions such as 2PC, TCC, Saga, and focuses on implementing eventual consistency using message queues, detailing local message tables, MQ‑based transactions, and loss‑prevention techniques across RocketMQ, Kafka, and RabbitMQ.

MQMessage QueueTransaction Management
0 likes · 19 min read
How to Achieve Distributed Transaction Consistency with MQs
High Availability Architecture
High Availability Architecture
Jun 24, 2022 · Backend Development

Improving Cache Invalidation and Consistency at Scale

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

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

Reasonable Strategies for Database and Cache Read/Write Consistency

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

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

Cache Usage Techniques and Design Strategies

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

Redisbackend optimizationcaching
0 likes · 13 min read
Cache Usage Techniques and Design Strategies
政采云技术
政采云技术
May 19, 2022 · Databases

Distributed Transaction Consistency Solutions

This article explains the fundamentals of distributed transactions, covering ACID, CAP and BASE theories, and reviews various consistency solutions such as two‑phase commit, three‑phase commit, TCC, local message tables, MQ approaches and the Seata framework, highlighting their advantages and drawbacks.

2PCCAPTCC
0 likes · 18 min read
Distributed Transaction Consistency Solutions
Sohu Tech Products
Sohu Tech Products
May 18, 2022 · Fundamentals

Understanding Strong vs. Weak Consistency in Java's ConcurrentHashMap

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

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

Understanding the CAP Theorem and How PACELC Extends It

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

CAP theoremPACELCavailability
0 likes · 7 min read
Understanding the CAP Theorem and How PACELC Extends It
Top Architect
Top Architect
May 1, 2022 · Backend Development

Cache Consistency Challenges and Practical Strategies for Database‑Redis Integration

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

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

Cache Consistency Strategies and Best Practices for Database‑Cache Synchronization

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

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

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

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

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

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

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

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

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

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

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

Cache Update Strategies: Consistency, Concurrency, and Failure Handling

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

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

Distributed System Consistency Handling

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

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

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

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

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

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

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

backendcacheconsistency
0 likes · 8 min read
Ensuring Data Consistency Between Cache and Database: Strategies and Trade‑offs
Java Backend Technology
Java Backend Technology
Jan 24, 2022 · Backend Development

How to Solve Double‑Write Consistency Issues with Message Queues

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

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

Data Warehouse Data Quality Measurement Standards

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

Big DataData GovernanceData Warehouse
0 likes · 9 min read
Data Warehouse Data Quality Measurement Standards
Architects Research Society
Architects Research Society
Dec 5, 2021 · Databases

Understanding Sequential, Causal, and Eventual Consistency Models

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

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

A Comprehensive Guide to Learning Distributed Systems

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

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

Why Distributed Databases Face Consistency Challenges and How to Address Them

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

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

Jepsen Uncovered: A Practical Guide to Linearizability Testing

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

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

Database Capacity Planning and Scaling with ScyllaDB

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

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

Why Is Database Capacity Planning So Hard? Simplify with ScyllaDB

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Consistency as the Essential Path to R&D Efficiency

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

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

Design and Considerations of Distributed File Systems

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

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

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

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

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

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

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

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

Raft Log Replication: Format, Process, and Consistency Guarantees

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

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

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

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

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

Designing a Universal Static Data Cache for Microservice Architectures

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

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

Design Principles and Architecture of Distributed File Systems

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

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

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

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

Data ReplicationDistributed File Systemconsistency
0 likes · 21 min read
What Makes Distributed File Systems Tick? Design Principles and Architecture Explained
Java Backend Technology
Java Backend Technology
May 27, 2021 · Backend Development

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

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

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

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

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

MySQLcacheconsistency
0 likes · 11 min read
How to Ensure Cache‑Database Consistency: Patterns, Pitfalls, and Solutions
Code Ape Tech Column
Code Ape Tech Column
May 19, 2021 · Backend Development

How Transparent Multilevel Cache (TMC) Eliminates Hotspot Bottlenecks in High‑Traffic E‑Commerce

The article explains Youzan’s Transparent Multilevel Cache (TMC), detailing its architecture, hotspot detection, local caching, consistency mechanisms, and real‑world performance gains during flash‑sale events, showing how it reduces cache pressure and improves latency for Java‑based services.

cacheconsistencydistributed systems
0 likes · 16 min read
How Transparent Multilevel Cache (TMC) Eliminates Hotspot Bottlenecks in High‑Traffic E‑Commerce
Tencent Cloud Developer
Tencent Cloud Developer
May 12, 2021 · Databases

Evolution and Architecture of Distributed Databases: A TDSQL Case Study

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

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

Data Quality: Dimensions, Rules, and Constraints

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

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

Overview of Database System Design

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Mastering Distributed Transactions: Protocols, Patterns, and Seata Explained

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

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

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

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

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

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

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

Database ArchitectureHigh AvailabilityMySQL
0 likes · 12 min read
Choosing the Right MySQL Architecture: Master‑Standby, Dual‑Master, and Consistency Strategies
Wukong Talks Architecture
Wukong Talks Architecture
Mar 18, 2021 · Fundamentals

Understanding Distributed Theory and Algorithms: Importance, Core Concepts, and Learning Path

This article explains why distributed theory and algorithms are crucial for architects, outlines the four foundational theories and eight key protocols, discusses their four evaluation dimensions, and provides a step‑by‑step learning roadmap illustrated with stories and practical examples.

CAP theoremFault Toleranceconsensus algorithms
0 likes · 10 min read
Understanding Distributed Theory and Algorithms: Importance, Core Concepts, and Learning Path
IT Xianyu
IT Xianyu
Mar 2, 2021 · Fundamentals

Understanding ZooKeeper: Purpose, Features, and Design Goals

This article explains why ZooKeeper was created, its role in simplifying distributed application development, key characteristics such as high performance, high availability, and consistency, and outlines the fundamental problems it solves in multi‑process coordination across networked systems.

Distributed CoordinationZookeeperconsistency
0 likes · 7 min read
Understanding ZooKeeper: Purpose, Features, and Design Goals
Tencent Cloud Developer
Tencent Cloud Developer
Feb 26, 2021 · Fundamentals

Distributed Consistency Algorithms: CAP, BASE, Paxos, and Raft

From CAP and BASE trade‑offs to the rigorous Paxos consensus and the more approachable Raft protocol, this article explains how modern distributed systems achieve consistency despite partitions, failures, and latency, detailing roles, phases, and safety guarantees that underpin reliable micro‑service architectures.

BASE theoryCAP theoremPaxos
0 likes · 21 min read
Distributed Consistency Algorithms: CAP, BASE, Paxos, and Raft
58UXD
58UXD
Feb 26, 2021 · Frontend Development

How to Build a Consistent UI for Multi‑Business‑Line Messaging Center Micro‑Chat

This article outlines the background, composition issues, and a three‑principle design system—consistency, interaction reasonableness, and flexibility—used to create a unified UI for 58’s multi‑business‑line messaging center micro‑chat, detailing component specifications, navigation rules, typography, colors, and layout guidelines.

Frontendconsistencydesign system
0 likes · 6 min read
How to Build a Consistent UI for Multi‑Business‑Line Messaging Center Micro‑Chat
Top Architect
Top Architect
Feb 21, 2021 · Fundamentals

Understanding the Raft Consensus Algorithm: States, Leader Election, Consistency, and Split‑Brain Handling

This article provides a comprehensive overview of the Raft consensus algorithm, detailing node roles (follower, candidate, leader), the leader election process, mechanisms ensuring cluster consistency, handling of node failures, and strategies for resolving split‑brain scenarios in distributed systems.

ConsensusLeader ElectionRaft
0 likes · 11 min read
Understanding the Raft Consensus Algorithm: States, Leader Election, Consistency, and Split‑Brain Handling
Code Ape Tech Column
Code Ape Tech Column
Jan 29, 2021 · Fundamentals

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

This article provides a comprehensive overview of distributed system fundamentals, covering core concepts such as nodes, replicas, consistency models, data distribution strategies, lease and quorum mechanisms, two‑phase commit, MVCC, Paxos, and the CAP theorem, along with practical considerations for designing robust, scalable services.

CAP theoremConsensusMVCC
0 likes · 53 min read
Fundamentals of Distributed Systems: Concepts, Replication, Consistency, and Protocols
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jan 28, 2021 · Fundamentals

Distributed Systems Essentials: Models, Replicas, Consistency & Protocols

This comprehensive guide explores the core concepts of distributed systems, covering node models, replica strategies, consistency levels, data distribution techniques, lease-based caching, quorum mechanisms, logging, two‑phase commit, MVCC, Paxos consensus, and the CAP theorem, providing practical insights for building robust scalable architectures.

Consensusconsistencydistributed systems
0 likes · 55 min read
Distributed Systems Essentials: Models, Replicas, Consistency & Protocols
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 20, 2021 · Fundamentals

How to Build Efficient Cross‑Region Distributed Consistency Systems

This article examines the challenges of cross‑region distributed consistency, reviews industry solutions such as direct deployment, learner roles, and partitioned services, and introduces Alibaba’s log‑mirroring decoupled architecture, evaluating trade‑offs in latency, scalability, availability, and consistency for global systems.

Paxosconsistencycross region
0 likes · 20 min read
How to Build Efficient Cross‑Region Distributed Consistency Systems
Java Interview Crash Guide
Java Interview Crash Guide
Jan 19, 2021 · Databases

Choosing the Right Database Architecture: Pros, Cons, and Consistency Solutions

This article outlines core database architecture principles—high availability, performance, consistency, and scalability—and evaluates four common schemes (primary‑backup, dual‑master, master‑slave with read/write separation, and hybrid), followed by detailed consistency‑resolution strategies and personal insights.

Dual MasterRead-Write Separationconsistency
0 likes · 9 min read
Choosing the Right Database Architecture: Pros, Cons, and Consistency Solutions
Open Source Linux
Open Source Linux
Jan 18, 2021 · Operations

Why ZooKeeper Is Essential for Distributed Application Coordination

This article explains ZooKeeper's purpose, core features, and design goals, showing how it simplifies distributed application development by providing high‑performance, highly available coordination services such as naming, locks, leader election, and configuration management while hiding low‑level complexities.

APIDistributed CoordinationZookeeper
0 likes · 10 min read
Why ZooKeeper Is Essential for Distributed Application Coordination