~/talk

Ok, it's time to synchronize our clocks...

Talkat Heapcon 2022 · 2022-11-03..11-04· [distributed-systems]
links:none on file
slides:none on file

Explains why System.currentTimeMillis and System.nanoTime use different OS clocks, shows Linux clocks like CLOCK_MONOTONIC vs CLOCK_REALTIME, and demonstrates that reading time can dominate benchmarks on faulty hardware; cites a Lenovo example and a flamegraph showing half the time spent in time reads. Covers NTP behavior and measured resolution (~50–100 ms with chrony/ntpd), leap seconds and Google-style TrueTime interval guarantees, and alternatives: GPS/atomic clocks and logical / hybrid logical clocks.

AI-written summary · about

  1. 0:00Introduction and speaker welcome
  2. 1:09Why time is harder than it seems
  3. 4:02Hardware clocks and CPU counters
  4. 7:39Nanosecond time and clock sources
  5. 9:34Real time vs monotonic clocks
  6. 12:47Sleep and scheduling with clocks
  7. 15:28Leap seconds and time definitions
  8. 17:30NTP and time synchronization
  9. 20:35Distributed system time issues
  10. 23:50Clock synchronization algorithms
  11. 26:12High-frequency trading clocks
  12. 28:55Summary and key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.