Exit

1 / 9

Sections

Slide 1

Why does an order look shipped before it was paid?

A customer pays before the warehouse ships. But payment logs say 10:00:05 and warehouse logs say 10:00:02. Support sees an impossible timeline.

  • Each server keeps time with its own hardware clock. Those clocks run at slightly different speeds.
  • Servers periodically synchronize time, but variable network delay leaves some error.
  • Sorting these logs by time can put shipping before payment and mislead an incident investigation.
  • We need evidence of which action depended on which, not just clock readings.
Open-source tools to try (1)
  • chrony — synchronize clocks

    Try on a Linux VM with chrony installed: run chronyc tracking and inspect clock offset. Synchronization reduces error; it does not prove causal order.