Tag

consistency

0 views collected around this technical thread.

Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
Jun 8, 2025 · Databases

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.

BackendCacheData Synchronization
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.

ClusterHigh AvailabilityMaster‑Slave
0 likes · 6 min read
Essential Knowledge Points of Redis Cluster
Sanyou's Java Diary
Sanyou's Java Diary
Apr 21, 2025 · Fundamentals

Is Java's ConcurrentHashMap Strongly Consistent? Unveiling the Truth

This article explains the difference between strong and weak consistency, explores Java's memory model, visibility and ordering issues, and shows how Java 8 redesigns ConcurrentHashMap with CAS and Unsafe to achieve strong consistency for put and get operations.

ConcurrencyConcurrentHashMapJava
0 likes · 15 min read
Is Java's ConcurrentHashMap Strongly Consistent? Unveiling the Truth
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.

BASECAP theoremDistributed Systems
0 likes · 5 min read
Understanding CAP Theory and BASE: Data Consistency in Distributed Systems
High Availability Architecture
High Availability Architecture
Jan 17, 2025 · Databases

Design and Implementation of a Multi‑Level Comment Storage System for Bilibili

This article presents a comprehensive design of Bilibili's comment service architecture, detailing the transition from TiDB to a multi‑level storage system based on Taishan KV, the data models, consistency mechanisms, retry and versioning strategies, and a hedging‑based degradation policy to ensure high availability under heavy traffic.

Distributed SystemsTaishan KVTiDB
0 likes · 13 min read
Design and Implementation of a Multi‑Level Comment Storage System for Bilibili
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 theoremDistributed SystemsStrong 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.

CacheJavaRedis
0 likes · 17 min read
Cache Consistency: Pitfalls of Delayed Double Delete and Lease/Versioning Solutions with Redis
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.

Distributed Systemsarchitecturecloud computing
0 likes · 22 min read
Understanding Distributed Architecture: Concepts, Evolution, Core Technologies, Applications, Challenges, and Future Outlook
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.

Distributed Systemsarchitectureconsistency
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.

BackendConcurrencyInventory
0 likes · 7 min read
Ensuring Inventory Consistency Under Concurrent Operations: Locking Pitfalls and Solutions
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.

CPDistributed SystemsService Discovery
0 likes · 5 min read
Why Zookeeper Is Losing Favor: Consistency vs. Availability Trade‑offs
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.

BackendCacheDistributed Systems
0 likes · 13 min read
Cache Consistency Issues and Solutions in a High‑Concurrency Push System
JD Tech
JD Tech
May 18, 2024 · Backend Development

Building Inventory Pre‑Reservation Capability: Challenges and Solutions

This article analyzes the problems encountered when constructing inventory pre‑reservation functionality—such as performance bottlenecks, thread‑synchronization, deadlocks, and data‑consistency issues—and presents a set of engineering solutions including async throttling, horizontal stock splitting, Redis caching, transaction‑based DB updates, lock ordering, and consistency‑verification mechanisms, with measured performance improvements.

ConcurrencyInventoryRedis
0 likes · 11 min read
Building Inventory Pre‑Reservation Capability: Challenges and Solutions
High Availability Architecture
High Availability Architecture
May 14, 2024 · Databases

Design and Performance of Amazon MemoryDB: A Fast and Durable Memory‑First Cloud Database

The article reviews Amazon MemoryDB, a Redis‑based in‑memory database that uses a distributed transaction log to achieve strong consistency and durable persistence for high‑throughput, latency‑sensitive workloads, and compares its architecture and performance with open‑source Redis.

MemoryDBRedisconsistency
0 likes · 9 min read
Design and Performance of Amazon MemoryDB: A Fast and Durable Memory‑First Cloud Database
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.

CacheMaster‑SlaveMySQL
0 likes · 6 min read
MySQL Master‑Slave Synchronization: Three Common Approaches and Consistency Solutions
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 17, 2023 · Databases

Resolving MySQL GTID Consistency Errors When Using CREATE TABLE ... SELECT

This article explains why a MySQL 5.7.30 upgrade with GTID enabled causes a GTID‑consistency error for CREATE TABLE ... SELECT statements, describes the underlying mechanism, provides a safe two‑step workaround, and notes that MySQL 8.0.21+ now supports atomic DDL for this operation.

CREATE TABLE SELECTGTIDMySQL
0 likes · 5 min read
Resolving MySQL GTID Consistency Errors When Using CREATE TABLE ... SELECT
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.

CacheDistributed SystemsIn‑Network Storage
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.

Distributed DatabasePayment SystemSecurity
0 likes · 35 min read
Designing and Implementing a Payment Fund Account System
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%.

Cache OptimizationPerformance ScalingRedis
0 likes · 10 min read
Local Cache Optimization for Outbox Redis in a High‑Traffic Feed Stream Service