~/talk

Scaling League of Legends Chat to 70 million Players

Talkat Strange Loop 2014 · 2014-09-17..09-19· [microservices]
links:none on file
slides:none on file

Claim: League chat serves ~67 million monthly users, ~7.5 million concurrently, and routes 1 billion events a day. Implementation uses XMPP on a heavily modified ejabberd written in Erlang, rewrites 90–95% of the server code, moves persistence from MySQL to Riak, and implements a server-side CRDT library for conflict resolution. Architecture creates per-session processes, parallelized MUC routing, 96% fewer distributed writes to session tables, hundreds of physical servers, hot code reloads, feature toggles, partial deployments and automated load testing, achieving ~99% uptime.

AI-written summary · about

  1. 0:00Introduction
  2. 0:23Question
  3. 1:33What is League
  4. 2:30What is Chat
  5. 4:30Examples of Chat
  6. 5:12HighLevel Overview
  7. 6:20Three Components
  8. 6:57Protocol
  9. 8:34Server
  10. 9:19Erlang
  11. 10:46Architecture
  12. 13:46Services
  13. 14:57Implementation
  14. 18:37Session Table
  15. 20:10Erlang VM
  16. 22:48Datastore
  17. 25:19Lessons learned
  18. 28:43Code reload
  19. 29:47Logging
  20. 31:35Load Testing
  21. 32:15Confluence
  22. 32:47Things will always fail
  23. 34:11Where are we now
  24. 35:39Questions
~/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.