https://blog.bytebytego.com/p/a-beginners-guide-to-clocks-causality
30 candidatos extraídos · 0 já revisados · 30 pendentes · 0% de cobertura de vocabulário
“Each machine can read time from its own hardware clock, but those clocks do not stay aligned.”
“However, a distributed system, where work is spread across many independent machines, lacks a shared reference.”
“On a single computer, every event can be measured against one clock, so the order of the events is never in doubt.”
“In this article, we look at these ideas in detail: Why a machine’s own clock is a poor basis for ordering events, and how close synchronization can realistically get What it means for one event to have happened before another, and why some pairs of events have no defined order Logical clocks and vector clocks, and what each one can and cannot determine Why the order of events matters in practice, for replication, auditing, and debugging Hybrid logical clocks and the problem they were designed to solve How a globally distributed database such as Google Spanner approaches ordering at scale Clock Drift Continue reading this post for free, courtesy of Alex Xu.”
“A Beginner’s Guide to Clocks, Causality, and Ordering in Distributed Systems ByteByteGo Newsletter Subscribe Sign in A Beginner’s Guide to Clocks, Causality, and Ordering in Distributed Systems ByteByteGo Jul 23, 2026 ∙ Paid 76 2 Share Why does something as simple as reading the time become a hard problem for distributed systems?”
“This becomes a real problem whenever correctness depends on the order in which things happened.”
“Claim my free post Or purchase a paid subscription.”
“Network Time Protocol (NTP) tries to bring the clocks together, but it cannot eliminate the problem.”
“For 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.”
“An operation that depends on a correct order, such as granting access only after the change that authorized it, can act on stale information.”
“© 2026 ByteByteGo · Privacy ∙ Terms ∙ Collection notice Start your Substack Get the app Substack is the home for great culture This site requires JavaScript to run correctly.”
“Please turn on JavaScript or unblock scripts”