Tagged articles
192 articles
Page 1 of 2
Java Baker
Java Baker
Apr 22, 2026 · Databases

A Step‑by‑Step SOP for Seamless Business Data Migration

This article outlines a comprehensive, risk‑controlled SOP for migrating business data—including model changes, storage shifts, incremental dual‑write, back‑filling, full and incremental consistency checks, read‑switching, and final decommissioning—backed by concrete SQL examples and visual diagrams.

BackendData ConsistencyData Migration
0 likes · 6 min read
A Step‑by‑Step SOP for Seamless Business Data Migration
Digital Planet
Digital Planet
Apr 20, 2026 · Industry Insights

Can Wanglaoji’s “Five‑Code One” Digital Strategy Sustain Its Billion‑Yuan Growth?

The article analyzes Wanglaoji’s 2025 financial surge, its three‑pillar strategy anchored by digitalization, the technical mechanics and real‑time benefits of the “five‑code one” system, and the critical concurrency and data‑consistency challenges that could undermine the brand’s ambition to repeatedly break the hundred‑billion‑yuan revenue threshold.

Data ConsistencyDigital TransformationFast‑moving Consumer Goods
0 likes · 14 min read
Can Wanglaoji’s “Five‑Code One” Digital Strategy Sustain Its Billion‑Yuan Growth?
Top Architect
Top Architect
Mar 25, 2026 · Backend Development

Inside a Payment Platform: How Transaction and Payment Cores Interact

This article provides a detailed technical walkthrough of a typical payment platform architecture, covering the overall system overview, core transaction and payment modules, service governance mechanisms such as unified context and data consistency, and practical production practices like performance testing and asynchronous processing.

Data ConsistencyPayment Architectureasynchronous processing
0 likes · 7 min read
Inside a Payment Platform: How Transaction and Payment Cores Interact
Architecture Digest
Architecture Digest
Feb 11, 2026 · Backend Development

Inside a Modern Payment System: Architecture, Core Components, and Operational Practices

This article explores the fundamental architecture of a payment platform, detailing the separation of transaction and payment cores, the key modules such as transaction abstraction, payment orchestration, service governance, data consistency, asynchronous processing, performance testing, and practical strategies for stability and scalability.

Data ConsistencyPayment ArchitecturePerformance Testing
0 likes · 7 min read
Inside a Modern Payment System: Architecture, Core Components, and Operational Practices
Xiaohongshu Tech REDtech
Xiaohongshu Tech REDtech
Feb 5, 2026 · Databases

How RedSQL Supercharged MySQL Performance and Achieved Zero‑Data‑Loss Replication

This article details Xiaohongshu's RedSQL MySQL kernel project, describing three major solutions—high‑throughput seckill optimization, a Binlog Server‑based zero‑data‑loss replication scheme, and second‑level DDL column addition—along with additional kernel enhancements that together delivered multi‑fold performance gains and improved stability.

DDLData ConsistencyPerformance Optimization
0 likes · 12 min read
How RedSQL Supercharged MySQL Performance and Achieved Zero‑Data‑Loss Replication
Top Architect
Top Architect
Jan 25, 2026 · Backend Development

Inside a Modern Payment System: Core Architecture, Governance, and Production Practices

This article explains how a typical payment platform is structured into transaction and payment cores, details the interactions between services, describes governance mechanisms such as unified context and data consistency, and shares practical production techniques like performance testing, async processing, and service degradation.

Data ConsistencyPayment ArchitecturePerformance Testing
0 likes · 8 min read
Inside a Modern Payment System: Core Architecture, Governance, and Production Practices
Tencent Cloud Developer
Tencent Cloud Developer
Dec 24, 2025 · Backend Development

How IMA Scaled Its AI Knowledge Base from Monolith to Micro‑services

This article walks through the end‑to‑end design of IMA's AI‑driven knowledge base, covering its definition, core business flow, architecture evolution, data ingestion pipelines, management challenges, asynchronous processing, permission modeling, and the business value demonstrated by the prototype.

AI ArchitectureData ConsistencyKnowledge Base
0 likes · 14 min read
How IMA Scaled Its AI Knowledge Base from Monolith to Micro‑services
Tech Freedom Circle
Tech Freedom Circle
Nov 15, 2025 · Databases

How to Prevent Order Loss in a 100k TPS Flash Sale When the Master DB Crashes – 5 Practical Solutions

The article dissects a high‑traffic flash‑sale interview question—how to guarantee zero order loss at 100,000 TPS when the master MySQL instance fails—by explaining the underlying performance‑consistency conflict, the three skills interviewers assess, and presenting five concrete, code‑driven solutions ranging from MySQL parameter tuning to semi‑sync replication, local message tables, group replication, and Redis‑Kafka traffic shaping.

Data ConsistencyGroup ReplicationKafka
0 likes · 28 min read
How to Prevent Order Loss in a 100k TPS Flash Sale When the Master DB Crashes – 5 Practical Solutions
IT Architects Alliance
IT Architects Alliance
Nov 4, 2025 · Backend Development

Mastering Distributed Data Consistency: Strategies, Patterns, and Best Practices

This article explores the challenges of maintaining data consistency in distributed microservice architectures, covering CAP theory, consistency models, replication strategies, transaction patterns like Saga and TCC, tooling choices, monitoring practices, and actionable best‑practice recommendations.

CAP theoremData ConsistencyDistributed Systems
0 likes · 13 min read
Mastering Distributed Data Consistency: Strategies, Patterns, and Best Practices
Top Architect
Top Architect
Nov 3, 2025 · Backend Development

Inside a Modern Payment Platform: Architecture, Core Systems & Service Governance

This article walks through the complete architecture of a payment platform, detailing the transaction and payment cores, their interactions, service governance, data consistency, DB sharding, asynchronous processing, performance testing, and practical production practices for building robust backend payment systems.

Data ConsistencyPayment Architectureasynchronous processing
0 likes · 8 min read
Inside a Modern Payment Platform: Architecture, Core Systems & Service Governance
IT Architects Alliance
IT Architects Alliance
Oct 5, 2025 · Backend Development

How to Ensure Data Consistency Across Microservices: Strategies & Code

This article explores the challenges of maintaining data consistency in microservice architectures and presents practical solutions such as distributed transactions, Saga patterns, event sourcing with CQRS, message‑queue choices, database strategies, monitoring techniques, and best‑practice guidelines for reliable implementation.

Data ConsistencyDistributed TransactionsEvent Sourcing
0 likes · 11 min read
How to Ensure Data Consistency Across Microservices: Strategies & Code
Huolala Tech
Huolala Tech
Sep 26, 2025 · Big Data

How We Migrated 40 PB of Hive Data Across Clouds with Zero Downtime

This article details the end‑to‑end design, challenges, and implementation of a cross‑cloud migration of over 200 k Hive tables and nearly 40 PB of data using the self‑developed Kirk service, covering architecture, verification steps, and lessons learned to achieve 100 % data consistency without impacting production services.

Big DataData ConsistencyData Migration
0 likes · 20 min read
How We Migrated 40 PB of Hive Data Across Clouds with Zero Downtime
vivo Internet Technology
vivo Internet Technology
Sep 24, 2025 · Backend Development

How Vivo Browser Scaled to Millions: Architecture Upgrade for High‑Performance Coin Incentive System

This article details how Vivo Browser's welfare center was re‑engineered—splitting services, sharding databases, adding arbitration and soft‑transaction mechanisms—to overcome traffic, I/O, and data‑consistency challenges, enabling stable operation at tens of millions of daily active users while reducing storage costs.

Backend ArchitectureData ConsistencyScalability
0 likes · 11 min read
How Vivo Browser Scaled to Millions: Architecture Upgrade for High‑Performance Coin Incentive System
Architecture Digest
Architecture Digest
Sep 23, 2025 · Backend Development

How to Ensure Zero Message Loss in Kafka: Proven Strategies for High‑Reliability Systems

This article explains Kafka's storage architecture, identifies three major message‑loss scenarios across production, storage, and consumption, and provides practical end‑to‑end configurations, detection methods, and business‑level patterns to achieve near‑zero message loss in high‑concurrency distributed systems.

Data ConsistencyDistributed SystemsKafka
0 likes · 13 min read
How to Ensure Zero Message Loss in Kafka: Proven Strategies for High‑Reliability Systems
Su San Talks Tech
Su San Talks Tech
Sep 8, 2025 · Backend Development

Why Online Payments Stall at Peak Hours and How Modern Backend Design Fixes It

This article dissects the architecture of modern online payment systems, explaining how layered, distributed designs handle millions of requests per second, ensure data consistency, prevent fraud, and recover from failures through robust routing, locking, reconciliation, and disaster‑recovery strategies.

Data ConsistencySecurityhigh concurrency
0 likes · 18 min read
Why Online Payments Stall at Peak Hours and How Modern Backend Design Fixes It
Big Data Technology & Architecture
Big Data Technology & Architecture
Jul 29, 2025 · Big Data

What Interviewers Really Ask About Flink, Data Consistency, and Warehouse Design

An interviewee recounts a challenging first interview that focused on Flink resource configuration, late data handling, and offline data warehouse design, and shares practical advice on attitude, thorough preparation, emphasizing real project storytelling, and post‑interview review to continuously improve performance.

Data ConsistencyData WarehouseFlink
0 likes · 4 min read
What Interviewers Really Ask About Flink, Data Consistency, and Warehouse Design
DeWu Technology
DeWu Technology
Jul 16, 2025 · Artificial Intelligence

How We Built a Scalable Offline‑Online Sequence Modeling System for Community Search

This article details the design of a community‑search pipeline that leverages long‑term user interaction sequences for CTR/CVR prediction, describes the global, online and offline architectures, enumerates the major performance and consistency challenges encountered, and presents the practical optimizations and future directions adopted to achieve reliable, high‑throughput sequence modeling.

AI OptimizationData ConsistencySequence Modeling
0 likes · 12 min read
How We Built a Scalable Offline‑Online Sequence Modeling System for Community Search
IT Services Circle
IT Services Circle
Jun 1, 2025 · Databases

Understanding MySQL Dual‑Master Architecture and Replication Modes

This article explains MySQL dual‑master architecture, covering dual‑master replication, master‑slave replication, master‑master with backup nodes, and ring replication, while discussing their advantages, common pitfalls such as loop replication and data inconsistency, and practical solutions to ensure high availability and data integrity.

Data ConsistencyDual Mastermysql
0 likes · 6 min read
Understanding MySQL Dual‑Master Architecture and Replication Modes
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
May 25, 2025 · Fundamentals

How Consensus, CAP, and BASE Shape High‑Availability Architecture

This article explains the role of consensus algorithms in achieving high‑availability through redundancy and automatic failover, clarifies distributed consistency, explores the CAP theorem and its C component, and introduces the BASE theory as a practical complement for eventual consistency in modern distributed systems.

BASE theoryCAP theoremConsensus
0 likes · 10 min read
How Consensus, CAP, and BASE Shape High‑Availability Architecture
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
May 11, 2025 · Fundamentals

Why Unreliable Clocks Threaten Distributed Systems—and How to Fix Them

This article examines the unreliability of physical clocks in distributed systems, compares synchronous and asynchronous network timing, explains the roles of wall and monotonic clocks, and explores logical clocks, snapshot isolation, and practical solutions such as Google Spanner's TrueTime to ensure data consistency.

Data ConsistencyDistributed SystemsLogical Clock
0 likes · 11 min read
Why Unreliable Clocks Threaten Distributed Systems—and How to Fix Them
Lobster Programming
Lobster Programming
Apr 28, 2025 · Backend Development

How RocketMQ Transactional Messages Ensure Distributed Data Consistency

This article explains RocketMQ's transactional message mechanism, covering half‑message storage, three transaction states, status‑check procedures, key APIs, storage reliability, and the two‑phase commit process that guarantees eventual consistency in distributed systems.

Data ConsistencyDistributed SystemsMessage Queue
0 likes · 6 min read
How RocketMQ Transactional Messages Ensure Distributed Data Consistency
JD Tech
JD Tech
Apr 27, 2025 · Backend Development

A Lightweight Mock/Spy Tool for Data Consistency in RPC Timeout Scenarios

The article analyzes data‑consistency challenges caused by RPC timeouts, especially when interfaces lack idempotency or idempotency fails, and presents a lightweight mock/spy utility that can intercept, mock, or spy on service calls to quickly restore consistency in distributed systems.

Data ConsistencyIdempotencyMock
0 likes · 11 min read
A Lightweight Mock/Spy Tool for Data Consistency in RPC Timeout Scenarios
Su San Talks Tech
Su San Talks Tech
Mar 27, 2025 · Operations

How to Ensure Data Consistency in Message Queues: 10 Hard‑Earned Lessons

This article explores why message queues can lose consistency, presents concrete solutions such as transactional two‑phase commits, persistence settings, replica configurations, unique IDs, idempotent designs, and dead‑letter queues, and shares ten practical lessons drawn from real‑world incidents.

Data ConsistencyKafkaRabbitMQ
0 likes · 12 min read
How to Ensure Data Consistency in Message Queues: 10 Hard‑Earned Lessons
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 13, 2025 · Backend Development

Design and Implementation of a Real-Time Product Tagging Platform for a Second‑Hand E‑Commerce System

This article presents a comprehensive technical case study of a three‑layer product‑tagging platform that addresses the challenges of fine‑grained operations, ensures real‑time tag updates, guarantees data consistency, and eliminates read bottlenecks through traffic separation, event‑driven processing, deduplication MQ, and multi‑level caching.

Backend ArchitectureData ConsistencyReal-time Processing
0 likes · 13 min read
Design and Implementation of a Real-Time Product Tagging Platform for a Second‑Hand E‑Commerce System
dbaplus Community
dbaplus Community
Jan 21, 2025 · Databases

How Bilibili Scaled Its Comment System with Multi‑Level Storage and Automatic Failover

Bilibili’s comment service, a critical component for user interaction, faces massive read‑write traffic that can overwhelm TiDB, so the team built a multi‑level storage architecture using Redis sorted‑sets for indexes and a custom Taishan KV store, adding automatic degradation, consistency mechanisms, and hedging policies to ensure high availability and performance.

Comment SystemData Consistencyfailover
0 likes · 12 min read
How Bilibili Scaled Its Comment System with Multi‑Level Storage and Automatic Failover
IT Architects Alliance
IT Architects Alliance
Jan 21, 2025 · Cloud Native

Understanding CAP Theory and Data Consistency Challenges in Microservice Architecture

The article explains how microservice architectures face data consistency challenges, introduces the CAP theorem's trade‑offs among consistency, availability and partition tolerance, and discusses practical solutions such as service registries, distributed transaction patterns, and cloud‑native strategies for maintaining reliable systems.

CAP theoremData ConsistencyDistributed Transactions
0 likes · 16 min read
Understanding CAP Theory and Data Consistency Challenges in Microservice Architecture
Big Data Technology & Architecture
Big Data Technology & Architecture
Jan 13, 2025 · Big Data

How Apache Paimon Manages Snapshot Expiration: Synchronous vs Asynchronous Modes

This article explains Apache Paimon's snapshot expiration mechanism, comparing synchronous and asynchronous execution modes, their advantages and drawbacks, and how table properties control expiration to balance data consistency, performance, and back‑pressure in large‑scale data processing systems.

Apache PaimonData ConsistencySynchronous
0 likes · 6 min read
How Apache Paimon Manages Snapshot Expiration: Synchronous vs Asynchronous Modes
Architect
Architect
Jan 9, 2025 · Industry Insights

How to Ensure Immediate Reads After Writes in Multi-Active Architectures

This article analyzes the "write‑after‑immediate‑read" challenge in multi‑active disaster‑recovery setups, breaks down solution directions, presents a three‑city five‑center case study, and outlines a four‑step model—distinguish scenarios, mark written data, assess latency, and enable near‑by access—to achieve consistent, low‑latency reads.

BackendData ConsistencyDistributed Systems
0 likes · 15 min read
How to Ensure Immediate Reads After Writes in Multi-Active Architectures
IT Architects Alliance
IT Architects Alliance
Jan 7, 2025 · Industry Insights

Why Multi-Active Architecture Matters and How to Build It

The article explains why multi‑active (active‑active) architecture is essential for modern enterprises, outlines its evolution from single‑server setups, details core principles like redundancy and data synchronization, compares common deployment patterns, examines industry use cases, and discusses challenges and mitigation strategies.

Data ConsistencyDistributed Systemscloud computing
0 likes · 21 min read
Why Multi-Active Architecture Matters and How to Build It
Bilibili Tech
Bilibili Tech
Dec 27, 2024 · Big Data

Consistency Architecture for Bilibili Recommendation Model Data Flow

The article outlines Bilibili’s revamped recommendation data‑flow architecture that eliminates timing and calculation inconsistencies by snapshotting online features, unifying feature computation in a single C++ library accessed via JNI, and orchestrating label‑join and sample extraction through near‑line Kafka/Flink pipelines, with further performance gains and Iceberg‑based future extensions.

Data ConsistencyFlinkIceberg
0 likes · 12 min read
Consistency Architecture for Bilibili Recommendation Model Data Flow
Xiaohongshu Tech REDtech
Xiaohongshu Tech REDtech
Dec 19, 2024 · Databases

Data Consistency Verification Practices and Implementation at Xiaohongshu

Xiaohongshu built a lock‑free, non‑disruptive data‑consistency verification tool that automatically selects optimal methods, handles heterogeneous sources and dynamic changes, performs full and incremental checks via chunked checksums or row‑by‑row comparison, quickly isolates mismatches, and supports automatic remediation, ensuring reliable migrations and sharding.

Data ConsistencyDistributed Systemsdata validation
0 likes · 16 min read
Data Consistency Verification Practices and Implementation at Xiaohongshu
Bilibili Tech
Bilibili Tech
Dec 13, 2024 · Databases

Design and Implementation of a Multi-Level Storage Architecture for Bilibili Comment Service

The paper proposes a multi‑level storage architecture for Bilibili’s comment service that replaces TiDB with a custom KV store (Taishan) and Redis caching, introduces unstructured indexes, CAS‑based consistency, real‑time and offline reconciliation, and a hedged degradation strategy to boost reliability, read throughput, and scalability during traffic spikes.

Comment SystemData ConsistencyNoSQL
0 likes · 13 min read
Design and Implementation of a Multi-Level Storage Architecture for Bilibili Comment Service
Huolala Tech
Huolala Tech
Nov 8, 2024 · Backend Development

How Huolala Built a Scalable Real‑Time Reconciliation Platform for Millions of Daily Transactions

Huolala’s real‑time reconciliation platform tackles massive daily transaction volumes by addressing distributed system consistency, high‑throughput data ingestion, dynamic cluster scaling, and security safeguards, enabling sub‑second settlement verification across hundreds of services.

Backend ArchitectureData ConsistencyDistributed Systems
0 likes · 10 min read
How Huolala Built a Scalable Real‑Time Reconciliation Platform for Millions of Daily Transactions
Test Development Learning Exchange
Test Development Learning Exchange
Oct 23, 2024 · Fundamentals

Understanding Race Conditions, Deadlocks, Resource Contention, and Data Consistency in Multithreaded Python

This article explains common multithreading problems such as race conditions, deadlocks, resource contention, and data consistency issues, and provides Python code examples that demonstrate synchronization techniques, lock ordering, connection pooling, thread pools, and transaction management to ensure correct and stable concurrent execution.

Data ConsistencyPythonResource Management
0 likes · 10 min read
Understanding Race Conditions, Deadlocks, Resource Contention, and Data Consistency in Multithreaded Python
Ctrip Technology
Ctrip Technology
Oct 11, 2024 · Big Data

Design and Implementation of Ctrip International Ticketing Data Middle Platform

This article details Ctrip's data middle‑platform solution for international ticketing, covering background challenges, design principles, key technical practices such as version control, P2P distribution, data timeliness, robustness, consumption‑process optimization, overall architecture, achieved benefits, and future plans.

Data ConsistencyData PlatformVersion Control
0 likes · 16 min read
Design and Implementation of Ctrip International Ticketing Data Middle Platform
Top Architect
Top Architect
Aug 21, 2024 · Backend Development

Handling Redis Cache Penetration, Avalanche, and Breakdown in High‑Concurrency Scenarios

This article explains the four common Redis cache pitfalls—cache penetration, avalanche, breakdown, and data inconsistency—demonstrates how they can crash high‑traffic systems, and provides practical Java/Spring Boot solutions such as empty‑object caching, Bloom filters, distributed locks, and delayed double‑delete strategies.

Data ConsistencyJavaSpring Boot
0 likes · 27 min read
Handling Redis Cache Penetration, Avalanche, and Breakdown in High‑Concurrency Scenarios
Eric Tech Circle
Eric Tech Circle
Jul 29, 2024 · Backend Development

How to Keep Order Data Consistent Across Multiple External Systems

This article analyzes common data‑inconsistency problems in order‑placement workflows that involve many external services and presents a lightweight final‑consistency architecture with practical design guidelines, retry strategies, and compensation mechanisms to ensure reliable backend processing.

Backend ArchitectureData Consistencydistributed-transaction
0 likes · 6 min read
How to Keep Order Data Consistent Across Multiple External Systems
Ctrip Technology
Ctrip Technology
Jul 5, 2024 · Backend Development

Design and Optimization of Ctrip Ticket Booking Transaction System for Flash‑Sale Events

This article examines the challenges faced by Ctrip’s ticket reservation transaction system during flash‑sale events and details the architectural optimizations—including Redis caching, database load reduction, supplier integration, and multi‑layer traffic throttling—that ensure system stability, strong consistency, and high availability under extreme concurrency.

Data ConsistencySystem Architecturehigh availability
0 likes · 16 min read
Design and Optimization of Ctrip Ticket Booking Transaction System for Flash‑Sale Events
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 11, 2024 · Backend Development

7 Common Cache Pitfalls and Practical Solutions

This article systematically examines seven typical cache problems—penetration, breakdown, avalanche, data inconsistency, big‑key, hot‑key, and low hit rate—explaining their root causes, illustrating concrete scenarios with diagrams and code, and presenting step‑by‑step mitigation techniques such as parameter validation, Bloom filters, locking, auto‑renewal, random expirations, high‑availability setups, and cache warm‑up.

BackendCacheData Consistency
0 likes · 22 min read
7 Common Cache Pitfalls and Practical Solutions
FunTester
FunTester
Apr 28, 2024 · Backend Development

Tackling Data Consistency: Master‑Slave, Master‑Master & Leaderless Architectures

The article examines why distributed systems inevitably face data‑consistency challenges and breaks down three common service‑architecture patterns—master‑slave, master‑master, and leaderless—detailing their replication mechanisms, advantages, drawbacks, and practical solutions such as synchronous, semi‑synchronous, asynchronous replication, quorum handling, node‑failure recovery, and conflict resolution strategies.

Data ConsistencyDistributed SystemsMaster‑Slave
0 likes · 14 min read
Tackling Data Consistency: Master‑Slave, Master‑Master & Leaderless Architectures
Lobster Programming
Lobster Programming
Apr 20, 2024 · Backend Development

Why Cache Aside Can Fail: Hidden Risks and the Double-Delete Fix

Cache Aside is a popular caching pattern that reads from cache first and writes through the database before invalidating the cache, but concurrent read‑write scenarios can cause stale data; the article explains these pitfalls and recommends the double‑delete strategy to keep cache and database consistent.

Data Consistencybackend-developmentcache-aside
0 likes · 3 min read
Why Cache Aside Can Fail: Hidden Risks and the Double-Delete Fix
Architecture & Thinking
Architecture & Thinking
Apr 2, 2024 · Operations

How to Ensure Data Consistency in High‑Concurrency Distributed Systems

This article explores the challenges of maintaining data consistency under high concurrency in distributed systems, reviewing common consistency issues, distributed lock implementations, optimistic and pessimistic strategies, CAS and ABA problems, and practical solutions such as Redis locks, Zookeeper, and transaction protocols.

CASData ConsistencyOptimistic Concurrency
0 likes · 15 min read
How to Ensure Data Consistency in High‑Concurrency Distributed Systems
Tencent Cloud Developer
Tencent Cloud Developer
Mar 26, 2024 · Databases

Data Consistency in Distributed Systems: Master‑Slave, Master‑Master, and Leaderless Architectures

The article compares master‑slave, master‑master, and leaderless distributed architectures, explaining how synchronous, semi‑synchronous, and asynchronous replication affect consistency, latency and scalability, and showing that each pattern trades write throughput, conflict‑resolution complexity, and availability against strong data correctness.

Data ConsistencyDistributed SystemsMaster‑Slave
0 likes · 15 min read
Data Consistency in Distributed Systems: Master‑Slave, Master‑Master, and Leaderless Architectures
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Mar 21, 2024 · Databases

What Makes Distributed Databases Tick? Features, Examples, and Real‑World Picks

This article explains what distributed databases are, outlines their four key characteristics—high performance, scalability, high availability, and data consistency—and reviews five prominent systems (OceanBase, TDSQL, Google Spanner, CockroachDB, and TiDB) that illustrate these concepts in real‑world applications.

Data ConsistencyNewSQLScalability
0 likes · 6 min read
What Makes Distributed Databases Tick? Features, Examples, and Real‑World Picks
Zhuanzhuan Tech
Zhuanzhuan Tech
Mar 8, 2024 · Backend Development

Root Cause Analysis and Resolution of Data Inconsistency in Transactional MQ Processing

This article details a real‑world investigation of intermittent refund order failures caused by improper handling of transactions and message queues, explains the step‑by‑step debugging process, identifies large‑transaction timing issues, and presents a concrete fix that moves MQ sending until after transaction commit.

Data Consistencylarge transaction
0 likes · 9 min read
Root Cause Analysis and Resolution of Data Inconsistency in Transactional MQ Processing
Java High-Performance Architecture
Java High-Performance Architecture
Jan 3, 2024 · Backend Development

How to Prevent Message Loss in Kafka: Proven Strategies and Configurations

This article explains why introducing an MQ middleware helps with system decoupling and traffic control, outlines the data‑consistency challenges it creates, and provides practical methods to detect lost messages, identify loss points in producer, broker, and consumer stages, and configure Kafka to guarantee reliable delivery.

Data ConsistencyMessage QueueReliability
0 likes · 15 min read
How to Prevent Message Loss in Kafka: Proven Strategies and Configurations
dbaplus Community
dbaplus Community
Dec 18, 2023 · Backend Development

How to Prevent Cache Penetration, Avalanche, Breakdown, Inconsistency, and Concurrency Issues

This guide explains common cache problems such as penetration, avalanche, breakdown, data inconsistency, and concurrent access, and provides practical solutions like Bloom filters, multi‑level caching, random expiration, distributed locks, and transaction mechanisms to keep systems stable and performant.

CacheData ConsistencyDistributed Systems
0 likes · 13 min read
How to Prevent Cache Penetration, Avalanche, Breakdown, Inconsistency, and Concurrency Issues
Baidu Intelligent Cloud Tech Hub
Baidu Intelligent Cloud Tech Hub
Dec 12, 2023 · Databases

Master Database Migration to Cloud: Challenges & Solutions with Baidu DTS

This article examines the rapid growth of China's database market, the technical hurdles of moving databases to public cloud—including engine selection, lengthy migration processes, efficiency, disaster recovery, and data consistency—and explains how Baidu Intelligent Cloud's DTS platform offers a smooth, reliable, high‑availability, and high‑performance one‑stop solution with real‑world use cases.

Baidu CloudCloud DatabasesDTS
0 likes · 25 min read
Master Database Migration to Cloud: Challenges & Solutions with Baidu DTS
Wukong Talks Architecture
Wukong Talks Architecture
Sep 21, 2023 · Backend Development

Detecting and Preventing Message Loss in Kafka Message Queues

This article explains how to detect, diagnose, and prevent message loss in Kafka-based message queue systems by covering system decoupling, traffic control, data consistency challenges, producer, broker, and consumer issues, and offering configuration, monitoring, and operational best‑practice solutions.

Data ConsistencyDistributed SystemsKafka
0 likes · 12 min read
Detecting and Preventing Message Loss in Kafka Message Queues
Architect
Architect
Sep 9, 2023 · Backend Development

How to Guarantee Data Consistency in Distributed Transactions: A Practical Deep‑Dive

This article examines the challenges of maintaining data consistency across micro‑service boundaries, walks through real‑world payment and gifting scenarios, compares classic solutions such as 2PC, saga, TCC, local‑message tables and transaction messages, and finally recommends a pragmatic approach for building reliable distributed transaction mechanisms.

2PCBackend ArchitectureData Consistency
0 likes · 23 min read
How to Guarantee Data Consistency in Distributed Transactions: A Practical Deep‑Dive
DeWu Technology
DeWu Technology
Aug 14, 2023 · Operations

Capital Loss Prevention Practices and Technical System

Dewu’s capital‑loss prevention framework embeds risk assessment and technical safeguards—such as idempotency, distributed consistency, and active‑active multi‑region design—into architecture, organizes three defensive lines (development, QA, SRE), and employs real‑time, near‑real‑time, and offline verification plus regular drills, while advancing automated analysis and intelligent scaling.

Data ConsistencySREfinancial loss prevention
0 likes · 10 min read
Capital Loss Prevention Practices and Technical System
Didi Tech
Didi Tech
Aug 7, 2023 · Backend Development

How Didi Achieved Cross‑Datacenter Elasticsearch Replication for Strong Consistency

This article explains Didi's self‑developed DCDR system that replicates Elasticsearch indices across data‑center clusters, detailing its design goals, core mechanisms, chain construction, historical data recovery, real‑time sync, and data‑quality validation to ensure high availability and strong consistency.

Cross‑Datacenter ReplicationDCDRData Consistency
0 likes · 15 min read
How Didi Achieved Cross‑Datacenter Elasticsearch Replication for Strong Consistency
Senior Tony
Senior Tony
Jul 29, 2023 · Fundamentals

Essential Coding Habits Every Engineer Should Master

The article outlines practical coding habits—thorough input validation, comprehensive logging, careful RPC handling, batch processing, cautious SQL execution, safe extensions, disciplined refactoring, minimal dependencies, data consistency, and avoiding over‑engineering—to help engineers write reliable, maintainable code.

Batch ProcessingData ConsistencyRPC
0 likes · 9 min read
Essential Coding Habits Every Engineer Should Master
DeWu Technology
DeWu Technology
Jun 7, 2023 · Backend Development

Ensuring Data Consistency Across Microservices: Strategies and Design Principles

This article examines why data consistency between microservices is critical, defines key terminology, and presents two practical approaches—business‑side final consistency and platform‑side final consistency—detailing their core ideas, design principles, workflow diagrams, and real‑world implementation considerations such as idempotency, storage choices, latency tolerance, state‑machine design, concurrency control, and observability.

Data ConsistencyDistributed SystemsIdempotency
0 likes · 17 min read
Ensuring Data Consistency Across Microservices: Strategies and Design Principles
Cognitive Technology Team
Cognitive Technology Team
Jun 3, 2023 · Backend Development

Avoiding Cache Pitfalls: Avalanche, Breakdown, Penetration, and Data Consistency

This article explains cache avalanche, breakdown, and penetration, describes why they occur, and provides practical strategies such as pre‑warming, staggered expiration, mutex/queue protection, double‑layer caching, Bloom filters, and consistent update patterns to keep backend systems stable and data consistent.

BackendData Consistencycache-avalanche
0 likes · 5 min read
Avoiding Cache Pitfalls: Avalanche, Breakdown, Penetration, and Data Consistency
DataFunTalk
DataFunTalk
May 17, 2023 · Databases

Evolution of 360 Commercial Real-Time Data Warehouse and Apache Doris Deployment

This article details the three‑stage evolution of 360's real‑time data warehouse—from Storm + Druid + MySQL to Flink + Druid + TiDB and finally to Flink + Apache Doris—explaining architectural pain points, the reasons for choosing Doris, and how the new system delivers sub‑second query latency, strong consistency, and simplified operations across advertising scenarios.

Apache DorisBig DataData Consistency
0 likes · 17 min read
Evolution of 360 Commercial Real-Time Data Warehouse and Apache Doris Deployment
Architect's Guide
Architect's Guide
May 10, 2023 · Backend Development

Overview and Architecture of a Payment System

This article explains the core components and interactions of a typical payment system, describing the transaction and payment cores, their abstractions of payment types, service governance mechanisms, data consistency strategies, asynchronous processing, and practical production practices for high‑performance, reliable payment platforms.

Data Consistencyasynchronous processingpayment system
0 likes · 6 min read
Overview and Architecture of a Payment System
JD Retail Technology
JD Retail Technology
Apr 19, 2023 · Databases

Understanding Distributed Data Consistency: CAP, BASE, and Transaction Solutions

This article explains why achieving data consistency in modern distributed systems is challenging, reviews ACID properties of local databases, discusses the CAP and BASE theorems, examines event ordering mechanisms, and compares practical solutions such as two‑phase commit, XA, local message tables, and MQ‑based transaction models.

BASE theoremCAP theoremData Consistency
0 likes · 19 min read
Understanding Distributed Data Consistency: CAP, BASE, and Transaction Solutions
JD Cloud Developers
JD Cloud Developers
Apr 13, 2023 · Databases

Why Distributed Data Consistency Is Hard and How to Solve It

This article explains why achieving data consistency in modern distributed systems is challenging, reviews ACID properties, CAP and BASE theorems, event ordering, and compares practical solutions such as two‑phase commit, Paxos, local message tables, and cache concurrency strategies.

BASE theoremCAP theoremData Consistency
0 likes · 20 min read
Why Distributed Data Consistency Is Hard and How to Solve It
dbaplus Community
dbaplus Community
Apr 3, 2023 · Operations

How to Guarantee Zero Message Loss in Kafka: Practical Detection and Prevention Strategies

This article explains why MQ middleware like Kafka is introduced for system decoupling and traffic control, outlines the three key challenges of message loss detection, loss points, and prevention, and provides detailed configurations, monitoring tips, and code examples to ensure reliable, loss‑free message delivery.

ConfigurationConsumerData Consistency
0 likes · 12 min read
How to Guarantee Zero Message Loss in Kafka: Practical Detection and Prevention Strategies
ITPUB
ITPUB
Mar 11, 2023 · Databases

How to Keep MongoDB and Relational DB Dual Writes Consistent

This article explains why dual‑write consistency between MongoDB and a relational database is challenging, compares common misconceptions with cache usage, and provides practical patterns—including write ordering, retry mechanisms, and scheduled cleanup—to reliably synchronize core and non‑core data.

Data ConsistencyDual WriteJob Scheduling
0 likes · 12 min read
How to Keep MongoDB and Relational DB Dual Writes Consistent
Top Architect
Top Architect
Mar 10, 2023 · Backend Development

Comprehensive Overview of Payment System Architecture and Core Components

This article presents a detailed overview of payment system architecture, describing the transaction and payment cores, their interactions, service governance, asynchronous processing, data consistency, and practical production practices, while illustrating each concept with diagrams and code snippets.

Data ConsistencyPerformance TestingSystem Architecture
0 likes · 10 min read
Comprehensive Overview of Payment System Architecture and Core Components
Architecture Digest
Architecture Digest
Mar 9, 2023 · Backend Development

Overview and Architecture of a Payment System

This article presents a comprehensive overview of a typical payment system architecture, detailing the transaction core, payment core, service governance, data consistency, asynchronous processing, and production practices such as performance testing and stability management.

Data ConsistencySystem Architectureasynchronous processing
0 likes · 9 min read
Overview and Architecture of a Payment System
JD Tech
JD Tech
Feb 9, 2023 · Databases

Understanding MySQL Master‑Slave Replication: Overview, Benefits, Mechanisms, and Consistency Solutions

This article explains MySQL master‑slave replication, covering its basic concepts, the advantages of read‑write separation, data backup and high availability, the underlying binlog‑based mechanism, the four replication modes (full, asynchronous, semi‑synchronous, enhanced semi‑synchronous), common consistency challenges, and practical ways to mitigate them.

Data ConsistencyMaster‑SlaveRead-Write Separation
0 likes · 18 min read
Understanding MySQL Master‑Slave Replication: Overview, Benefits, Mechanisms, and Consistency Solutions

Database Independence Migration for Yanxuan Trading System: Architecture Evolution and Implementation

Yanxuan migrated its monolithic trading system from a shared DDB cluster to an independent database by using Netease Data Canal for real‑time sync, a write‑stop switch with Pandora middleware, account and permission isolation, and extensive testing across three phases to ensure data consistency and minimal business impact.

Big Data IntegrationData ConsistencyEnterprise Database
0 likes · 15 min read
Database Independence Migration for Yanxuan Trading System: Architecture Evolution and Implementation
Java High-Performance Architecture
Java High-Performance Architecture
Dec 29, 2022 · Backend Development

Why Message Queues Are Essential: Decoupling, Asynchrony, and Pitfalls Explained

This article explains why message queues are used to decouple services, enable asynchronous processing, smooth traffic spikes, and improve performance, while also detailing the new challenges they introduce such as reduced availability, increased complexity, duplicate consumption, data consistency, message loss, ordering, and backlog, along with practical solutions for each issue.

Backlog ManagementData ConsistencyDecoupling
0 likes · 18 min read
Why Message Queues Are Essential: Decoupling, Asynchrony, and Pitfalls Explained
Top Architect
Top Architect
Dec 25, 2022 · Backend Development

Why Use Message Queues? Benefits, Challenges, and Practical Solutions

This article explains why message queues are essential for decoupling services, enabling asynchronous processing, and smoothing traffic spikes, then details the new challenges they introduce—such as availability, complexity, duplicate consumption, ordering, and data consistency—and offers concrete mitigation strategies for each issue.

Data ConsistencyDecouplingIdempotency
0 likes · 15 min read
Why Use Message Queues? Benefits, Challenges, and Practical Solutions
Zhuanzhuan Tech
Zhuanzhuan Tech
Dec 9, 2022 · Databases

Implementing a MySQL Data Consistency Check Tool Based on pt-table-checksum

This article describes the design, implementation, and usage of a custom MySQL data consistency checking tool that extends pt-table-checksum, handling composite primary keys, network throttling, scheduled execution, and detailed logging for both successful and failed verification scenarios.

Data ConsistencyScriptingchecksum
0 likes · 21 min read
Implementing a MySQL Data Consistency Check Tool Based on pt-table-checksum
Su San Talks Tech
Su San Talks Tech
Dec 5, 2022 · Databases

How to Keep MongoDB and Relational DB Writes Consistent

This article explores common misconceptions and practical strategies—including write ordering, delayed double‑delete, retry mechanisms, and scheduled cleanup jobs—to ensure reliable dual‑write consistency between MongoDB and traditional relational databases.

BackendData ConsistencyDatabase Synchronization
0 likes · 10 min read
How to Keep MongoDB and Relational DB Writes Consistent
Architect
Architect
Nov 22, 2022 · Backend Development

Handling Distributed Transaction Failures in Microservices: Blocking Retry, Async Queue, TCC, and Local Message Table

This article examines common strategies for handling inter‑service call failures in microservice architectures, comparing blocking retries, asynchronous queues, TCC compensation transactions, local message tables, and MQ‑based transactions, and discusses their advantages, drawbacks, and practical implementation considerations.

Data ConsistencyDistributed TransactionsMicroservices
0 likes · 17 min read
Handling Distributed Transaction Failures in Microservices: Blocking Retry, Async Queue, TCC, and Local Message Table
ITPUB
ITPUB
Nov 1, 2022 · Backend Development

How Redis Cluster Uses Gossip to Keep Nodes in Sync

This article explains why Redis clusters need distributed metadata, compares centralized and decentralized metadata storage, introduces the epidemic‑style Gossip protocol, and details how Redis Cluster implements Gossip messaging, node discovery, failure detection, and state synchronization through concrete code examples.

ClusterData Consistencyredis
0 likes · 27 min read
How Redis Cluster Uses Gossip to Keep Nodes in Sync
Top Architect
Top Architect
Sep 9, 2022 · Backend Development

Ensuring Reliable Message Delivery with Kafka: Preventing Message Loss

This article explains how to use a message queue like Kafka to decouple systems and control traffic, identifies the three main points where message loss can occur—producer, broker, and consumer—and provides practical detection methods and configuration recommendations to guarantee reliable, loss‑free message delivery.

Data ConsistencyMessage Queuemonitoring
0 likes · 12 min read
Ensuring Reliable Message Delivery with Kafka: Preventing Message Loss
IT Architects Alliance
IT Architects Alliance
Sep 6, 2022 · Operations

How to Guarantee Zero Message Loss with Kafka: Best Practices and Configurations

This article explains why introducing a message queue like Kafka helps decouple systems and control traffic, then dives into the three key questions of detecting, locating, and preventing message loss, offering concrete monitoring methods, configuration settings, and troubleshooting steps for producers, brokers, and consumers.

BrokerConfigurationConsumer
0 likes · 13 min read
How to Guarantee Zero Message Loss with Kafka: Best Practices and Configurations
DataFunTalk
DataFunTalk
Jun 25, 2022 · Big Data

Alluxio Metadata and Data Synchronization: Design, Implementation, and Optimization

This article provides a comprehensive overview of Alluxio's metadata and data synchronization mechanisms, covering its unified namespace, mounting strategies, consistency models, various write modes, read workflows, metadata sync techniques, performance optimizations, and recommended configurations for different deployment scenarios.

AlluxioData Consistencymetadata synchronization
0 likes · 26 min read
Alluxio Metadata and Data Synchronization: Design, Implementation, and Optimization
Shopee Tech Team
Shopee Tech Team
Mar 17, 2022 · Backend Development

Real-time Checking System for Data Consistency in Microservices

Shopee’s Real‑time Checking System provides configurable, non‑intrusive data consistency verification for micro‑services by capturing change events via CDC, streaming them through Kafka, applying flexible rules and expressions, and instantly alerting mismatches, delivering second‑level detection while scaling to tens of thousands of checks per second.

CDCData ConsistencyDistributed Systems
0 likes · 20 min read
Real-time Checking System for Data Consistency in Microservices
Selected Java Interview Questions
Selected Java Interview Questions
Mar 1, 2022 · Backend Development

Cache Consistency Strategies: From Simple Write‑Through to Binlog Subscription

This article explains why caching is essential for high‑concurrency systems, analyzes the challenges of keeping database and cache data consistent, and compares five practical cache‑invalidation strategies—including write‑after‑DB, delete‑before‑write, delayed double delete, queue‑based deletion, and binlog subscription—highlighting their trade‑offs and suitable scenarios.

BackendBinlogCache
0 likes · 10 min read
Cache Consistency Strategies: From Simple Write‑Through to Binlog Subscription
IT Architects Alliance
IT Architects Alliance
Feb 27, 2022 · Backend Development

Why Message Queues Matter: Decoupling, Asynchrony, and Real‑World Pitfalls

This article explains how message queues help decouple services, enable asynchronous processing, smooth traffic spikes, and improve system resilience, while also detailing common challenges such as reduced availability, increased complexity, duplicate consumption, data consistency, message loss, ordering, and backlog, along with practical mitigation strategies.

Backend ArchitectureData ConsistencyDecoupling
0 likes · 15 min read
Why Message Queues Matter: Decoupling, Asynchrony, and Real‑World Pitfalls
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Feb 21, 2022 · Backend Development

How JD.com Scales Its E‑Commerce Platform: Vision, Principles, and Governance

After a decade of rapid growth, JD.com’s information system now handles procurement, sales, and inventory across a horizontally and vertically split architecture, tackling challenges of service decoupling, efficient communication, data consistency, and governance, while outlining its vision, principles, implementation details, and stability‑enhancing governance practices.

Data ConsistencySystem Architecturee‑commerce
0 likes · 3 min read
How JD.com Scales Its E‑Commerce Platform: Vision, Principles, and Governance
iQIYI Technical Product Team
iQIYI Technical Product Team
Feb 11, 2022 · Databases

Design and Implementation of iQIYI Content Platform Data Center (OLTP)

The paper describes iQIYI’s Content Platform Data Center (OLTP), a unified data hub that solves microservice data‑island problems by providing hundred‑billion‑scale storage, high‑QPS reads/writes, field‑level change notifications, final consistency between MongoDB and Elasticsearch, active‑active high availability, and a generic SDK, now serving 26 business lines with thousands of QPS and hundreds of millions of rows.

Data ConsistencyData centerMicroservices
0 likes · 11 min read
Design and Implementation of iQIYI Content Platform Data Center (OLTP)
NiuNiu MaTe
NiuNiu MaTe
Feb 9, 2022 · Backend Development

How to Resolve Account Transaction Conflicts with Split Writes and Lazy Integration

This article explains the "account conflict" problem caused by massive concurrent transactions, proposes splitting read/write operations and using lazy or timed data integration to improve performance and consistency, and discusses how to ensure atomicity and isolation with transactions or distributed locks.

Data Consistencydistributed-lock
0 likes · 6 min read
How to Resolve Account Transaction Conflicts with Split Writes and Lazy Integration
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 25, 2022 · Databases

Custom MySQL Data Consistency Check Tool: Design, Implementation, and Usage

This article introduces a custom MySQL data consistency verification tool inspired by pt-table-checksum, explains the challenges of handling complex primary keys, details the implementation logic with shell scripts and SQL, and provides installation, configuration, and usage instructions including parallelism, network monitoring, and scheduling.

AutomationData Consistencychecksum
0 likes · 23 min read
Custom MySQL Data Consistency Check Tool: Design, Implementation, and Usage
Cloud Native Technology Community
Cloud Native Technology Community
Jan 12, 2022 · Cloud Native

Choosing Cloud‑Native Persistent Storage Solutions for Financial Container Platforms

The article examines how banks can select and implement cloud‑native persistent storage on Kubernetes‑based container platforms, covering storage types, CSI integration, DBaaS options, data consistency challenges, and strategies for high‑concurrency fault recovery in the financial sector.

DBaaSData ConsistencyFinancial Services
0 likes · 8 min read
Choosing Cloud‑Native Persistent Storage Solutions for Financial Container Platforms
Dada Group Technology
Dada Group Technology
Dec 10, 2021 · Operations

Design and Practice of the Freight Business Check System (BCS)

The article introduces the freight BCS system, explains its business background, describes multiple validation modes for data consistency and business logic correctness, compares implementation approaches, and outlines the architecture, task flow, and future enhancements to improve system reliability and operational monitoring.

BackendData ConsistencyOperations
0 likes · 10 min read
Design and Practice of the Freight Business Check System (BCS)
vivo Internet Technology
vivo Internet Technology
Nov 3, 2021 · Backend Development

Evolution and Architecture of vivo Mall's Product System

From its 2017 v2.0 upgrade to a service‑oriented design, vivo Mall’s product system was split from the monolithic mall, progressively adding independent activity, flash‑sale, consignment, and inventory services while employing rate limiting, multi‑level caching, circuit breaking, and distributed transactions to ensure stability, high performance, and data consistency.

Backend DevelopmentData ConsistencySystem Architecture
0 likes · 9 min read
Evolution and Architecture of vivo Mall's Product System
High Availability Architecture
High Availability Architecture
Oct 16, 2021 · Backend Development

Ensuring Data Consistency Between MySQL and Redis: Strategies for Single‑Threaded and Multi‑Threaded Scenarios

This article explains what data consistency means for MySQL and Redis, analyzes inconsistency cases in both single‑threaded and concurrent environments, and proposes practical strategies—including read‑only and read‑write cache handling, message‑queue retries, binlog subscription, delayed double‑delete, and distributed locking—to achieve eventual or strong consistency.

Data ConsistencyDistributed LocksMessage Queue
0 likes · 16 min read
Ensuring Data Consistency Between MySQL and Redis: Strategies for Single‑Threaded and Multi‑Threaded Scenarios
Wukong Talks Architecture
Wukong Talks Architecture
Oct 14, 2021 · Backend Development

Understanding Redis and MySQL Data Consistency and Caching Strategies

This article explains when and how to use caching with Redis, compares recursive and table‑lookup algorithms for factorial calculation, discusses cache design, expiration policies, and presents several write‑through and write‑behind strategies to maintain data consistency between Redis and MySQL under various concurrency scenarios.

Data Consistencymysql
0 likes · 12 min read
Understanding Redis and MySQL Data Consistency and Caching Strategies
Tencent Cloud Developer
Tencent Cloud Developer
Oct 13, 2021 · Databases

Ensuring Data Consistency Between MySQL and Redis: Strategies and Best Practices

To keep MySQL and Redis synchronized, the article defines consistency, examines read‑only and read‑write cache inconsistency cases, and recommends practical strategies such as update‑DB‑then‑delete‑cache with message‑queue retries, binlog‑driven updates, delayed double‑delete, and Redis distributed locks, while outlining stronger protocols and key design considerations.

Cache StrategyData Consistencydistributed-lock
0 likes · 15 min read
Ensuring Data Consistency Between MySQL and Redis: Strategies and Best Practices
dbaplus Community
dbaplus Community
Sep 26, 2021 · Databases

Why MySQL Auto‑Increment Can Leak Data and How Distributed IDs Offer a Safer Alternative

The article examines the 2012 GitHub data‑leak caused by MySQL master‑slave failover and auto_increment misuse, explains why developers' expectations of uniqueness, monotonicity and continuity are unrealistic, and proposes half‑sync replication and distributed ID algorithms like Snowflake as more reliable solutions.

Data ConsistencyDatabase Replicationauto_increment
0 likes · 9 min read
Why MySQL Auto‑Increment Can Leak Data and How Distributed IDs Offer a Safer Alternative
Architect's Journey
Architect's Journey
Sep 3, 2021 · Backend Development

Five Critical Questions to Test Your System Design’s Reasonableness

The article outlines five essential dimensions—data consistency, isolation, extensibility, business sequencing, and high‑concurrency handling—explaining why each matters, illustrating them with concrete examples, and showing how to evaluate and improve a technical design accordingly.

CAP theoremData Consistencyarchitecture design
0 likes · 10 min read
Five Critical Questions to Test Your System Design’s Reasonableness
Architect's Tech Stack
Architect's Tech Stack
Aug 27, 2021 · Backend Development

Transaction Management Patterns in Microservices: Blocking Retry, Async Queue, TCC, and Local Message Table

The article explains common microservice transaction patterns—including blocking retry, asynchronous queues, TCC compensation transactions, and local message tables—detailing their implementations, advantages, drawbacks, and practical code examples for ensuring data consistency in distributed systems.

Data ConsistencyDistributed SystemsMicroservices
0 likes · 14 min read
Transaction Management Patterns in Microservices: Blocking Retry, Async Queue, TCC, and Local Message Table
ITPUB
ITPUB
Aug 23, 2021 · Backend Development

Ensuring Microservice Data Consistency: Retry, Queues, TCC & Message Tables

The article examines common strategies for handling service call failures and maintaining data consistency in microservice architectures, comparing blocking retries, asynchronous queues, TCC compensation transactions, local message tables, and MQ transactions, highlighting their trade‑offs, implementation details, and practical considerations.

Data ConsistencyDistributed Transactionstcc
0 likes · 16 min read
Ensuring Microservice Data Consistency: Retry, Queues, TCC & Message Tables