Design Discord (Voice Chat with Low Latency) - System Design
People hear “build Discord voice” and reach for the same WebRTC tutorial they would use for a video call: two peers, an SDP exchange, media flows, done. Discord voice is a different animal from Zoom, and the differences are what make the design interesting. There is no “meeting” you schedule and join. There is a persistent voice channel sitting inside a server, always there, and users drop in and out of it the way you walk into a room. The latency budget is tighter - voice-only, interactive, gaming-adjacent, so the target is sub-100ms mouth-to-ear, not Zoom’s 200ms. And the pathological case is not a 1000-person webinar with one speaker; it is a hot channel with 10,000+ people who can all unmute and talk, a community stage or a raid, where the fan-out is genuinely many-to-many. ...