Skip to content
Curriculum 5 posts · ~0.9h total

Time, Clocks & Latency Measurement

PTP, TSC, and the lies your p99 tells you

Clock synchronization for trading: TSC drift, PTP/IEEE 1588 with Solarflare, MiFID II RTS-25 compliance, and coordinated omission - the measurement artifact that hides your real tail latency.

What you'll master

  • TSC vs CLOCK_MONOTONIC vs hardware timestamps
  • PTP/IEEE 1588 with ptp4l/phc2sys
  • MiFID II RTS-25 tier mapping
  • Coordinated omission detection
  • HdrHistogram vs t-digest tradeoffs

Why this matters

You cannot optimize what you cannot measure correctly. Coordinated omission routinely makes systems look 40x faster than they are. MiFID II mandates ±1µs clock accuracy. These five posts build the measurement discipline needed before any latency optimization work.

The Curriculum - 5 modules