Xiaokun's Architecture Exploration Notes
Author

Xiaokun's Architecture Exploration Notes

10 years of backend architecture design | AI engineering infrastructure, storage architecture design, and performance optimization | Former senior developer at NetEase, Douyu, Inke, etc.

61
Articles
0
Likes
193
Views
0
Comments
Recent Articles

Latest from Xiaokun's Architecture Exploration Notes

61 recent articles
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
Jul 27, 2025 · Fundamentals

Can Multi-Leader and Leaderless Replication Achieve Linear Consistency?

This article examines why multi‑leader and leaderless replication models struggle to provide linear consistency, explores write‑conflict handling, quorum‑based NWR mechanisms, sloppy quorum and hinted‑handoff techniques, and summarizes the trade‑offs involved in achieving strong consistency across distributed data centers.

Distributed SystemsMulti-LeaderReplication
0 likes · 15 min read
Can Multi-Leader and Leaderless Replication Achieve Linear Consistency?

How to Achieve Linear Consistency in Single-Leader Replication: Challenges and Solutions

This article examines eventual and linear consistency in leader‑based replication, explains read‑your‑writes and shared‑data scenarios, discusses replication lag, failover trade‑offs, multi‑data‑center risks, and shows how consensus systems like ZooKeeper and etcd implement true linear consistency.

Distributed SystemsReplicationdatabases
0 likes · 13 min read
How to Achieve Linear Consistency in Single-Leader Replication: Challenges and Solutions

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
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
Jun 15, 2025 · Fundamentals

Mastering Software Architecture: From Core Concepts to Practical Design Laws

The article explores the broad, evolving nature of software architecture, emphasizing the need for contextual thinking, continuous learning, and understanding of architecture styles, characteristics, decisions, and design principles, illustrated with diagrams and key laws that guide architects in balancing trade‑offs and focusing on why over how.

Software Architecturearchitectural thinkingarchitecture fundamentals
0 likes · 8 min read
Mastering Software Architecture: From Core Concepts to Practical Design Laws

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