~/talk

Efficient load balancing in distributed systems

Talkat FOSSASIA Summit 2017 · 2017-03-17..03-19· [distributed-systems]
slides:none on file

Compares simple policies (round‑robin, random, least‑connections) with a simulated join-the-shortest-queue (2‑choice) that models request latency as log-normal latency and analyzes the balls‑into‑bins imbalance: random runs show max ~139 vs min ~100 (SD ~12), latency skew raises variance, while JSQ cuts SD to ~3 and max/min to ~127/114. Covers ADCs and tools (hardware F5, software Nginx, Node.js seaport), shows a small Node.js simulator and argues JSQ yields much tighter balancing in practice.

AI-written summary · about

  1. 0:00Introduction
  2. 1:19About me
  3. 2:04What is load balancing
  4. 2:18Optimal load balancing
  5. 3:06Simplification
  6. 4:45Failover
  7. 6:09ADC
  8. 7:59Hardwarebased
  9. 8:23Softwarebased
  10. 8:46Algorithms
  11. 9:42Roundrobin
  12. 10:03Cons
  13. 11:14Edge cases
  14. 12:32Balls into bins
  15. 13:18Balls into bins solution
  16. 13:58Code
  17. 14:37Results
  18. 15:57Model latency
  19. 18:10Model latencies
  20. 20:31greedy algorithm
  21. 20:44join algorithm
  22. 21:38randomize algorithm
  23. 22:00jsq
  24. 22:40Conclusion
  25. 24:26Questions
~/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.