Jio Cinema user handling system design: A technical deep dive into streaming video content at scale
AnsalCoding
68 views
19 slides
Oct 16, 2024
Slide 1 of 19
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
About This Presentation
CURIOUS : HOW JIOCINEMA HANDLED 32M CONCURRENT USERS .
A technical deep dive into streaming video content at scale
JioCinema is an Indian OTT media streaming service offering video streaming services. Since 2023, JioCinema has held the exclusive digital rights to broadcast the Indian Premier League...
CURIOUS : HOW JIOCINEMA HANDLED 32M CONCURRENT USERS .
A technical deep dive into streaming video content at scale
JioCinema is an Indian OTT media streaming service offering video streaming services. Since 2023, JioCinema has held the exclusive digital rights to broadcast the Indian Premier League (IPL) in India.
During the IPL 2023 final, when Dhoni came out to bat, the digital streaming platform JioCinema hit 22 million concurrent viewers
Size: 1.69 MB
Language: en
Added: Oct 16, 2024
Slides: 19 pages
Slide Content
CURIOUS : HOW JIOCINEMA HANDLED 32M CONCURRENT USERS A technical deep dive into streaming video content at scale Present By : Ansal KA
JIOCINEMA’S MULTI-CAM IPL STREAMING JioCinema is an Indian OTT media streaming service offering video streaming services. Since 2023, JioCinema has held the exclusive digital rights to broadcast the Indian Premier League (IPL) in India. With multiple cameras available on the ground, it is now possible for viewers to switch to their preference camera angle while watching IPL. This includes spider camera view, batsman view, bird's eye view, wicketkeeper view and recently added Hero Cam. Production Control Rooms (PCRs).
JIO CINEMA STATISTICS
INTRODUCTION
BASIC FLOW
FRONTEND OPTIMIZATION Feature Flags : Implemented for controlled feature rollouts to identify issues early. Features can be rolled back instantly if causing app crashes or performance drops. Enhances agility in handling real-time issues without impacting the entire user base.
FRONTEND OPTIMIZATION Scenario Simulations : Tools like Charles used to simulate different network conditions (low bandwidth, high latency). Test real-world scenarios like DNS failures , API call timeouts , and backend errors to ensure preparedness.
FRONTEND OPTIMIZATION Graceful Degradation : When certain features fail, default content is shown (e.g., home screen UI fallback). Core , P1 and P2 Features classification Errors are hidden from the user to ensure continuous satisfaction . Exponential Backoff technique for retrying failed API calls to avoid server overload.
EXPONENTIAL BACKOFF
BACKEND INFRASTRUCTURE A content delivery network (CDN) is a network of interconnected servers that speeds up webpage loading for data-heavy applications. By distributing content across multiple servers located in different geographic locations, CDNs can deliver content faster and more efficiently to users. That way, it reduces latency, improves page load times, and provides a better user experience.
BACKEND INFRASTRUCTURE
MULTI-CDN OPTIMIZATION
CACHE MANAGEMENT & OFFLOADING
PANIC MODE & SNAPSHOT-BASED FAILOVER
ASYNCHRONOUS PROCESSING WITH KAFKA
LADDER-BASED SCALING DOWN
AD INSERTION MECHANISM
CONCLUSION & FUTURE READINESS Key Takeaways : Scalability : Proactive planning and simulations ensured readiness for up to 32M users. Resilience : Panic Mode and static content delivery helped prevent system crashes during high load. Efficiency : Efficient CDN and cache management played a crucial role in handling traffic. Ad Scalability : Smooth ad insertion techniques ensured monetization without affecting the user experience. Future Improvements : Further refinement of caching policies. Enhanced database simulations for faster scaling. Even greater automation in scaling and Panic Mode activation.
QUESTIONS? References: Medium: Behind the Scenes: How JioCinema Seamlessly Streams IPL Matches to 20 Million Fans Youtube : How JioCinema live streams IPL to 20 million concurrent devices w/ Prachi Sharma | Ep 7