~/talk

Predictive Load-Balancing: Unfair but Faster & more Robust

Talkat Strange Loop 2017 · 2017-09-28..09-30· [microservices, web-performance]
speakerdeck:stevegury
slides:none on file

Predictive load balancing claims to cut tail latency by treating per-request elapsed time as offered load and using a streaming median over a moving window to predict server slowness. It combines queuing theory’s instantaneous traffic estimate with a utility-style penalty for error rates, uses a probation/warmup state for new servers, and sub-selects small server views to keep stats fresh. Simulations and Netflix experiments show p99 falling from ~15s to ~5s in demos, it detects GC pauses within 1–2 median latencies, and one Twitter service runs it in production.

AI-written summary · about

  1. 0:00Start
  2. 0:27What is load balancing?
  3. 9:03Load-balancing implies "balancing"
  4. 16:28Load-Balancing Matrix
  5. 17:11Latency based Load-Balancing
  6. 19:08How to measure the latency?
  7. 20:49Recency is important
  8. 24:38What if latency estimation is off?
  9. 25:27Fast server but Bad server
  10. 26:25Keeping fresh statistics
  11. 41:43Conclusion
~/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.