Scaling Live Streaming for 62.2 Crore Concurrent Viewers: The Tech Behind India vs Pakistan Match
Extensive Preparation and Audits: Planning starts months in advance . Service owners define breaking points for their systems (front end, CDN, load balancer, back end, databases). Partners undergo audits to ensure their infrastructure and mitigations are ready. Front-End Optimisation: Code freezes are implemented well in advance of the back-end systems, and continue to ship new features during the tournament. Feature flags are used extensively to quickly turn off features on specific platforms if issues arise (e.g., increased crash rates). Simulations using tools like Charles mimic potential API failures (5XX errors, latency, DNS failures) to ensure a smooth user experience. Graceful degradation is implemented to minimise customer impact. Prioritising core features (P0 - live stream) and ads. Non-critical features (P1, P2) can fail without displaying error messages to users. Exponential back-off strategies are implemented for API retries to prevent system o...