~/talk

What's the Cost of a Millisecond?

Talkat SREcon21 · 2021-10-12..10-14· [microservices, web-performance]
slides:none on file

Claim: tiny delays amplify everywhere because queues, head‑of‑line blocking and retries compound multiplicatively. Uses an M/M/1 simulation, Kingman’s formula and a demo tool called cumulator to show higher variance or utilization explodes wait time (e.g. 50%→55% roughly doubles amplification; 90%→99% can increase it tenfold). Recommends concrete fixes: set timeouts from histograms and use a timeout budget, cap queue length and concurrency, apply backpressure, and prefer speculative or parallel dispatch over naive fork‑join. Reports single‑millisecond backend blips turning into 10–50 ms at p99.

AI-written summary · about

  1. 0:00Introduction to CLDB
  2. 0:52Defining Latency Amplification
  3. 2:20Queuing Theory Basics
  4. 5:06Simulation and Behaviors
  5. 7:35The Latency Curve
  6. 9:48Cross-Task Impact
  7. 12:47Real-World Latency Sources
  8. 14:20Timeouts and Retries
  9. 17:53Combating Amplification
  10. 20:44Advanced Performance Patterns
  11. 23:04Capacity and Backpressure
  12. 25:49Reducing Variance
  13. 28:25Summary and Conclusion
~/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.