Tagged articles

consistency

337 articles · Page 4 of 4
MaGe Linux Operations
MaGe Linux Operations
May 1, 2018 · Fundamentals

Designing Clean Python Library APIs: A Practical Checklist

This article, based on a 2017 PyCon talk, presents a comprehensive checklist for building Python library APIs, covering simplicity, consistency, flexibility, and security with concrete examples and actionable guidelines to help developers create intuitive and reliable interfaces.

API designLibraryconsistency
0 likes · 11 min read
Designing Clean Python Library APIs: A Practical Checklist
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 7, 2018 · Backend Development

Why and How to Split Monolithic Applications: A Practical Guide

This article explains why monolithic applications need to be split, outlines the preparatory steps for understanding business complexity and defining service boundaries, and provides detailed practical guidance on database vertical and horizontal splitting, global ID generation, migration, cut‑over strategies, consistency, and post‑split stability.

Migrationbackendconsistency
0 likes · 17 min read
Why and How to Split Monolithic Applications: A Practical Guide
Java Backend Technology
Java Backend Technology
Mar 19, 2018 · Fundamentals

Why Distributed Consistency Matters: From CAP to BASE Explained

This article explores the importance of data consistency in distributed systems, illustrating real‑world scenarios, explaining consistency models such as strong, weak and eventual, and detailing the challenges and theories like CAP and BASE that guide system designers in balancing consistency, availability, and partition tolerance.

BASE theoryCAP theoremData Replication
0 likes · 18 min read
Why Distributed Consistency Matters: From CAP to BASE Explained
Architecture Digest
Architecture Digest
Jan 16, 2018 · Fundamentals

Consistency, Consensus, and Reliability in Distributed Systems

This article explains the core challenges of achieving consistency in distributed systems, describes consensus algorithms such as Paxos and Raft, discusses theoretical limits like the FLP impossibility and CAP theorem, and shows how trade‑offs among consistency, availability, and partition tolerance shape practical system design.

BlockchainCAP theoremFLP impossibility
0 likes · 24 min read
Consistency, Consensus, and Reliability in Distributed Systems
Architecture Digest
Architecture Digest
Nov 3, 2017 · Databases

Understanding Database Sharding: Why It Matters and How to Implement It

Database sharding, or splitting databases into multiple instances and tables, is essential for scaling backend systems; this article explains its importance, historical context, core concepts, storage stretching techniques, index and consistency handling, and provides a practical design example for transaction systems.

Backend ArchitectureDatabase ScalingIndexing
0 likes · 11 min read
Understanding Database Sharding: Why It Matters and How to Implement It
Qunar Tech Salon
Qunar Tech Salon
Oct 24, 2017 · Databases

Design and Implementation of Pegasus: Xiaomi’s Distributed Key‑Value Store

This article explains why Xiaomi built Pegasus to replace HBase, describes its architecture—including MetaServer, ReplicaServer, partitioning, multi‑replica design and the PacificA consensus algorithm—covers implementation challenges such as load balancing, consistency, latency, testing, and outlines current status and future plans.

C++PEGASUSconsistency
0 likes · 23 min read
Design and Implementation of Pegasus: Xiaomi’s Distributed Key‑Value Store
Architecture Digest
Architecture Digest
Sep 29, 2017 · Databases

Ensuring Consistency in Distributed Systems: From Local Transactions to Two‑Phase Commit and Compensation Mechanisms

This article examines various consistency solutions for distributed systems, including strong and eventual consistency, local database transactions, two‑phase commit, TCC, rollback mechanisms, local message tables, and compensation techniques, illustrating their trade‑offs and appropriate application scenarios.

Transactionscompensationconsistency
0 likes · 13 min read
Ensuring Consistency in Distributed Systems: From Local Transactions to Two‑Phase Commit and Compensation Mechanisms
Qunar Tech Salon
Qunar Tech Salon
Jul 26, 2017 · Databases

Understanding Distributed System Consistency, CAP, ACID, and Transaction Protocols (2PC & 3PC)

This article explains the challenges of consistency in distributed systems, introduces the CAP theorem and ACID properties, describes common distributed transaction techniques such as local message tables, transactional message middleware like RocketMQ, and details the two‑phase and three‑phase commit protocols with their advantages and drawbacks.

2PC3PCACID
0 likes · 16 min read
Understanding Distributed System Consistency, CAP, ACID, and Transaction Protocols (2PC & 3PC)
Architecture Digest
Architecture Digest
Jul 25, 2017 · Fundamentals

Understanding Distributed System Consistency: CAP Theorem, ACID, Distributed Transactions, and 2PC/3PC Protocols

This article explains the core concepts of distributed system consistency—including the CAP theorem, ACID properties, various distributed transaction techniques, and the two‑phase and three‑phase commit protocols—while illustrating practical implementations with message queues and local message tables.

2PC3PCCAP theorem
0 likes · 13 min read
Understanding Distributed System Consistency: CAP Theorem, ACID, Distributed Transactions, and 2PC/3PC Protocols
Architecture Digest
Architecture Digest
Jul 6, 2017 · Fundamentals

PacificA: Microsoft’s General Replication Framework for Large‑Scale Distributed Storage Systems

PacificA is Microsoft’s generic replication framework for large‑scale distributed storage systems that provides strong consistency, separates configuration management from data replication, and uses a primary‑secondary model with lease‑based fault detection to ensure availability, correctness, and efficient operation across heterogeneous nodes.

Fault TolerancePacificAconsistency
0 likes · 14 min read
PacificA: Microsoft’s General Replication Framework for Large‑Scale Distributed Storage Systems
Efficient Ops
Efficient Ops
Apr 6, 2017 · Fundamentals

Mastering Distributed Consistency: Real‑World Patterns and Protocols

This article examines the challenges of consistency in large‑scale distributed service systems, presents real‑world case studies such as payment transfers and order processing, and outlines practical patterns—including ACID/BASE theory, two‑phase and three‑phase commit, TCC, query, compensation, periodic reconciliation, and reliable messaging—to help engineers design robust, eventually consistent architectures.

ACIDBASECAP theorem
0 likes · 39 min read
Mastering Distributed Consistency: Real‑World Patterns and Protocols
Architecture Digest
Architecture Digest
Apr 6, 2017 · Fundamentals

Distributed Service System Consistency: Best Practices and Patterns

This article examines the challenges of achieving consistency in large‑scale distributed service systems, outlines common inconsistency scenarios such as split‑brain and lost updates, and presents practical patterns—including ACID/BASE trade‑offs, two‑phase and three‑phase commit, TCC, query, compensation, and reliable messaging—to guide engineers in designing robust, eventually consistent architectures.

ACIDBASEconsistency
0 likes · 35 min read
Distributed Service System Consistency: Best Practices and Patterns
dbaplus Community
dbaplus Community
Mar 9, 2017 · Databases

Why Redis Redlock May Not Be Safe: A Deep Dive into the Redlock Debate

An in‑depth review of the heated debate between Redis creator antirez and distributed‑systems expert Martin Kleppmann over the safety of Redis’s Redlock algorithm, covering single‑node lock pitfalls, failover issues, timing assumptions, fencing tokens, and practical recommendations for when to use Redlock versus simpler locks.

FailoverRedisRedlock
0 likes · 25 min read
Why Redis Redlock May Not Be Safe: A Deep Dive into the Redlock Debate
WeChat Backend Team
WeChat Backend Team
Oct 26, 2016 · Fundamentals

Why Fixed Membership Is Crucial for Paxos and How to Handle Dynamic Changes

The article explains that Paxos relies on a fixed set of voters (the majority) for consistency, shows why configuration‑driven member changes break the protocol, and introduces a simple dynamic membership algorithm that uses delayed activation windows to achieve atomic member updates without violating Paxos guarantees.

AlgorithmPaxosconsistency
0 likes · 8 min read
Why Fixed Membership Is Crucial for Paxos and How to Handle Dynamic Changes
WeChat Backend Team
WeChat Backend Team
Oct 25, 2016 · Backend Development

Reinventing WeChat’s Distributed Storage with Paxos: Inside the Memory Cloud Upgrade

This article details how WeChat transformed its massive memory‑cloud storage by replacing the QuorumKV NWR protocol with a non‑lease Paxos design, optimizing PaxosLog, adopting DirectIO on HDDs, and implementing operational safeguards, resulting in dramatically lower latency, higher availability, and reduced failure rates.

PaxosWeChatconsistency
0 likes · 15 min read
Reinventing WeChat’s Distributed Storage with Paxos: Inside the Memory Cloud Upgrade
WeChat Backend Team
WeChat Backend Team
Sep 8, 2016 · Databases

Why PhxSQL Rejects Multi-Write, Sharding, and Serializability: Design Trade‑offs

This article explains how PhxSQL prioritizes strong linearizable consistency, high availability, serializable isolation, and full MySQL compatibility, and why it deliberately forgoes features such as multi‑write, sharding, and strict serializable isolation due to the high cost of distributed transactions and protocol complexity.

Distributed DatabasesMySQL CompatibilityPhxSQL
0 likes · 17 min read
Why PhxSQL Rejects Multi-Write, Sharding, and Serializability: Design Trade‑offs
dbaplus Community
dbaplus Community
Aug 1, 2016 · Databases

How Facebook Scaled Its Data Storage with NoSQL: Cassandra, HBase, and Beyond

This article traces Facebook's evolution from a small social site to a global platform, explains how its massive data‑storage challenges led to the adoption of NoSQL solutions like Cassandra and HBase, and breaks down the core patterns, consistency models, and scaling techniques that power such large‑scale systems.

CassandraFacebookHBase
0 likes · 15 min read
How Facebook Scaled Its Data Storage with NoSQL: Cassandra, HBase, and Beyond
Qunar Tech Salon
Qunar Tech Salon
Jul 7, 2016 · Backend Development

Design and Practices of Qunar's Self‑Developed High‑Availability Message Middleware

This article shares Qunar's architecture and practical experience in designing a self‑developed high‑availability message middleware, covering its role in transaction processing, consistency guarantees, fault‑tolerance mechanisms, isolation, monitoring, and consumer design, and discusses trade‑offs and operational considerations.

Fault Toleranceconsistency
0 likes · 16 min read
Design and Practices of Qunar's Self‑Developed High‑Availability Message Middleware
Tencent Music Tech Team
Tencent Music Tech Team
Jun 17, 2016 · Backend Development

Design Considerations for a High‑Scale Messaging System: Capacity Estimation, Consistency Guarantees, and Avalanche Prevention

Designing Quanmin K‑Song’s high‑scale messaging system requires careful capacity estimation of throughput, storage and network traffic, robust consistency via unique transaction IDs and operation logs, and avalanche prevention through selective retries, scaling and priority‑based throttling to maintain reliability under load.

avalanche preventionbackend designcapacity planning
0 likes · 7 min read
Design Considerations for a High‑Scale Messaging System: Capacity Estimation, Consistency Guarantees, and Avalanche Prevention
Baidu Maps Tech Team
Baidu Maps Tech Team
May 11, 2016 · Backend Development

Mastering Cache Strategies: When to Use LRU, LFU, and Consistency Techniques

This article explains why caching is essential for high‑performance data retrieval, compares LRU and LFU eviction policies, presents three Redis‑based cache implementations, and discusses consistency challenges and solutions such as eviction ordering, consistent hashing, and delayed eviction in distributed systems.

LFULRURedis
0 likes · 10 min read
Mastering Cache Strategies: When to Use LRU, LFU, and Consistency Techniques
Qunar Tech Salon
Qunar Tech Salon
Mar 11, 2016 · Fundamentals

Key Concepts in Distributed Systems: Middleware, RPC, Mobile Agents, Consistency, Transactions, and Coordination Algorithms

This article reviews essential distributed‑system concepts, including middleware roles, RPC communication steps, mobile‑agent characteristics, naming services, Petri‑net modeling, logical and vector clocks, consistency models, code migration, two‑phase and three‑phase commit protocols, and election and mutual‑exclusion algorithms.

consistencyelection algorithmstransaction protocols
0 likes · 21 min read
Key Concepts in Distributed Systems: Middleware, RPC, Mobile Agents, Consistency, Transactions, and Coordination Algorithms
21CTO
21CTO
Jan 10, 2016 · Backend Development

Designing a Scalable High‑Concurrency Distributed Backend for Millions of PV Sites

This article outlines a comprehensive design for a high‑concurrency distributed backend system that handles tens of millions of page views, detailing group‑based data partitioning, master‑slave roles, consistency models, heartbeat services, and global coordination to achieve scalability and fault tolerance.

Backend Architectureconsistencyhigh concurrency
0 likes · 19 min read
Designing a Scalable High‑Concurrency Distributed Backend for Millions of PV Sites
Architect
Architect
Dec 18, 2015 · Fundamentals

Understanding Distributed Consistency: Importance, Models, and Challenges

The article explains why consistency is essential in distributed systems, describes the CAP theorem, outlines various consistency models such as strong, weak, and eventual consistency, and discusses the trade‑offs between data correctness and system performance.

CAP theoremData Replicationconsistency
0 likes · 9 min read
Understanding Distributed Consistency: Importance, Models, and Challenges
21CTO
21CTO
Dec 11, 2015 · Databases

How Amazon Dynamo Ensures High Availability with Consistent Hashing

The article explains Amazon’s Dynamo distributed key‑value store architecture, covering its decentralized design, consistent hashing with virtual nodes, replication strategies, quorum‑based read/write parameters, vector‑clock versioning, failure detection, hinted handoff, scaling mechanisms, and how these techniques together provide high availability, scalability, and reliability.

consistencykey-value storereplication
0 likes · 19 min read
How Amazon Dynamo Ensures High Availability with Consistent Hashing
Architects' Tech Alliance
Architects' Tech Alliance
Nov 25, 2015 · Cloud Computing

Overview of FusionStorage Distributed Block Storage Architecture and Features

FusionStorage is a distributed block storage solution for x86 servers that separates compute and storage, uses DHT‑based key‑value architecture, provides strong consistency and read‑repair mechanisms, and supports various cache media and advanced storage functions such as thin provisioning and synchronous replication.

DHTFusionStorageblock storage
0 likes · 6 min read
Overview of FusionStorage Distributed Block Storage Architecture and Features
21CTO
21CTO
Nov 5, 2015 · Backend Development

How CAS Prevents Data Inconsistency in High‑Concurrency Transactions

This article explains why concurrent read‑write operations on a shared balance can cause inconsistencies, illustrates the problem with a purchase‑balance example, and shows how a Compare‑And‑Set (CAS) update clause guarantees atomicity and preserves data integrity.

CASDatabaseSQL
0 likes · 7 min read
How CAS Prevents Data Inconsistency in High‑Concurrency Transactions
Architect
Architect
Aug 26, 2015 · Backend Development

Design Considerations for Master/Slave Distributed Cache with Proxy and CAS

The article analyzes the use of a master/slave architecture for distributed caching, explains why two clusters, CAS, and proxy are employed, discusses consistency and availability challenges, and evaluates possible mitigation strategies for cache failures.

CASHigh Availabilityconsistency
0 likes · 7 min read
Design Considerations for Master/Slave Distributed Cache with Proxy and CAS
21CTO
21CTO
Aug 24, 2015 · Databases

Mastering Distributed Consistency: Strategies Behind NoSQL Replication

This article systematically explores the distributed characteristics of NoSQL databases, covering consistency trade‑offs, replication techniques, anti‑entropy protocols, data placement strategies, failure detection, and coordinator election, while illustrating each concept with diagrams and practical examples.

Anti-entropyNoSQLconsistency
0 likes · 32 min read
Mastering Distributed Consistency: Strategies Behind NoSQL Replication

Challenges and Strategies for Metadata Protection in Cloud Object Storage

This article examines the problems and trade‑offs of metadata protection in cloud object storage, highlighting the importance of reliability, availability, and consistency, and comparing primary‑secondary and multi‑replica models, including the WRN algorithm and practical operational considerations.

MetadataOperationsWRN algorithm
0 likes · 28 min read
Challenges and Strategies for Metadata Protection in Cloud Object Storage
Suning Design
Suning Design
Apr 29, 2014 · Product Management

Mastering UI/UX: How Priority, Consistency, and Feel Shape User Experience

The article explores three core design semi‑principles—priority, consistency, and feel—explaining how they guide designers and product managers to allocate interface resources, maintain predictability, and create positive user emotions that can determine product success.

UI-UXconsistencydesign-principles
0 likes · 10 min read
Mastering UI/UX: How Priority, Consistency, and Feel Shape User Experience
Suning Design
Suning Design
Apr 4, 2014 · Product Management

Mastering UI Design: Why Priority, Consistency, and Feeling Matter

This article explores three essential UI design principles—priority, consistency, and feeling—explaining how they guide user decisions, reduce cognitive load, and create a satisfying experience, while offering practical tips for product designers and managers.

UI designconsistencypriority
0 likes · 11 min read
Mastering UI Design: Why Priority, Consistency, and Feeling Matter