Tagged articles
4 articles
Page 1 of 1
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
dbaplus Community
dbaplus Community
Mar 22, 2020 · Backend Development

Designing Multi‑Data‑Center Redis Cache with Strong Consistency and Failover

This article walks through the evolution of a Redis‑based cache layer for multi‑data‑center deployments, addressing consistency, safety, performance, disk‑space, data loops, timestamp versioning, master‑slave failover, and global numeric aggregation, and culminates in a ready‑to‑use middleware solution.

Cache ConsistencyLogical Clockfailover
0 likes · 19 min read
Designing Multi‑Data‑Center Redis Cache with Strong Consistency and Failover