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
May 11, 2025 · Fundamentals

Why Unreliable Networks Threaten Distributed Systems and How to Mitigate Them

Distributed systems suffer from network unreliability—including packet loss, out‑of‑order delivery, variable latency, and ambiguous node failures—making timeout settings and fault detection challenging, and this article explains these issues, compares synchronous and asynchronous networks, and discusses strategies to balance latency and resource utilization.

Distributed SystemsNetwork Reliabilityasynchronous network
0 likes · 8 min read
Why Unreliable Networks Threaten Distributed Systems and How to Mitigate Them
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
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
May 4, 2025 · Fundamentals

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

This article examines how unreliable physical clocks—both wall and monotonic—affect distributed systems, compares synchronous and asynchronous network timing, illustrates conflicts caused by timestamp drift, and presents logical clocks and Google’s TrueTime as robust solutions for achieving consistent ordering and data reliability.

Distributed SystemsLogical ClockTrueTime
0 likes · 11 min read
Why Unreliable Clocks Threaten Distributed Systems—and How to Fix Them

Exploring Data Models: From Hierarchical to Graph and Schema-on-Read/Write

This article examines the evolution of data models—from conceptual, logical, and physical layers to hierarchical, network, relational, document, and graph structures—explaining their characteristics, implementation examples, and the contrasting schema‑on‑read versus schema‑on‑write approaches for modern data storage systems.

data modelingdatabasesgraph database
0 likes · 10 min read
Exploring Data Models: From Hierarchical to Graph and Schema-on-Read/Write
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
Mar 24, 2025 · Artificial Intelligence

How to Model Architecture for a High‑Performance Recommendation System

This article walks through business, conceptual, logical, and physical modeling steps to design a recommendation system architecture, detailing value propositions, workflow decomposition, component breakdown, and technology choices to meet reliability, low‑latency, and scalability requirements.

AISystem Designarchitecture modeling
0 likes · 10 min read
How to Model Architecture for a High‑Performance Recommendation System
Xiaokun's Architecture Exploration Notes
Xiaokun's Architecture Exploration Notes
Mar 9, 2025 · Fundamentals

Unveiling Complete Data Flow Systems: Architecture, Reliability, and Scalability

This article explains how modern data‑intensive applications are built, detailing a complete data‑flow architecture—from API requests, caching, database queries, change capture, search indexing, and message queues—to core system concerns such as reliability, scalability, and maintainability, offering practical insights for architects.

Data FlowReliabilityScalability
0 likes · 10 min read
Unveiling Complete Data Flow Systems: Architecture, Reliability, and Scalability