Top Platforms Leveraging BEAM's Million-Agent Concurrency

WhatsApp famously scaled to 2 million concurrent connections per server, and Discord handles millions of concurrent users and messages per second, both powered by Erlang/Elixir's BEAM VM.

The top 3

  1. Discord's 12M Concurrent Users on Just 4 Elixir Engineers: Discord scaled its real-time chat platform to 12 million concurrent users with only four engineers managing the core Elixir backend, leveraging BEAM's lightweight processes and fault tolerance over Go. Discord
  2. WhatsApp's Erlang Backend Handles Billions of Messages Daily: WhatsApp's backend, built using Erlang and running on the BEAM virtual machine, efficiently processes tens of billions of messages daily, utilizing lightweight processes for each user connection to ensure high availability and fault tolerance. WhatsApp
  3. Phoenix Framework's 2 Million WebSocket Connections on a Single Server: The Phoenix web framework, built on BEAM, demonstrated handling 2 million concurrent WebSocket connections on a single 40-core server, showcasing exceptional efficiency with only ~1.5 KB memory usage per connection. Phoenix Framework

Sources

Open the full topic