~/talk

How We Balance Load Inside Yandex Messenger

TalkinRussianat Saint HighLoad++ 2025 · 2025-06-23..06-24· [distributed-systems, microservices]
links:none on file
slides:none on file

Describes how Yandex Messenger balanced load across nodes of a key stateful service by eliminating manual rebalances and reducing node failure background rates during peak load from tens of percent to tenths of a percent per second. Explains the concrete engineering changes and the mathematical tricks and approaches (from classical math) that enabled automated redistribution and much lower failure rates.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Fout service tasks
  3. 2:17Load balancing architecture
  4. 5:52Balancing algorithm goals
  5. 7:59First version problems
  6. 10:07New solution requirements
  7. 11:52Extended health checks
  8. 13:58Algorithm v2
  9. 15:01Forced balancing v3
  10. 17:50Gini index role
  11. 19:59Auto-oscillation problem
  12. 23:58Vyshnegradsky solution and friction
  13. 26:26Results summary
  14. 27:30Key takeaways
  15. 28:35Q&A
~/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.