ATRIUMsearch → argument graph
Article · 2026-07-23 · 6 moments

A Beginner’s Guide to Clocks, Causality, and Ordering in Distributed Systems

Why does something as simple as reading the time become a hard problem for distributed systems? ✦ AI generated

02
Example

An update that happened later can be discarded in favor of an earlier one, because clock differences gave the earlier write the larger timestamp, and the newer data disappears with no error raised.

Clock skew can cause a later write to be discarded in favor of an earlier one, silently losing the newer data.

transcript

Author: An update that happened later can be discarded in favor of an earlier one, because clock differences gave the earlier write the larger timestamp, and the newer data disappears with no error raised.

explains mechanism · 4

03
Context

Each machine can read time from its own hardware clock, but those clocks do not stay aligned. Network Time Protocol (NTP) tries to bring the clocks together, but it cannot eliminate the problem.

Hardware clocks drift apart, and NTP synchronization can reduce but never eliminate the misalignment.

transcript

Author: Each machine can read time from its own hardware clock, but those clocks do not stay aligned. Network Time Protocol (NTP) tries to bring the clocks together, but it cannot eliminate the problem.

explains mechanism · 1

06
Context

On a single computer, every event can be measured against one clock, so the order of the events is never in doubt. However, a distributed system, where work is spread across many independent machines, lacks a shared reference.

A single machine has one clock for ordering events, but distributed systems lack a shared reference, making ordering inherently problematic.

transcript

Author: On a single computer, every event can be measured against one clock, so the order of the events is never in doubt. However, a distributed system, where work is spread across many independent machines, lacks a shared reference.

Highlight slides
Related episodes