How Discord Rebuilt Its Voice Engine for Sub-50ms Latency episode artwork

EPISODE · Jun 14, 2026 · 6 MIN

How Discord Rebuilt Its Voice Engine for Sub-50ms Latency

from The CTO Podcast with Fexingo: Technical Leadership, Architecture, and Engineering Org · host Fexingo

In this episode of The CTO Podcast, Lucas and Luna dive into how Discord achieved sub-50 millisecond voice latency across millions of concurrent users. They break down the specific architectural changes Discord made: switching from Opus to a custom codec called Siren, rewriting their audio processing pipeline in Rust, and deploying edge relays in over 300 locations worldwide. The discussion covers why Discord chose to build its own transport protocol over WebRTC, how they handle packet loss with forward error correction, and the trade-offs between CPU usage and bandwidth. Lucas explains the key metric that guided their redesign — the 99th percentile one-way voice latency — and how they optimized for it without sacrificing audio quality. Luna challenges whether the effort was worth it given Discord's core use case for gamers, and Lucas argues that voice latency is the defining feature for real-time communication. The episode includes a brief donation segment near the end, seamlessly woven into the conversation about open-source tools and community support. Perfect for CTOs, engineering leaders, and anyone building real-time audio applications. #Discord #VoiceEngine #LowLatency #RealTimeAudio #SirenCodec #Rust #WebRTC #EdgeRelays #ForwardErrorCorrection #Sub50ms #GameChat #AudioPipeline #CTO #EngineeringLeadership #RealTimeCommunication #BusinessAndTechnology #FexingoBusiness #BusinessPodcast Keep every episode free: buymeacoffee.com/fexingo

In this episode of The CTO Podcast, Lucas and Luna dive into how Discord achieved sub-50 millisecond voice latency across millions of concurrent users. They break down the specific architectural changes Discord made: switching from Opus to a custom codec called Siren, rewriting their audio processing pipeline in Rust, and deploying edge relays in over 300 locations worldwide. The discussion covers why Discord chose to build its own transport protocol over WebRTC, how they handle packet loss with forward error correction, and the trade-offs between CPU usage and bandwidth. Lucas explains the key metric that guided their redesign — the 99th percentile one-way voice latency — and how they optimized for it without sacrificing audio quality. Luna challenges whether the effort was worth it given Discord's core use case for gamers, and Lucas argues that voice latency is the defining feature for real-time communication. The episode includes a brief donation segment near the end, seamlessly woven into the conversation about open-source tools and community support. Perfect for CTOs, engineering leaders, and anyone building real-time audio applications. #Discord #VoiceEngine #LowLatency #RealTimeAudio #SirenCodec #Rust #WebRTC #EdgeRelays #ForwardErrorCorrection #Sub50ms #GameChat #AudioPipeline #CTO #EngineeringLeadership #RealTimeCommunication #BusinessAndTechnology #FexingoBusiness #BusinessPodcast Keep every episode free: buymeacoffee.com/fexingo

NOW PLAYING

How Discord Rebuilt Its Voice Engine for Sub-50ms Latency

0:00 6:59

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

Frequently Asked Questions

How long is this episode of The CTO Podcast with Fexingo: Technical Leadership, Architecture, and Engineering Org?

This episode is 6 minutes long.

When was this The CTO Podcast with Fexingo: Technical Leadership, Architecture, and Engineering Org episode published?

This episode was published on June 14, 2026.

What is this episode about?

In this episode of The CTO Podcast, Lucas and Luna dive into how Discord achieved sub-50 millisecond voice latency across millions of concurrent users. They break down the specific architectural changes Discord made: switching from Opus to a custom...

Can I download this The CTO Podcast with Fexingo: Technical Leadership, Architecture, and Engineering Org episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!