Tagged articles
313 articles
Page 1 of 4
IT Services Circle
IT Services Circle
Apr 23, 2026 · Backend Development

Why You Can Skip Consistency Checks When Using DB and MinIO Together

The article argues that for typical file‑upload scenarios you should upload to MinIO first and then write to the database without trying to enforce strong distributed consistency, explaining the pitfalls of transaction‑based solutions and offering simple async cleanup strategies.

Async CleanupBackendConsistency
0 likes · 8 min read
Why You Can Skip Consistency Checks When Using DB and MinIO Together
IT Services Circle
IT Services Circle
Mar 7, 2026 · Backend Development

Beyond Simple Redis: Advanced Multi‑Level Cache Strategies for High‑Performance Backend Systems

This article explores a series of unconventional yet practical caching designs—including consistent hashing with local caches, request‑scope caching, session‑level caching, client‑side caching, pre‑loading, and graceful degradation—to dramatically improve backend response times, reliability, and interview impact.

Backend ArchitectureConsistencyperformance
0 likes · 18 min read
Beyond Simple Redis: Advanced Multi‑Level Cache Strategies for High‑Performance Backend Systems
Su San Talks Tech
Su San Talks Tech
Jan 20, 2026 · Databases

How to Ensure Data Consistency Between Database and Cache in High‑Concurrency Scenarios

This article examines the common data‑consistency problems that arise when updating both a database and a cache under high concurrency, evaluates four typical write‑order strategies, and presents the most reliable solution—writing to the database first and then safely invalidating the cache using retry, scheduled tasks, MQ, or binlog listeners.

ConsistencyMQRetry
0 likes · 17 min read
How to Ensure Data Consistency Between Database and Cache in High‑Concurrency Scenarios
JD Cloud Developers
JD Cloud Developers
Dec 8, 2025 · Fundamentals

Why Raft Guarantees Linear Consistency in Unreliable Networks

This article explains how unreliable networks, clock instability, and node failures can cause data inconsistency in distributed clusters, introduces the Raft consensus algorithm, details its roles, election process, log replication, read/write handling, consistency models, and mechanisms to avoid split-brain and livelock.

ConsensusConsistencyDistributed Systems
0 likes · 13 min read
Why Raft Guarantees Linear Consistency in Unreliable Networks
Architect's Journey
Architect's Journey
Nov 29, 2025 · Backend Development

Cache Design Guidelines: Achieve Microsecond Queries and Survive Traffic Spikes

This article outlines practical cache design principles, covering suitable scenarios, health metrics, common pitfalls like avalanche, breakdown and penetration, and concrete implementation rules for both local (Caffeine) and Redis caches to ensure microsecond‑level response and stable high‑traffic performance.

Consistencycache-avalanchecache-penetration
0 likes · 13 min read
Cache Design Guidelines: Achieve Microsecond Queries and Survive Traffic Spikes
360 Smart Cloud
360 Smart Cloud
Nov 25, 2025 · Cloud Native

How PoleFS Achieves Microsecond I/O with Multi‑Layer Caching and CTO Consistency

PoleFS is a high‑performance, cloud‑native distributed file system that combines NVMe‑accelerated hot storage with S3‑based cold storage, offering multiple client access methods, multi‑level metadata and data caches, prefetch/warm‑up strategies, and a Close‑to‑Open consistency model to balance performance and data correctness.

ConsistencyDistributed File Systemcaching
0 likes · 11 min read
How PoleFS Achieves Microsecond I/O with Multi‑Layer Caching and CTO Consistency
Bilibili Tech
Bilibili Tech
Nov 21, 2025 · Backend Development

How Bilibili Scaled Its Private Messaging System to Handle 10× Traffic

This article analyzes the current bottlenecks of Bilibili's private messaging service, explains the technical challenges of massive data volume and traffic spikes, and presents a comprehensive multi‑layer architecture upgrade—including cache strategies, BFF refactoring, database sharding, and consistency mechanisms—to ensure scalability and reliability.

BFFConsistencyMessaging
0 likes · 16 min read
How Bilibili Scaled Its Private Messaging System to Handle 10× Traffic
FunTester
FunTester
Nov 18, 2025 · Artificial Intelligence

Why Unambiguous, Consistent Requirements Are Critical for AI Code Generation

In the age of AI‑driven code generation, requirements must be both unambiguous and consistent to avoid misinterpretation, unpredictable outputs, and faulty logic, ensuring that generated code aligns with stakeholder intent and maintains quality.

AI code generationConsistencySoftware quality
0 likes · 7 min read
Why Unambiguous, Consistent Requirements Are Critical for AI Code Generation
Ray's Galactic Tech
Ray's Galactic Tech
Nov 14, 2025 · Databases

Mastering MySQL Master‑Slave Read/Write Splitting: 4 Strategies and Real‑World Practices

This article explains MySQL master‑slave replication, why read/write splitting is essential, four practical read‑distribution strategies, the main causes of replication lag, four solutions for write‑after‑read consistency, multi‑slave allocation methods, replication modes, and a real‑world e‑commerce decision matrix, ending with a golden architecture recommendation.

ConsistencyDatabase ArchitectureReplication
0 likes · 11 min read
Mastering MySQL Master‑Slave Read/Write Splitting: 4 Strategies and Real‑World Practices
Ray's Galactic Tech
Ray's Galactic Tech
Oct 29, 2025 · Databases

Master‑Slave Consistency in MySQL: 4 Proven Strategies to Eliminate Replication Lag

This article explains why MySQL master‑slave replication can fall behind, outlines common causes of data inconsistency, and presents four comprehensive solutions—including architecture tweaks, multi‑threaded replication, configuration tuning, and Percona Toolkit verification—to achieve fast, stable, and accurate data synchronization.

ConsistencyDatabase PerformanceLag
0 likes · 9 min read
Master‑Slave Consistency in MySQL: 4 Proven Strategies to Eliminate Replication Lag
Alimama Tech
Alimama Tech
Oct 15, 2025 · Artificial Intelligence

How Alibaba’s Taobao Starry Model Delivers Precise, Consistent E‑commerce Image Edits

Alibaba’s Taobao Starry Image Editing model tackles the e‑commerce challenge of maintaining visual consistency by introducing a high‑fidelity, plug‑in architecture, a million‑scale consistency dataset, and multi‑stage multilingual training, enabling precise, controllable edits without altering product layout or background.

ConsistencyE-commerce AIdata engineering
0 likes · 10 min read
How Alibaba’s Taobao Starry Model Delivers Precise, Consistent E‑commerce Image Edits
Java Baker
Java Baker
Sep 15, 2025 · Backend Development

Choosing the Right Cache Update Pattern: Cache‑Aside, Write‑Back, Read‑Through

This article systematically compares four cache update patterns—cache‑aside, asynchronous write‑back, read/write‑through, and ongoing optimizations—detailing their implementation steps, suitable scenarios, advantages, drawbacks, and practical tips such as delayed double deletion and proactive cache refreshing to balance performance and consistency.

Consistencycache-asidecaching
0 likes · 9 min read
Choosing the Right Cache Update Pattern: Cache‑Aside, Write‑Back, Read‑Through
Architect's Guide
Architect's Guide
Aug 25, 2025 · Fundamentals

19 Essential Distributed System Design Patterns You Must Know

This article explores nineteen core design patterns for distributed systems—including Bloom filters, consistent hashing, quorum, leader‑follower, heartbeat, fencing, WAL, segmented logs, high‑water mark, leases, gossip, Phi accrual detection, split‑brain handling, checksums, CAP and PACELC theorems, hinted handoff, read repair, and Merkle trees—explaining their purpose, operation, and typical use cases.

ConsistencyDistributed Systemsfault tolerance
0 likes · 14 min read
19 Essential Distributed System Design Patterns You Must Know

How Single-Leader Replication Handles Write Conflicts: Strategies and Insights

This article examines write conflicts in single-leader replication, comparing exclusive and shared data, exploring uniqueness constraints, async replication delays, and various conflict‑resolution techniques such as unique indexes, bitmap mapping, LWW ordering, and multi‑version control for collaborative editing.

ConsistencyDistributed SystemsReplication
0 likes · 9 min read
How Single-Leader Replication Handles Write Conflicts: Strategies and Insights
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
Aug 3, 2025 · Fundamentals

Understanding Causal Consistency: Order Guarantees, Lamport Timestamps, and Total Order Broadcast

This article explains the challenges of implementing causal consistency, compares it with linear and sequential consistency, describes how order guarantees are enforced in leader‑based replication, introduces Lamport timestamps and total‑order broadcast, and outlines practical approaches for achieving causal consistency in distributed systems.

ConsistencyDistributed SystemsLamport timestamp
0 likes · 14 min read
Understanding Causal Consistency: Order Guarantees, Lamport Timestamps, and Total Order Broadcast

Demystifying Consistency Models: From Linear to Eventual in Distributed Systems

This article explores the concept of consistency in distributed systems, breaking down various consistency models—including linear, sequential, causal, and eventual—explaining their definitions, practical implications, and how they guide the design of high‑availability architectures and data replication strategies.

ConsistencyDistributed Systemsconsistency models
0 likes · 13 min read
Demystifying Consistency Models: From Linear to Eventual in Distributed Systems

Why Data Replication Matters: Architectures, Formats, and Consistency Models

This article explores the principles of data replication, comparing shared memory, shared disk, and non‑shared storage architectures, detailing replication formats, consistency challenges, and various replication strategies such as synchronous, asynchronous, semi‑synchronous, and majority‑based approaches, helping engineers choose the right trade‑offs.

Asynchronous ReplicationConsistencydata replication
0 likes · 12 min read
Why Data Replication Matters: Architectures, Formats, and Consistency Models
Cognitive Technology Team
Cognitive Technology Team
May 14, 2025 · Backend Development

Cache and Database Consistency: Strategies for Updating Order

This article examines common cache‑database consistency challenges and compares four update strategies—including write‑through, cache‑aside, and delayed double‑delete—to help backend developers choose the most suitable approach for maintaining data integrity in high‑traffic systems.

CacheConsistencycache-aside
0 likes · 6 min read
Cache and Database Consistency: Strategies for Updating Order
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 25, 2025 · Databases

Essential Knowledge Points of Redis Cluster

Redis cluster relies on two ports per node, a hash‑slot based sharding scheme, a master‑slave replication model, and provides eventual consistency, making these four fundamentals essential knowledge for developers and operators to.

ClusterConsistencyMaster‑Slave
0 likes · 6 min read
Essential Knowledge Points of Redis Cluster
Cognitive Technology Team
Cognitive Technology Team
Apr 3, 2025 · Fundamentals

Understanding CAP Theory and BASE: Data Consistency in Distributed Systems

This article explains the CAP theorem and its practical extension BASE, describing their core concepts, trade‑off combinations, typical components such as Zookeeper, Eureka, and Nacos, and engineering techniques like asynchronous replication, Saga, and idempotent design for building highly available distributed systems.

AvailabilityBASECAP theorem
0 likes · 5 min read
Understanding CAP Theory and BASE: Data Consistency in Distributed Systems
IT Architects Alliance
IT Architects Alliance
Jan 13, 2025 · Fundamentals

Strong Consistency vs. Eventual Consistency in Distributed Systems

The article explains the principles, implementation techniques, trade‑offs, and typical use cases of strong consistency and eventual consistency in distributed systems, helping architects decide which model best fits the performance, availability, and correctness requirements of their applications.

CAP theoremConsistencyeventual consistency
0 likes · 13 min read
Strong Consistency vs. Eventual Consistency in Distributed Systems
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 7, 2025 · Backend Development

Cache Consistency: Pitfalls of Delayed Double Delete and Lease/Versioning Solutions with Redis

This article examines why many large‑scale systems avoid the traditional delayed double‑delete cache‑invalidation strategy, explains its critical drawbacks, and presents alternative lease‑based and version‑based approaches with Lua scripts and Java wrappers for Redis to achieve stronger consistency.

ConsistencyDelayed Double DeleteJava
0 likes · 17 min read
Cache Consistency: Pitfalls of Delayed Double Delete and Lease/Versioning Solutions with Redis
IT Architects Alliance
IT Architects Alliance
Jan 6, 2025 · Fundamentals

Mastering the CAP Theorem: Balancing Consistency, Availability, and Partition Tolerance

An in‑depth guide explains the CAP theorem’s three pillars—Consistency, Availability, Partition Tolerance—illustrates why only two can be achieved simultaneously, and shows real‑world trade‑offs across e‑commerce, finance, and social platforms, while introducing the complementary BASE model for practical system design.

AvailabilityBASE modelCAP theorem
0 likes · 15 min read
Mastering the CAP Theorem: Balancing Consistency, Availability, and Partition Tolerance
IT Architects Alliance
IT Architects Alliance
Dec 27, 2024 · Fundamentals

Understanding Distributed Architecture: Concepts, Evolution, Core Technologies, Applications, Challenges, and Future Outlook

This article explains what distributed architecture is, traces its historical development, details core technologies such as consensus protocols and load balancing, explores real‑world applications in e‑commerce, fintech and big data, discusses key challenges and mitigation strategies, and looks ahead to its role in AI, IoT and blockchain.

Consistencycloud computing
0 likes · 22 min read
Understanding Distributed Architecture: Concepts, Evolution, Core Technologies, Applications, Challenges, and Future Outlook
JavaEdge
JavaEdge
Dec 23, 2024 · Backend Development

How Meta Achieves Near‑Perfect Cache Consistency: Lessons from Polaris

This article explains why cache consistency is critical for Meta, how the company measures and monitors consistency, the design of the Polaris system that detects and resolves stale cache entries, and provides a concrete Python‑style example illustrating the challenges and solutions.

ConsistencyDistributed SystemsMeta
0 likes · 14 min read
How Meta Achieves Near‑Perfect Cache Consistency: Lessons from Polaris
Tencent Cloud Developer
Tencent Cloud Developer
Nov 27, 2024 · Databases

Analyzing the Write‑After‑Read Consistency Challenge in Multi‑Active Distributed Architectures

The article examines the write‑after‑read consistency problem in multi‑active cross‑region systems, compares single‑write‑single‑read routing, quorum‑based multi‑write‑multi‑read, and read‑while‑copy methods, explains why primary‑secondary replication is preferred, and proposes a four‑step framework—scenario flagging, data marking, latency evaluation, and near‑by asynchronous replication—to meet WAR requirements efficiently.

ConsistencyDatabase ReplicationDistributed Systems
0 likes · 12 min read
Analyzing the Write‑After‑Read Consistency Challenge in Multi‑Active Distributed Architectures
JD Retail Technology
JD Retail Technology
Nov 5, 2024 · Backend Development

Ensuring Inventory Consistency Under Concurrent Operations: Locking Pitfalls and Solutions

The article examines how frequent inventory adjustments in JD retail supply‑chain can suffer from concurrency issues, explains why traditional locking may fail, analyzes a real‑world case of lock misuse, and presents code‑level, database‑level, and architectural solutions to guarantee data consistency.

Consistencyconcurrencydatabase
0 likes · 7 min read
Ensuring Inventory Consistency Under Concurrent Operations: Locking Pitfalls and Solutions
Architecture and Beyond
Architecture and Beyond
Oct 19, 2024 · R&D Management

How Consistent Architecture Prevents System Decay: Style, Solution, and Form

The article explains why architectural consistency—across style, implementation solutions, and formal design—is essential for preventing decay in evolving enterprise systems, and provides concrete practices such as unified patterns, standardized tech stacks, documentation, code reviews, and toolchain standardization to maintain flexibility and maintainability.

ConsistencyR&D managementSoftware Architecture
0 likes · 18 min read
How Consistent Architecture Prevents System Decay: Style, Solution, and Form
Lobster Programming
Lobster Programming
Aug 9, 2024 · Backend Development

Why Zookeeper Is Losing Favor: Consistency vs. Availability Trade‑offs

Zookeeper, the open‑source coordination service modeled after Google’s Chubby, offers strong consistency for distributed applications, but its CP design, synchronous master‑slave replication, log‑heavy state changes, and limited health checks lead many large tech firms to favor more available alternatives, though it still fits certain use cases.

ConsistencyDistributed Systemscp
0 likes · 5 min read
Why Zookeeper Is Losing Favor: Consistency vs. Availability Trade‑offs
dbaplus Community
dbaplus Community
Jul 4, 2024 · Databases

How Uber Scaled Docstore with CacheFront: An Integrated Caching Solution

This article details Uber's Docstore distributed database challenges and explains the design, architecture, and implementation of CacheFront—a transparent, high‑performance caching layer that reduces latency, improves scalability, and maintains strong consistency across microservices.

ConsistencyDatabase ArchitectureScalability
0 likes · 19 min read
How Uber Scaled Docstore with CacheFront: An Integrated Caching Solution
Volcano Engine Developer Services
Volcano Engine Developer Services
Jul 3, 2024 · Backend Development

How We Scaled a Billion‑Item Search Engine with Elasticsearch: From Zero to One

This article details the practical journey of building and scaling an Elasticsearch‑based search system that supports tens of millions to billions of items, covering architecture design, capacity planning, multi‑data‑center deployment, data synchronization via RocketMQ and Flink, and multi‑layer reconciliation to ensure consistency and high QPS.

ConsistencyElasticsearchFlink
0 likes · 15 min read
How We Scaled a Billion‑Item Search Engine with Elasticsearch: From Zero to One
DaTaobao Tech
DaTaobao Tech
Jun 17, 2024 · Backend Development

Cache Consistency Issues and Solutions in a High‑Concurrency Push System

The article examines a cache‑consistency failure in Tmall International’s high‑concurrency push system, explains classic cache problems and mitigation techniques, analyzes the delete‑then‑update bug that caused null‑plan errors, and evaluates four corrective strategies ranging from double‑write to delayed double‑delete.

BackendCacheConsistency
0 likes · 13 min read
Cache Consistency Issues and Solutions in a High‑Concurrency Push System
Architect
Architect
May 6, 2024 · Backend Development

Designing Effective Multi‑Level Cache Architecture for Microservices

This article explains how to build a multi‑level caching system for microservice applications, covering client‑side HTTP caching, CDN and Nginx static‑resource caching, in‑process and distributed Redis caches, consistency challenges, and practical guidelines for when such a design is beneficial.

BackendCDNConsistency
0 likes · 16 min read
Designing Effective Multi‑Level Cache Architecture for Microservices
ITPUB
ITPUB
Apr 22, 2024 · Backend Development

How Meta Achieves Near‑Perfect Cache Consistency: Lessons from Polaris

This article explains Meta's approach to cache invalidation and consistency, detailing why ultra‑high consistency matters, how their Polaris monitoring system detects and resolves inconsistencies, and provides a simplified Python example that illustrates the underlying mechanisms and challenges.

BackendConsistencyDistributed Systems
0 likes · 12 min read
How Meta Achieves Near‑Perfect Cache Consistency: Lessons from Polaris
dbaplus Community
dbaplus Community
Apr 14, 2024 · Backend Development

How Meta Reached 99.99999999% Cache Consistency and What You Can Learn

This article explains Meta's approach to cache invalidation and consistency, why ultra‑high consistency matters for user experience, the monitoring infrastructure they built, the Polaris system that detects and repairs inconsistencies, and provides a concrete Python‑style code example illustrating the problem and solution.

BackendCacheConsistency
0 likes · 13 min read
How Meta Reached 99.99999999% Cache Consistency and What You Can Learn
Ops Development & AI Practice
Ops Development & AI Practice
Mar 14, 2024 · Artificial Intelligence

Do Vector Embeddings Offer the Same Consistency as Hash Functions?

While both vectorization and hashing are essential for handling large datasets, this article examines whether vector embeddings can match the deterministic consistency of hash functions, comparing their collision handling, data structure design implications, and suitability for retrieval and machine‑learning tasks.

AIConsistencyHashing
0 likes · 8 min read
Do Vector Embeddings Offer the Same Consistency as Hash Functions?
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Feb 16, 2024 · Databases

MySQL Master‑Slave Synchronization: Three Common Approaches and Consistency Solutions

This article explains why read‑write separation is essential for high‑concurrency systems and details three MySQL master‑slave synchronization methods—half‑synchronous replication, database‑middleware synchronization, and cache‑key write tracking—along with their advantages, drawbacks, and consistency considerations.

CacheConsistencyMaster‑Slave
0 likes · 6 min read
MySQL Master‑Slave Synchronization: Three Common Approaches and Consistency Solutions
Tencent Cloud Developer
Tencent Cloud Developer
Jan 19, 2024 · Backend Development

Should You Use Exceptions in Modern C++? A Deep Dive into Consistency, Coroutines, and Real‑World Trade‑offs

This article revisits a 2017 decision to ban exceptions in a large codebase, examines the technical and organizational reasons behind that rule, analyzes exception mechanics, coroutine interactions, and performance impacts with concrete C++ examples, and finally proposes a pragmatic action plan for safely adopting exception‑driven design.

CConsistencyException Handling
0 likes · 33 min read
Should You Use Exceptions in Modern C++? A Deep Dive into Consistency, Coroutines, and Real‑World Trade‑offs
Su San Talks Tech
Su San Talks Tech
Jan 15, 2024 · Backend Development

Mastering Distributed Transactions: 8 Powerful Techniques Explained

This article introduces eight essential distributed‑transaction techniques—including 2PC, 3PC, TCC, Saga, distributed locks, local message tables, reliable message transactions, and best‑effort notifications—detailing their workflows, advantages, drawbacks, and suitable business scenarios to help engineers choose the right solution.

2PC3PCConsistency
0 likes · 16 min read
Mastering Distributed Transactions: 8 Powerful Techniques Explained
JavaEdge
JavaEdge
Jan 13, 2024 · Backend Development

Ensuring Consistency, Idempotency, and Reliable Retries in Payment Systems

The article explains how payment systems should link related documents to maintain status and amount consistency, implement idempotency through unique keys, and use progressive retry mechanisms with message queues to handle network glitches and ensure reliable transaction processing.

ConsistencyIdempotencyRetry
0 likes · 5 min read
Ensuring Consistency, Idempotency, and Reliable Retries in Payment Systems
Su San Talks Tech
Su San Talks Tech
Jan 3, 2024 · Backend Development

How Nacos Implements Service Registration: From Ephemeral Instances to CP/AP Consistency

This article deep‑dives into Nacos as a service registry, explaining the differences between temporary and permanent instances, registration mechanisms across 1.x and 2.x versions, heartbeat and health‑check strategies, service discovery methods, data‑consistency models, and the underlying data model that powers Nacos clusters.

ConsistencyHeartbeatNacos
0 likes · 28 min read
How Nacos Implements Service Registration: From Ephemeral Instances to CP/AP Consistency
MaGe Linux Operations
MaGe Linux Operations
Dec 3, 2023 · Backend Development

How to Ensure Cache‑Database Consistency: Strategies and Best Practices

This article explains why introducing a cache improves read performance as traffic grows, compares different cache‑database consistency approaches, analyzes their pros and cons in concurrent scenarios, and recommends using the "update database then delete cache" pattern with message queues or change‑log subscriptions to maintain data integrity.

BackendConsistencycaching
0 likes · 12 min read
How to Ensure Cache‑Database Consistency: Strategies and Best Practices
Architects' Tech Alliance
Architects' Tech Alliance
Oct 3, 2023 · Fundamentals

Survey on In‑Network Storage Systems

This survey systematically reviews the research progress of in‑network storage systems, covering programmable network hardware characteristics, the two main challenges of building high‑performance solutions, task‑based classification of existing systems, representative designs, and future research directions such as switch‑NIC collaboration, multi‑tenant support, security, and automatic offloading.

CacheConsistencyDistributed Systems
0 likes · 12 min read
Survey on In‑Network Storage Systems
Tencent Cloud Developer
Tencent Cloud Developer
Sep 13, 2023 · Cloud Native

Designing and Implementing a Payment Fund Account System

The article details how to design and implement a cloud‑native payment fund account system on Tencent Cloud, covering account definitions, fund flow and multiple account types, TDSQL storage, separated fund and account services, robust security, distributed transactions, auditing, reconciliation, and high‑availability measures for high‑concurrency merchant payments.

AvailabilityConsistencySecurity
0 likes · 35 min read
Designing and Implementing a Payment Fund Account System
Java High-Performance Architecture
Java High-Performance Architecture
Jul 24, 2023 · Backend Development

Business Compensation in Distributed Systems: Rollback, Retry, and Consistency

This article explains how distributed systems handle business inconsistencies through compensation mechanisms, detailing rollback versus retry approaches, their implementation patterns such as explicit/implicit rollback, various retry strategies, and the trade‑offs between ACID and BASE consistency models for achieving eventual consistency.

ConsistencyDistributed SystemsMicroservices
0 likes · 11 min read
Business Compensation in Distributed Systems: Rollback, Retry, and Consistency
Bilibili Tech
Bilibili Tech
May 19, 2023 · Backend Development

Local Cache Optimization for Outbox Redis in a High‑Traffic Feed Stream Service

To protect the outbox Redis cluster from extreme read amplification during hot events, the service adds a resident local cache for hot creators’ latest posts, using a threshold‑based list, change‑broadcast updates, and checksum verification, which achieved over 55% cache hits and cut peak Redis load by roughly 44% and CPU usage by 37%.

ConsistencyPerformance Scalingcache optimization
0 likes · 10 min read
Local Cache Optimization for Outbox Redis in a High‑Traffic Feed Stream Service
FunTester
FunTester
May 4, 2023 · Fundamentals

How to Build Trust in Test Results with Authoritative Test Criteria

The article explains why testers need clear system boundaries and authoritative test criteria, outlines methods to identify system components, and presents seven consistency dimensions—user requirements, comparable products, historical behavior, visual design, statements, standards, and purpose—to ensure reliable and repeatable testing outcomes.

ConsistencySoftware Testingfundamentals
0 likes · 6 min read
How to Build Trust in Test Results with Authoritative Test Criteria
政采云技术
政采云技术
Apr 27, 2023 · Backend Development

Understanding CAP Theorem, BASE Theory, and Their Implementation with Zookeeper (CP) and Eureka (AP)

This article explains the CAP theorem and its trade‑offs, introduces the BASE model as a practical compromise, and demonstrates how Zookeeper implements a CP registration center while Eureka adopts an AP approach, illustrating the impact on consistency, availability, and partition tolerance in distributed systems.

AvailabilityBASE theoryCAP theorem
0 likes · 12 min read
Understanding CAP Theorem, BASE Theory, and Their Implementation with Zookeeper (CP) and Eureka (AP)
政采云技术
政采云技术
Apr 25, 2023 · Backend Development

Cache System Overview, Architecture Evolution, Pain Points, and Best Practices

This article explains the fundamentals of cache systems, describes the evolution from no‑cache to distributed and local caches, analyzes common challenges such as consistency, hot‑key detection, and cache avalanche, and provides practical guidelines and real‑world lessons for designing effective backend caching solutions.

Backend PerformanceConsistencyarchitecture
0 likes · 14 min read
Cache System Overview, Architecture Evolution, Pain Points, and Best Practices
Architects Research Society
Architects Research Society
Apr 21, 2023 · Databases

Understanding Sequential, Causal, and Eventual Consistency Models

This article explains the concepts of sequential, causal, and eventual consistency in distributed systems, illustrating their guarantees with examples and diagrams, and discusses related consistency guarantees such as monotonic reads, writes, and read‑your‑writes, helping readers grasp how these models affect system behavior and performance.

Consistencycausal consistencyeventual consistency
0 likes · 13 min read
Understanding Sequential, Causal, and Eventual Consistency Models
Top Architect
Top Architect
Mar 28, 2023 · Backend Development

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

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

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

Understanding Consistency in Distributed Systems

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Why Code Reuse Often Fails to Improve Efficiency in System Design

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

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

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

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

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

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

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

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

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

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

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

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

Design and Migration Strategies for the WLock Distributed Lock Service

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

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

Cache Update Strategies and Concurrency Control in Backend Systems

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

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

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

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

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

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

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

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

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

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

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

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

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

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

C2C paymentsConsistencyDistributed Systems
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.

CAP theoremConsistencyDistributed Systems
0 likes · 12 min read
Key Distributed System Design Patterns and Concepts
Meituan Technology Team
Meituan Technology Team
Aug 25, 2022 · Databases

Transactions, Consistency, and Consensus in Distributed Systems

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

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

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

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

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

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

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

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

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

Cache Consistency: Challenges and Strategies for Backend Systems

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

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

How Nacos’s Distro Protocol Ensures High‑Availability Consistency

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

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

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

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

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

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

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

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

ConsistencyDistributed SystemsObservability
0 likes · 17 min read
Improving Cache Invalidation and Consistency at Scale