~/talk

What's the cost of a millisecond

slides:none on file

Shows that a 1 ms delay deep in the stack can amplify into hundreds of milliseconds — example arithmetic 16 ms becomes 740 ms because of queuing and retries, with per-hop amplification often ~200% and worst cases up to 100x. Demonstrates with queueing theory and simple simulations, cites Node.js MySQL default 10 s timeout and AWS AZ RTT ≈ 0.25 ms. Recommends practical fixes: set dynamic timeouts, use a timeout budget, apply speculative execution and load shedding to control amplified latency.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Latency amplification explained
  3. 3:19Why latency matters
  4. 3:40Q Theory crash course
  5. 8:17High utilization risks
  6. 10:25Head-of-line blocking impact
  7. 12:32Sources of amplification
  8. 13:57Timeouts and retries
  9. 16:51Fork join pitfalls
  10. 18:17Microservices performance cost
  11. 19:00Setting proper timeouts
  12. 20:48Timeout budget strategy
  13. 21:54Parallel dispatch benefits
  14. 22:59Speculative execution
  15. 24:06Probabilistic retries
  16. 24:47Capacity and latency management
  17. 25:31Reducing variance importance
  18. 26:33Cost of a millisecond
~/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.