clock skew
The difference between the times reported by clocks on different machines.
In more detail
Servers can differ by milliseconds and a laptop waking from sleep by minutes, which is why a sender's timestamp is a bad sort key. Skew also breaks checks that compare times across machines, such as certificate validity and token expiry. Keep machines synchronised with a time service, and design protocols that compare timestamps across machines to tolerate small differences.
Related terms
- namespace (Linux) — A Linux kernel feature that controls what a process can see, such as which other processes, network or host name.
- kernel — The core of an operating system that controls the hardware and decides what every program is allowed to do.
- wall clock time — The ordinary time of day a machine's clock reports, which can drift or jump.
- sequence number — An increasing number attached to each message so the receiver can detect gaps, reorder messages and say where to resume.
Taught in
- Namespaces And Cgroups: Isolation And Limits — Docker Architecture & Production Containers
- The time Package — Concurrent Systems Programming with Go
- Worked Design Two: A Global Chat System — Scalable System Design & Distributed Architecture