How JioCinema live streams IPL to 20 million concurrent devices w/ Prachi Sharma | Ep 7

  Рет қаралды 188,523

Arpit Bhayani

Arpit Bhayani

2 ай бұрын

System Design for SDE-2 and above: arpitbhayani.me/masterclass
System Design for Beginners: arpitbhayani.me/sys-design
Redis Internals: arpitbhayani.me/redis
Build Your Own Redis / DNS / BitTorrent / SQLite - with CodeCrafters.
Sign up and get 40% off - app.codecrafters.io/join?via=...
Recommended videos and playlists
If you liked this video, you will find the following videos and playlists helpful
System Design: • PostgreSQL connection ...
Designing Microservices: • Advantages of adopting...
Database Engineering: • How nested loop, hash,...
Concurrency In-depth: • How to write efficient...
Research paper dissections: • The Google File System...
Outage Dissections: • Dissecting GitHub Outa...
Hash Table Internals: • Internal Structure of ...
Bittorrent Internals: • Introduction to BitTor...
Things you will find amusing
Knowledge Base: arpitbhayani.me/knowledge-base
Bookshelf: arpitbhayani.me/bookshelf
Papershelf: arpitbhayani.me/papershelf
Other socials
I keep writing and sharing my practical experience and learnings every day, so if you resonate then follow along. I keep it no fluff.
LinkedIn: / arpitbhayani
Twitter: / arpit_bhayani
Weekly Newsletter: arpit.substack.com
Thank you for watching and supporting! it means a ton.
I am on a mission to bring out the best engineering stories from around the world and make you all fall in
love with engineering. If you resonate with this then follow along, I always keep it no-fluff.

Пікірлер: 352
@ravikatiyar6530
@ravikatiyar6530 2 ай бұрын
Couple of very high level takeaways I could get from this podcast: 1. Keep all features behind a feature flag.This helps when you need to turn something off that's breaking production without doing a code release. 2. Wherever possible have a stand by setup like a static api that can keep your most business critical services up to ensure no customer/business impact in case a disaster strikes your system. 3. Run time auto scaling of DB capacity doesn't necessarily work for use cases like live streaming. You need to scale up before traffic surges. 4. Careful planning and back of the envelop calculation for all system components that are likely to get impacted by traffic surges. Like DBs, Kafka, CDN etc.
@harshitsaini7879
@harshitsaini7879 2 ай бұрын
Always have a plan b,c,d... in case something went wrong.
@zafraan3038
@zafraan3038 2 ай бұрын
any auto scaling almost never works for any kind of sale type event.
@nagkumar
@nagkumar 2 ай бұрын
@@harshitsaini7879 It is for this reason I say NFR are no more Non Functional, they are Functional Requirments from Day One for SaaS and Cloud Solutions.
@rakshitjayaswal3224
@rakshitjayaswal3224 2 ай бұрын
not 20 million, it is 200 million
@ddhingra1991
@ddhingra1991 Ай бұрын
During the fire, disable resources for P2 & P1 for the p0 remain up
@mmmnmmmmmmmm
@mmmnmmmmmmmm 2 ай бұрын
The only IPL thing I'm interested in
@youdontknowme2508
@youdontknowme2508 2 ай бұрын
The real IPL
@adityadubey5204
@adityadubey5204 2 ай бұрын
Haven't watched a single match this year 😅
@propavangameryt405
@propavangameryt405 2 ай бұрын
Me 2
@vatsalyavigyaverma5494
@vatsalyavigyaverma5494 2 ай бұрын
Same here, I guess they use lamda function with kubernetes
@rriiii
@rriiii 2 ай бұрын
GOAT
@debdanroy2396
@debdanroy2396 2 ай бұрын
The way Prachi broke down and explained the intricacies of scaling and load handling for high-traffic applications like JIO Cinema is truly commendable.
@factfry1191
@factfry1191 2 ай бұрын
Rule 1. If it works, leave it Rule 2. Preplan things Rule 3. Always assume that things will fail 100% and have backup ready Rule 4. Feature flags are superb In short, system design requires presence of mind and future planning (generally taking peak cases)
@sleep-404
@sleep-404 2 ай бұрын
The engineering behind the amazing stuff we get to experience in life is nothing less than magic! Thanks for making these podcasts happen Arpit
@aimusicvibes
@aimusicvibes 2 ай бұрын
Feature flag (keeping in config service, based on geography), Charles testing tool, Exponential backoff for API retries, Request flow ( client -> Multi CDN -> LB -> Origin server -> DB), DB autoscaling is not recommended (takes lot of time 45 mins from her example for scaling 5 instances) (prescale is recommended after some calculations), Increasing TTL of caches when there's a hockey spike (can or cannot help), API personalization (serving static response when having this hockey spikes), Always Prepare for plan B,C,D, Multi CDN Optimizer (decides where to send the traffic, used for live streamings), Cache Offload < 90%, Designing cache policy in CDN is important (offloading cache monitoring), Kafka, DNS issue mitigation at backend,
@hrishiksancheti110
@hrishiksancheti110 2 ай бұрын
thankss
@praneetrane2993
@praneetrane2993 Ай бұрын
Thanks mate
@arjunk856
@arjunk856 Ай бұрын
Key notes: Feature flags, Circuit breaker pattern, APM, Kubernetes, Client Caching, Multi cdn optimiser, Cache offload, Kafka distributed system, Ads timing is manual, Ad personalisation is on the server side.
@prakashranjan5148
@prakashranjan5148 2 ай бұрын
Hey @arpit, can you get someone from IRCTC technical team who can get us understanding on Tatkal mechanism. I believe what Amazon, hotstar, jiocinema do in their seasons(be it ipl, billion day sale etc) irctc handles far more requests on daily basis during Tatkal.
@aviiiiiiiiiiiiiiiiiiii
@aviiiiiiiiiiiiiiiiiiii 2 ай бұрын
+1
@pankajmishra5139
@pankajmishra5139 2 ай бұрын
😂😂😂 +999999
@amitrawat5847
@amitrawat5847 2 ай бұрын
🤣🤣🤣🤣🤣
@sanrock21
@sanrock21 Ай бұрын
boss 5 crore or 10 crore people use the app or more.. during match, how much do you think IRCTC on Tatkal time?
@FakeIntellect
@FakeIntellect Ай бұрын
+1
@diwakarisonyoutube
@diwakarisonyoutube 2 ай бұрын
Thanks Arpit for bringing such content. I look for these podcasts with seniors engineers. Cheers 🎉
@prashanthvaidya5220
@prashanthvaidya5220 Ай бұрын
Watched this during my weekend run! What an amazing conversation- the passion that you both have for engineering is so inspiring. 🙏🏻
@jayvasant114
@jayvasant114 2 ай бұрын
Feels like review version of OG old Hotstar scaling to 25 million talk by Gaurav Kamboj Thanks for bringing this for us Arpit!
@abdulashiq2173
@abdulashiq2173 2 ай бұрын
Prachi is an ex-Hotstar engineer 😅
@RwikKumarDutta
@RwikKumarDutta 2 ай бұрын
Ya so many of these things seemed similar to that hotstar video, its like a lot of the same legacy but under a different company
@bestviralvideosclips
@bestviralvideosclips 2 ай бұрын
@@RwikKumarDutta Most of the devs in JioCinema are from Hotstar...
@mach-7260
@mach-7260 2 ай бұрын
The ad insertion part was quite interesting for me, I did not realize that even the ads that we see during the games could be personalized and inserted based on different strategies. SCTY-35 markers was something completely new to me. The guest really had an end to end grasp of the whole solutions and was able to present a very coherent picture. Loved the podcast :)
@jotrades26
@jotrades26 2 ай бұрын
Can we take a moment to appreciate the engineers involved in this, they stretch their time , compromise connections with their families for us to have a seamless experience, it’s a long work for 2 months and hope they deserve necessary appreciation and bonuses for their time. Yes , tech is just one aspect, but I hope asking questions like how the team is able to manage the work load is also very important.
@rishushrivastav4591
@rishushrivastav4591 2 ай бұрын
Great insights, mostly when you see these kind of things people throw around standard fancy terminologies, but here its just from pure experience, deciding on base64, multiplication factors, one small change * the number of API requests etc... Enjoyed watching this.
@pranavtiwari9948
@pranavtiwari9948 2 ай бұрын
Thank you to both of you. Lots of health and happiness to you and your family. It was just awesome.
@casinarro
@casinarro 2 ай бұрын
Thank you Prachi! You have a very sound knowledge and a great way of explaining all of it in simple words.
@arjunnayak9088
@arjunnayak9088 2 ай бұрын
Great to see someone really know what they are talking about.
@sridharaddagatla
@sridharaddagatla 2 ай бұрын
Thanks Arpit and Prachi. Interesting questions covering end to end flow and very well put in-depth answers. Looking forward to the next episode! One question on personalized Ads insertion: * Why can't we pre-determine personalized Ads for a user in advance and play them during the break? I think bucketing a user based on certain user parameters is a good work around for now. pros: * More personalization (More revenue) * Not much time is spent on choosing an Ad: Since we would already have a list of Ads to pick from, there will not be much time waste to select an Ad during break. cons: * Waste of compute/memory resources to personalize Ad for a user who never watches the stream till they get to Ad break. Some more follow up questions: * How we can know more about user? This brings more number of Advertisers on the platform. * Can we add Ad bidding in this high concurrency streaming situation. Following is another interesting question for me to dive deep: * How can we show a particular Ad to exactly 'X' number of people? i.e. No over delivering or under delivering.
@justlc7
@justlc7 2 ай бұрын
Thanks Arpit , this is gold tier!! Pls do more such videos.
@coderkashif
@coderkashif 2 ай бұрын
Amazing podcast....the engineering behind all this is mind blowing
@soumiyamuthuraj3516
@soumiyamuthuraj3516 2 ай бұрын
Kudos to you, Arpith, seriously no fluff, pure engineering ❤
@hrs4real386
@hrs4real386 2 ай бұрын
Really valuable for those who do not know how much work it takes to run the streaming platform.🔥
@aavishkarmahajan6114
@aavishkarmahajan6114 2 ай бұрын
Amazing podcast. It was great to get an idea of how things go on behind the scenes. Thank you Arpit for such insightful podcasts
@TourYatri
@TourYatri 2 ай бұрын
Thanks Arpit . Such a informative video i found first time. Keep bringing this type of content
@utkarshnagpure3034
@utkarshnagpure3034 2 ай бұрын
Amazing Podcast, Such Brilliant minds working in harmony no less than magic!!
@AbhishekKumar-xr1ss
@AbhishekKumar-xr1ss 2 ай бұрын
"ISP" : That guess by Arpit at 38:18 gave me goosebumps 🫡
@sauravjha2933
@sauravjha2933 2 ай бұрын
Great podcast, Arpit and Prachi! Thank you so much.
@user-fi1vj7dl6p
@user-fi1vj7dl6p Ай бұрын
by far the best one with so much problem statements and explained in a nice and proficient manner
@sidharthvyas7870
@sidharthvyas7870 2 ай бұрын
Learnt alot, thnx Arpit & Prachi.
@user-pq6xi2bb9o
@user-pq6xi2bb9o 2 ай бұрын
Amazing video Arpit! Thanks.
@justMRV
@justMRV Ай бұрын
Real time Problems and Solutions they come up with... These are really useful podcasts. Thanks to her.
@XP20213
@XP20213 2 ай бұрын
Thanks Prachi for letting us know the engineering behind the massive level of scaled system…
@ayushtiwari4686
@ayushtiwari4686 2 ай бұрын
This reminds me of my days in Myntra during EORS and BFF I know scale is very less but such events requires lot of planning and enthusiasm
@yashgarg4248
@yashgarg4248 2 ай бұрын
Amazing session Arpit, it was a dream to know such system from a person who knows so ins and out of it. Thanks for being curious Engineer 😊
@MohitSharma-bz1ft
@MohitSharma-bz1ft 2 ай бұрын
Very informative podcast. Thanks for bringing it up. Kudos to you guys
@ankurchaudhary9507
@ankurchaudhary9507 2 ай бұрын
Loved the term "Brace for impact" made me smile, kudos to such highly available architecture. Way Prachi explained things in detail hats off!! Thanks @arpit for bringing this podcast!! Loved it♥
@rohanzade4972
@rohanzade4972 Ай бұрын
wow! In 45 minutes lot of things got to be understood, thanks for this session.
@kritibindra4232
@kritibindra4232 2 ай бұрын
Loved this! Some interesting stories were shared. Keep them coming Arpit☺️
@girijamohanty8445
@girijamohanty8445 2 ай бұрын
loved this podcast very much. The standards and tricks mentioned are very nice
@heyhelloitsme
@heyhelloitsme Ай бұрын
Excellent discussion. Very apt questions and deep routed knowledge answers.
@adityapalacoustic9979
@adityapalacoustic9979 2 ай бұрын
00:01 JioCinema's Prachi Sharma explains the complex tech and prep behind live streaming IPL to 20 million devices 02:16 Pre-match and post-match processes for handling live streaming infra 07:33 Performing comprehensive audits for system stability and performance. 09:53 Using feature flags and simulations to ensure smooth live streaming of IPL matches 14:36 JioCinema uses an in-house conf service for feature flags. 17:16 JioCinema uses a multi-CDN infrastructure for live streaming IPL to 20 million devices 21:38 Managing varying traffic loads and mitigating system failures 23:53 Use of panic mode and planning for unexpected surges 28:05 Benefits of using Multi CDN 30:15 Images overload caused by star feature 34:30 JioCinema plans and handles use cases for live streaming IPL to 20M devices 36:47 Debugging DNS failures for JioCinema 41:13 JioCinema uses different methods for ad insertion in live streaming. 43:54 JioCinema live streams IPL to 20 million concurrent devices
@Shivani-hello
@Shivani-hello 2 ай бұрын
Awesome, having worked in Jio as a backend engineer, I really enjoyed watching this!
@user-zw1pd8rm6e
@user-zw1pd8rm6e 2 ай бұрын
Hey what was the questions asked for fresher role ?
@nageshtemp
@nageshtemp 2 ай бұрын
glad to hear that chaos engineering is being used by large infrastructures to ensure resiliency of the systems
@vibhavaribellutagi9738
@vibhavaribellutagi9738 Ай бұрын
Man!! What an amazing podcast ❤ no useless talks, every point was clear though I’m a data engineer, not everything topics discussed we work on. Please do more such podcasts 🎉
@peeyushdmishra
@peeyushdmishra 2 ай бұрын
This is awesome discussion, thank you Arpit.
@pranjalsoni1819
@pranjalsoni1819 2 ай бұрын
It is so beautiful that the streaming platform does have many bottlenecks and they have many ways to mitigate according to the failures they faced or they may face. Thanks for enlightenment Arpit❤
@gsourav
@gsourav 2 ай бұрын
Lot of good insights from the podcast. Thanks Prachi & Arpit. :)
@wasifirshad9818
@wasifirshad9818 23 күн бұрын
This is an amazing system design I watched full length. Amazing
@Dpkumar983
@Dpkumar983 Ай бұрын
hotstar mein kavi problem nahi aaya tha jab high traffic match hote the...the csk vs rcb match mein boht bar lag aaya refresh karke v thik nahi ho rha tha...jio cinema mein ec2 instances ki kami ho gyi thi kya
@prabinkumarbaniya
@prabinkumarbaniya 2 ай бұрын
Its so interesting to watch these amazing engineering working at such a high scale
@vaibhavsharma224
@vaibhavsharma224 Ай бұрын
really a great conversation between u guys ,learned a lot and still there are many things i dont know,but sounded interesting to me.
@rajsrisg
@rajsrisg Ай бұрын
Wonderful video Arpit. Prachi was amazing in her explanations. Great asset to JioCinema.
@Codetutor-DemystifyCoding
@Codetutor-DemystifyCoding 2 ай бұрын
Brilliant discussion - "Dhoni ke side effects on Content streaming architecture" would have been perfect title. Thanks for bringing this.
@anuragsengupta2880
@anuragsengupta2880 2 ай бұрын
Don’t make everything about that middle aged credit hungry manipulator.
@AllenThomasVarghese
@AllenThomasVarghese 2 ай бұрын
How do they dynamically switch between CDNs? Is it through hosting a service behind an AnycastIP?
@mzubair10
@mzubair10 2 ай бұрын
Prachi explained it really well, great questions
@prashanthgurunath1703
@prashanthgurunath1703 2 ай бұрын
This is a great podcast. I am a senior backend engineer in the UK and I found this to be very useful. Thanks for the content. PLease make more videos :)
@manikantapunnam1189
@manikantapunnam1189 Ай бұрын
Loved this discussion. Very Helpful ❤
@naruto5437
@naruto5437 2 ай бұрын
crazy how at very young age she is a director of engineering of company like jio/viacom and she is from normal college
@ancient.sanatani
@ancient.sanatani 2 ай бұрын
Might be a possibility that jio decided to have at least one female director, so hired her on low salary. Just an assumption. Beacuse there are many ofher IITians out there why they hired from normal college?
@yashsolanki069
@yashsolanki069 2 ай бұрын
She had prior experience with such engineering design in hotstar. So here is the niche that takes priority over the age factor.
@Avishwarup
@Avishwarup Ай бұрын
⁠@@ancient.sanataniirrespective of that, she was superb. Incredible communication and she must be a very valued person ! 👏🏼👏🏼
@aakashparmar560
@aakashparmar560 2 ай бұрын
Great podcast ! Learned so many new things today.
@HusainSyedAli
@HusainSyedAli Ай бұрын
What a session🎉, lot more details in a less time, we wish more these kind of sessions across all other company cloud operations, thanks Team, great job.
@sathvikvutukuri9179
@sathvikvutukuri9179 2 ай бұрын
Reg feature flags , which is the best wau to store? In db or config service. If i have it in db then i can change it immediately.if its in config do i need redeployment every time i change the flag.
@suryadev99
@suryadev99 2 ай бұрын
Great podcast, Arpit and Prachi! Loved it
@AllenThomasVarghese
@AllenThomasVarghese 2 ай бұрын
Curious to know if they host their own DNS servers and use a tiered system of resolving DNS addresses
@rajeshdevhelp
@rajeshdevhelp 2 ай бұрын
great Thanks Arpit. Would love to see more videos like this. It will be great if can get series of videos like this.
@tarunkumar-pf9bn
@tarunkumar-pf9bn 2 ай бұрын
This is great. Thank you bringing this up.
@kallyansingha3772
@kallyansingha3772 2 ай бұрын
Amazing discussion ! love it
@hashimabbas2508
@hashimabbas2508 2 ай бұрын
Excellent work, Arpit. This is gold tier content.
@shreyachandak5169
@shreyachandak5169 2 ай бұрын
Gem of a podcast! Loved it! Just a small suggestion, please ping for more real time examples when the speaker is briefing about particular part of application or explaining any backup procedures, giving out more use cases just helps in connecting better, even for newbie like me!! Overall was a interesting talk!
@agniswarbakshi7961
@agniswarbakshi7961 2 ай бұрын
Thanks a lot Arpit for sharing this amazing podcast! Keep posting such great content for all of us please :)
@abhilashm3278
@abhilashm3278 2 ай бұрын
Really liked how Arpit instantly isolated the issue and asked if it with the ISP.
@10suryakiran
@10suryakiran 2 ай бұрын
KiHi, it was a nice conversation with perfect blend of tech terms. Thank you Arpit Bhayani and Prachi Singh.
@Namesake..
@Namesake.. 2 ай бұрын
This was an amazing interview. Thank you for this 🎉
@user-rm2kf4ks8b
@user-rm2kf4ks8b 2 ай бұрын
Was hoping to know how streaming works ..do they have their own architecture or used cloud providers architecture
@avinash21899
@avinash21899 Ай бұрын
18th feb 2024 3rd test day 4, india 2nd inning the viewers showing on tv screen was 52.8Cr. can someone explain this. I have a picture of this.
@aryangrover8132
@aryangrover8132 29 күн бұрын
Amazing video Arpit Always been a big fan of your videos
@oyehooye
@oyehooye 2 ай бұрын
Great podcast, never a dull day when you are streaming at Bharat scale ❤️ More power to you, Prachi 🚀 thanks Arpit for bringing such insightful content 👍🏻
@priyaaditi4147
@priyaaditi4147 2 ай бұрын
Loved this podcast. Please bring more like this.
@visheshdubey6204
@visheshdubey6204 2 ай бұрын
Thanks for bringing up such raw and real engineering convo! More interesting than IPL
@RS-vu5um
@RS-vu5um 2 ай бұрын
Excellent Discussion. Lot to learn.
@kumardeepam
@kumardeepam Ай бұрын
Very insightful man. Thank you for sharing 🙏
@vikram--krishna
@vikram--krishna 2 ай бұрын
Thanks Arpit for the podcast, I always wanted to know what happens at the backend of Jiocinema atleast during its IPL times because of various factors as discussed in video. Please do more such podcasts
@SowrenSen
@SowrenSen 2 ай бұрын
Very useful insights, great podcast. 👍
@dhruvthakkar2103
@dhruvthakkar2103 2 ай бұрын
Great Podcast! Learnt a lot in this
@highnitin
@highnitin 2 ай бұрын
Loved the insights :) good one ❤
@abhiimali
@abhiimali 2 ай бұрын
interesting.... thanks to both of you.
@siddharthmishra1061
@siddharthmishra1061 2 ай бұрын
Thanks Arpit Sir, for doing system design PODCASTS! with actual engineers. I mean this is such a good concept, I hadn't thought was possible, and you are making it happen. The guest was really good, got to learn a lot about system design just by listening to this podcast. Good quality content 👍 keep making for us.
@vishadjain2696
@vishadjain2696 2 ай бұрын
Thanks arpit, for the amazing insights.
@prabaljain5462
@prabaljain5462 2 ай бұрын
Thanks Arpit, Excellent Session Curiosity++
@xikusyaa
@xikusyaa Ай бұрын
Why i wasn't aware of this channel before, amazing content!
@kyllex1901
@kyllex1901 2 ай бұрын
Thanks for the amazing content! Learnt a lot!
@guytonedhai
@guytonedhai 2 ай бұрын
Thank you Arpit for bringing in such content.
@RajeshNadar7
@RajeshNadar7 2 ай бұрын
How does the view count update if the video stack is serving via CDN ?
@vishalsaroj790
@vishalsaroj790 2 ай бұрын
Which language they r using for backend Rust or Go ?
@ItiShruti
@ItiShruti 2 ай бұрын
Really enjoyed this episode ..
@SahilBhosale08
@SahilBhosale08 Ай бұрын
Thanks for this amazing podcast , this is the best content and best insights
@GoProIndia
@GoProIndia 2 ай бұрын
As always, amazing podcast Arpit!
@ArunprasadRajkumar
@ArunprasadRajkumar Ай бұрын
What database has been primarily used by them?
@rajesh_singha7
@rajesh_singha7 Ай бұрын
Thanks a lot for sharing insights with us.
@ankitdubey9310
@ankitdubey9310 2 ай бұрын
The best thing I have watched this month
@SureshOjha-fc6fw
@SureshOjha-fc6fw 2 ай бұрын
Which technology uses for frontend and backend??????
Database Tuning at Zerodha - India's Largest Stock Broker
44:37
Perfology
Рет қаралды 101 М.
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 128 МЛН
How To Build Generational Wealth ft. @NeerajArora
3:44:33
Dostcast
Рет қаралды 2,5 МЛН
How Dukaan moved out of Cloud and on to Bare Metal w/ Subhash | Ep 5
1:37:08
Ankit Avasthi Exclusive Untold Stories on Jobs, Society, and Success | The Rahul Malodia Podcast
2:00:19
Everything you need to know about CockroachDB w/ Ben Darnell | Ep 6
1:30:03
How SSL Certificate Works?  - HTTPS Explained
20:42
Piyush Garg
Рет қаралды 195 М.
Did Modi really kill black money in India? : Economic case study
27:40
Think School
Рет қаралды 1,5 МЛН
Google system design interview: Design Spotify (with ex-Google EM)
42:13
IGotAnOffer: Engineering
Рет қаралды 1 МЛН
How LinkedIn improved their latency by 60%
10:00
Arpit Bhayani
Рет қаралды 38 М.
Смартфон УЛУЧШАЕТ ЗРЕНИЕ!?
0:41
ÉЖИ АКСЁНОВ
Рет қаралды 1,2 МЛН
Top 50 Amazon Prime Day 2024 Deals 🤑 (Updated Hourly!!)
12:37
The Deal Guy
Рет қаралды 1,4 МЛН
Samsung Galaxy 🔥 #shorts  #trending #youtubeshorts  #shortvideo ujjawal4u
0:10
Ujjawal4u. 120k Views . 4 hours ago
Рет қаралды 8 МЛН