The Pragmatic Engineer

Live streaming at world-record scale with Ashutosh Agrawal

29 snips
Feb 12, 2025
Ashutosh Agrawal, former Chief Architect of JioCinema and current Staff Software Engineer at Google DeepMind, shares insights from architecting a live streaming system that achieved a world record with 32 million streams. He discusses the complexities of video streaming architecture, the trade-offs in optimizing performance, and the challenges of capacity planning, especially in the APAC region. Ashutosh also reveals why he dislikes APMs and offers valuable advice for improving systems design expertise. Tune in for a tech deep dive!
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

IPL Finale Experience

  • Ashutosh Agrawal recounts managing the world-record live stream of an Indian Premier League cricket finale.
  • The finale was calmer than the opening week, with the real challenge being the initial traffic unpredictability.
INSIGHT

Streaming Architecture Overview

  • Live video streaming involves a complex pipeline, from source feeds at the venue to cloud encoding and distribution.
  • An orchestrator manages the entire process, generating playback URLs for various devices and platforms.
INSIGHT

CDNs and Latency

  • CDNs operate on segments of a few seconds, not real-time, using HLS or DASH manifests.
  • Clients download segments based on network conditions, creating inherent latency in live streams.
Get the Snipd Podcast app to discover more snips from this episode
Get the app