Discord's Voice and Chat Architecture
About This Architecture
How Discord handles millions of concurrent voice and text users. Shows API Gateway, Elixir-based WebSocket Gateway for real-time text, Voice Gateway with WebRTC Selective Forwarding Units, Cassandra for message storage, Redis for presence tracking, Pub/Sub for message fanout, and guild-based sharding.
Architecture prompt
How Discord handles millions of concurrent voice and text users. Shows API Gateway, Elixir-based WebSocket Gateway for real-time text, Voice Gateway with WebRTC Selective Forwarding Units, Cassandra for message storage, Redis for presence tracking, Pub/Sub for message fanout, and guild-based sharding.
Generated by Diagrams.so — AI architecture diagram generator with native Draw.io output. Fork this diagram, remix it, or download as .drawio, PNG, or SVG.