Imagine two servers on opposite sides of the planet, each editing the same shopping cart. One says the item was added at 10:00:00.000; the other says it was removed at 09:59:59.998. Did the removal really come first — or is one machine's clock just running a few milliseconds fast?
In a single computer, time is easy: one clock ticks, and every event gets a number. Across many machines there is no shared clock. Network delays jitter, quartz crystals drift, and synchronizing wall-clocks perfectly is physically impossible. So "what time did this happen?" is the wrong question.
The right question is causality: did event A influence event B, or did they happen independently? In 1978 Leslie Lamport reframed distributed time around this "happened-before" relation. Vector clocks — introduced independently by Colin Fidge and Friedrich Mattern in 1988 — capture it exactly, with nothing but counters and messages.
Comments
Loading comments...