Real-World Concurrency Records: WhatsApp & Discord's BEAM Scale

WhatsApp managed over 2 million concurrent connections on a single server, while Discord's Elixir codebase handled 12 million concurrent users and 26 million WebSocket events per second, showcasing BEAM's extreme scalability in production.

The top 3

  1. WhatsApp's Peak Concurrency: 2 Million Connections/Server: WhatsApp achieved a record of over 2 million simultaneous connections per server using Erlang/BEAM, enabling them to serve hundreds of millions of users with a remarkably small engineering team.
  2. Discord's Elixir Scaling: 12 Million Concurrent Users: Discord's Elixir backend, running on the BEAM VM, has handled over 12 million concurrent users and 26 million WebSocket events per second, demonstrating its capacity for massive real-time communication.
  3. BEAM's Telecom Roots: The 'Why' Behind Extreme Fault Tolerance: WhatsApp chose Erlang because its BEAM VM was designed by Ericsson for telecom systems, requiring 99.999% uptime and inherent fault tolerance to handle millions of concurrent calls without crashing, a perfect match for messaging at scale.

Sources

Open the full topic