Skip to main content
Back to consistent hashing
distributed systems · Deep dive

Discord — routing chat channels to Elixir servers

10 min read
Scaffold

How Discord scaled to 5 million concurrent users on Elixir. Consistent hashing on channel_id to a global chat-server ring. Migration mechanics when a server dies.

This deep-dive is a scaffold.

The overview above is ready. The full-fledged deep dive with explanations, code walkthroughs, and animated diagrams is queued for the next authoring pass.

Meanwhile, return to the main consistent hashing page for the full concept explanation including animated walkthroughs and real-world scenario visualizations.