How to Scale Up Your Video and Audio Streaming Platform
The largest test that we've done to date is 500,000 users receiving video and audio from a couple of presenters. We started out with headless browsers but there's a huge resource cost just to the overhead of a browser. What if we can just connect WebRTC as a process called signaling? That is essentially how you get two peers in a call to know about each other and establish a connection. So we wrote a much lighter weight script in Python that could handle the signaling and then send audio and video from a file.
Transcript
chevron_right
Play full episode
chevron_right
Transcript
Episode notes
Few genuinely need a multi-cloud setup. There is plenty of advice out there which mostly boils down to don’t do it, you will be worse off. Vex.dev is a startup that provides APIs for video and audio streaming. The hard part is real-time combined with massive scale - think hundreds of thousands of concurrent connections. They achieve this by using a combination of Fly.io, AWS and GCP. Jason Carter, founder of Vex Communications, is joining us today to talk about the multi-cloud setup that vex.dev runs.
Changelog++ members save 5 minutes on this episode because they made the ads disappear. Join today!
Sponsors:
FireHydrant – The reliability platform for every developer. Incidents impact everyone, not just SREs. FireHydrant gives teams the tools to maintain service catalogs, respond to incidents, communicate through status pages, and learn with retrospectives. Small teams up to 10 people can get started for free with all FireHydrant features included. No credit card required to sign up. Learn more at firehydrant.com/
Sourcegraph – Transform your code into a queryable database to create customizable visual dashboards in seconds. Sourcegraph recently launched Code Insights — now you can track what really matters to you and your team in your codebase. See how other teams are using this awesome feature at about.sourcegraph.com/code-insights
Sentry – Working code means happy customers. That’s exactly why teams choose Sentry. From error tracking to performance monitoring, Sentry helps teams see what actually matters, resolve problems quicker, and learn continuously about their applications - from the frontend to the backend. Use the code CHANGELOG and get the team plan free for three months.