~/talk

Scaling Erlang cluster to 10,000 nodes

Talkat Code Mesh LDN 2018 · 2018-11-08..11-09· [distributed-systems]
slides:none on file

WhatsApp moves from FreeBSD/R16 to Linux/R21, packs servers into Open Compute blades, and scales a single Erlang distribution to about 1500-node cluster while reaching 10,000s via meta-clustering (multiple independent clusters connected through front-end chat nodes). Uses a central session manager plus PG2 with custom patches for high churn (600k–1.5M logins/sec), an extended distribution protocol (“andest”), and hotspot fixes: lock-counting BEAM builds, microstate accounting, BPF tracing and gdb etop scripts; many patches land upstream and most performance issues are resolved.

AI-written summary · about

  1. 0:00Intro
  2. 0:55WhatsApp User Base Growth From 200m to 15B and growing fast
  3. 3:01Paradigm Shift Fow powerful servers to many tightly packed blades
  4. 3:57Foundation Replacement
  5. 5:36Erlang Cluster: Fully Connected Mesh
  6. 7:15Distributed Process Registry A good problem to solve
  7. 8:09Coordinated Approach (global)
  8. 8:40Distributed Hash Tables
  9. 9:26Keep It Simple More than one process registry
  10. 9:58Session Manager Central storage of phone-to-node mapping
  11. 10:57pg2 for Service Discovery
  12. 11:56Meta-clustering
  13. 14:36wandist: Extending Erlang Distribution Connecting disjoint Erlang clusters
  14. 16:32Challenges
  15. 19:10Diagnostic Tools
  16. 19:55Microstate Accounting
  17. 22:04Lock Counting & Source Code
  18. 25:18Erlang OTP is getting better Some original WhatsApp patches are no longer in use
  19. 29:12Embrace Open Source community
~/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.