Database · Hard
Why are clocks unreliable in distributed databases? Clock skew and logical clocks.
DatabaseDistributed SystemsStaff
Answer preview
In a distributed system there is no single "now", so you cannot order events by comparing wall-clock timestamps from different machines. Ordering is built either from logical clocks that track causality, or from tightly bounded physical clocks where the system explicitly waits ou…