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

Поділитися
Вставка
  • Опубліковано 24 гру 2024

КОМЕНТАРІ • 399

  • @ravikatiyar6530
    @ravikatiyar6530 7 місяців тому +212

    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 7 місяців тому +3

      Always have a plan b,c,d... in case something went wrong.

    • @zafraan3038
      @zafraan3038 7 місяців тому +2

      any auto scaling almost never works for any kind of sale type event.

    • @nagkumar
      @nagkumar 7 місяців тому

      @@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 7 місяців тому

      not 20 million, it is 200 million

    • @ddhingra1991
      @ddhingra1991 7 місяців тому +1

      During the fire, disable resources for P2 & P1 for the p0 remain up

  • @debdanroy2396
    @debdanroy2396 7 місяців тому +53

    The way Prachi broke down and explained the intricacies of scaling and load handling for high-traffic applications like JIO Cinema is truly commendable.

    • @riscnx
      @riscnx 3 місяці тому +3

      No she didn't.

  • @mmmnmmmmmmmm
    @mmmnmmmmmmmm 7 місяців тому +586

    The only IPL thing I'm interested in

  • @sleep-404
    @sleep-404 7 місяців тому +94

    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 7 місяців тому +38

    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,

  • @factfry1191
    @factfry1191 7 місяців тому +61

    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)

  • @diwakarisonyoutube
    @diwakarisonyoutube 7 місяців тому +55

    Thanks Arpit for bringing such content. I look for these podcasts with seniors engineers. Cheers 🎉

  • @jotrades26
    @jotrades26 7 місяців тому +21

    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.

  • @arjunk856
    @arjunk856 7 місяців тому +20

    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.

  • @mkmkmk845
    @mkmkmk845 5 місяців тому +12

    Not sure how many non tech people will be watching it, but If you're watching this, take a moment to appreciate the people who are disrupting their own schedules and family time to ensure you enjoy a seamless IPL match. Their dedication makes this experience possible and tech a good place to be in.

  • @prakashranjan5148
    @prakashranjan5148 7 місяців тому +108

    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.

  • @mach-7260
    @mach-7260 7 місяців тому +29

    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 :)

  • @mehuldantani5019
    @mehuldantani5019 4 місяці тому +1

    Excellent content! As a backend engineer, this is exactly the kind of content I love to watch. I hope you continue to bring such insightful guests on the show.

  • @prashanth_vaidya
    @prashanth_vaidya 7 місяців тому +3

    Watched this during my weekend run!
    What an amazing conversation- the passion that you both have for engineering is so inspiring. 🙏🏻

  • @rishushrivastav4591
    @rishushrivastav4591 7 місяців тому +3

    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.

  • @naruto5437
    @naruto5437 7 місяців тому +20

    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 7 місяців тому +1

      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 7 місяців тому +8

      She had prior experience with such engineering design in hotstar. So here is the niche that takes priority over the age factor.

    • @Avishwarup
      @Avishwarup 7 місяців тому +5

      ⁠@@ancient.sanataniirrespective of that, she was superb. Incredible communication and she must be a very valued person ! 👏🏼👏🏼

  • @sridharaddagatla
    @sridharaddagatla 7 місяців тому +1

    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.

  • @AshuSinghIN
    @AshuSinghIN 6 днів тому +2

    At 18:41 the series which is being talked about is the FIFA World Cup.

  • @AbhishekKumar-xr1ss
    @AbhishekKumar-xr1ss 7 місяців тому +19

    "ISP" : That guess by Arpit at 38:18 gave me goosebumps 🫡

  • @Codetutor-DemystifyCoding
    @Codetutor-DemystifyCoding 7 місяців тому +36

    Brilliant discussion - "Dhoni ke side effects on Content streaming architecture" would have been perfect title. Thanks for bringing this.

    • @anuragsengupta2880
      @anuragsengupta2880 7 місяців тому

      Don’t make everything about that middle aged credit hungry manipulator.

    • @sherlockholmes5816
      @sherlockholmes5816 2 місяці тому

      ​@@anuragsengupta2880 Respected Sir, Please can you provide your pincode so that I can send you "Burnol". That'll help you with your Jalan problem.
      Thanks 🤝

  • @Shivani-hello
    @Shivani-hello 7 місяців тому +6

    Awesome, having worked in Jio as a backend engineer, I really enjoyed watching this!

    • @user-zw1pd8rm6e
      @user-zw1pd8rm6e 7 місяців тому +1

      Hey what was the questions asked for fresher role ?

  • @prateekkumar4965
    @prateekkumar4965 Місяць тому

    During the whole podcast I had this question ringing how jio cinema use ads and at the end you discussed it, I will be exploring the whole architecture again and in a much more detailed fashion. It just rose my curiosity to another level.

  • @arjunnayak9088
    @arjunnayak9088 7 місяців тому +4

    Great to see someone really know what they are talking about.

  • @danceeonn8921
    @danceeonn8921 3 місяці тому

    After watching this podcast, I am fan of Prachi Sharma. She explained so well. Superb.

  • @soumiyamuthuraj3516
    @soumiyamuthuraj3516 7 місяців тому +7

    Kudos to you, Arpith, seriously no fluff, pure engineering ❤

  • @jayvasant114
    @jayvasant114 7 місяців тому +78

    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 7 місяців тому +8

      Prachi is an ex-Hotstar engineer 😅

    • @RwikKumarDutta
      @RwikKumarDutta 7 місяців тому +7

      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 7 місяців тому

      @@RwikKumarDutta Most of the devs in JioCinema are from Hotstar...

    • @shalabhagarwal1368
      @shalabhagarwal1368 2 місяці тому

      Absolutely exactly the same.

  • @rajsrisg
    @rajsrisg 6 місяців тому

    Wonderful video Arpit. Prachi was amazing in her explanations. Great asset to JioCinema.

  • @adityapalacoustic9979
    @adityapalacoustic9979 7 місяців тому +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

  • @MakrandGurav
    @MakrandGurav 4 місяці тому

    You've won a subscriber!
    Thanks Arpit for bringing in a knowlegable person and asking the right sort of questions!

  • @casinarro
    @casinarro 7 місяців тому +2

    Thank you Prachi! You have a very sound knowledge and a great way of explaining all of it in simple words.

  • @pranavtiwari9948
    @pranavtiwari9948 7 місяців тому +3

    Thank you to both of you. Lots of health and happiness to you and your family.
    It was just awesome.

  • @hrs4real386
    @hrs4real386 7 місяців тому +1

    Really valuable for those who do not know how much work it takes to run the streaming platform.🔥

  • @vibhavaribellutagi9738
    @vibhavaribellutagi9738 7 місяців тому

    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 🎉

  • @shreyachandak5169
    @shreyachandak5169 7 місяців тому +1

    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!

  • @dilipkrish74
    @dilipkrish74 2 місяці тому

    Very nice interview. Great insight into what it takes to stream such popular events.

  • @shiwamable
    @shiwamable 4 місяці тому

    Lot of useful interesting information in this clip. Prachi mentioned a lot of minute technical details.

  • @coderkashif
    @coderkashif 7 місяців тому +1

    Amazing podcast....the engineering behind all this is mind blowing

  • @SHUBHAMKUMAR-s7t2z
    @SHUBHAMKUMAR-s7t2z 6 місяців тому

    by far the best one with so much problem statements and explained in a nice and proficient manner

  • @heyhelloitsme
    @heyhelloitsme 6 місяців тому

    Excellent discussion. Very apt questions and deep routed knowledge answers.

  • @justMRV
    @justMRV 7 місяців тому

    Real time Problems and Solutions they come up with... These are really useful podcasts. Thanks to her.

  • @pavan4533
    @pavan4533 2 місяці тому

    I Like the concept of hockey spike when dhoni is on field
    Intresting 21:46

  • @HemantSharma-fw2gx
    @HemantSharma-fw2gx 7 місяців тому +4

    Thank you for this one!..please bring gaurav kamboj as well

  • @wasifirshad9818
    @wasifirshad9818 5 місяців тому

    This is an amazing system design I watched full length.
    Amazing

  • @manikantapunnam1189
    @manikantapunnam1189 6 місяців тому

    Loved this discussion. Very Helpful ❤

  • @justlc7
    @justlc7 7 місяців тому +2

    Thanks Arpit , this is gold tier!! Pls do more such videos.

  • @HusainSyedAli
    @HusainSyedAli 6 місяців тому

    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.

  • @utkarshnagpure3034
    @utkarshnagpure3034 7 місяців тому

    Amazing Podcast, Such Brilliant minds working in harmony no less than magic!!

  • @DharmendraAwasthi22
    @DharmendraAwasthi22 6 місяців тому +1

    It's really wow, the way Prachi explained things, i am curious to join Jio Cinema now 🤣, anyway the have done a fantastic job handling IPL Traffic 👏

  • @vaibhavsharma224
    @vaibhavsharma224 6 місяців тому

    really a great conversation between u guys ,learned a lot and still there are many things i dont know,but sounded interesting to me.

  • @rohanzade4972
    @rohanzade4972 7 місяців тому

    wow! In 45 minutes lot of things got to be understood, thanks for this session.

  • @aryangrover8132
    @aryangrover8132 6 місяців тому

    Amazing video Arpit
    Always been a big fan of your videos

  • @itsmedheeraj
    @itsmedheeraj 7 місяців тому +3

    I recall Hotstar tech video about the realtime scaling during IPL and they were discussing same strategy specially for moment when there is "DHONI" in the chapter 😃😃😃

  • @yashgarg4248
    @yashgarg4248 7 місяців тому

    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 😊

  • @TourYatri
    @TourYatri 7 місяців тому +1

    Thanks Arpit . Such a informative video i found first time. Keep bringing this type of content

  • @oyehooye
    @oyehooye 7 місяців тому +3

    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 👍🏻

  • @MohitSharma-bz1ft
    @MohitSharma-bz1ft 7 місяців тому

    Very informative podcast. Thanks for bringing it up. Kudos to you guys

  • @girijamohanty8445
    @girijamohanty8445 7 місяців тому

    loved this podcast very much. The standards and tricks mentioned are very nice

  • @mohammadpalla
    @mohammadpalla 7 місяців тому

    Thanks Arpit for bringing such content. looking forward for such podcasts with seniors engineers.

  • @ankurchaudhary9507
    @ankurchaudhary9507 7 місяців тому

    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♥

  • @siddharthmishra1061
    @siddharthmishra1061 7 місяців тому

    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.

  • @prashanthgurunath1703
    @prashanthgurunath1703 7 місяців тому

    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 :)

  • @pranjalsoni1819
    @pranjalsoni1819 7 місяців тому

    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❤

  • @maheshkoti6506
    @maheshkoti6506 4 місяці тому +2

    O my god 😂 I also have studied in the same class in the same batch at the same college where she pursued her bachelor's in engineering. Look at me, where do I stand today and look at her , oops , I am really out of words to appreciate her for this height of success she has reached. Wow so cool happy for being her classmate once upon a time. At the same time I really feel ashamed.

  • @SahilBhosale08
    @SahilBhosale08 6 місяців тому

    Thanks for this amazing podcast , this is the best content and best insights

  • @pavanpatil3956
    @pavanpatil3956 3 місяці тому +1

    Wow this was a masterpiece & it inspires me to work harder for the potential which lies in this field ❤
    IPL sponsor should change from tata to aws😅

  • @kritibindra4232
    @kritibindra4232 7 місяців тому

    Loved this! Some interesting stories were shared. Keep them coming Arpit☺️

  • @HappyKumar-jr9pb
    @HappyKumar-jr9pb 5 місяців тому +5

    Hi all techies,
    I am stuck trying to figure out the maximum capacity of my system. Specifically, I am running Nginx on a system with:
    4 CPUs
    8 GB RAM
    1 Gbps network
    I want to know how many requests it can handle. Additionally, I want to understand the capacity for the backend Node.js application and the database. Is there any formula or type of calculation to determine this?

    • @AsliEngineering
      @AsliEngineering  5 місяців тому

      It totally depends on what you are doing in every request, be it talking to database, or manipulating string, or encryption, or making network calls. Even within each of this, it depends on how time consuming each task/operation is.
      There is no magic formula that can help you determine the #req your machine can handle. So the best way to do this is by load testing your setup and then extrapolate.

  • @nageshtemp
    @nageshtemp 7 місяців тому

    glad to hear that chaos engineering is being used by large infrastructures to ensure resiliency of the systems

  • @aavishkarmahajan6114
    @aavishkarmahajan6114 7 місяців тому

    Amazing podcast. It was great to get an idea of how things go on behind the scenes. Thank you Arpit for such insightful podcasts

  • @visheshdubey6204
    @visheshdubey6204 7 місяців тому

    Thanks for bringing up such raw and real engineering convo! More interesting than IPL

  • @Dpkumar983
    @Dpkumar983 7 місяців тому +1

    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

  • @mzubair10
    @mzubair10 7 місяців тому +1

    Prachi explained it really well, great questions

  • @priyaaditi4147
    @priyaaditi4147 7 місяців тому

    Loved this podcast. Please bring more like this.

  • @d2j1-a
    @d2j1-a 7 місяців тому

    Amazing video Arpit! Thanks.

  • @sauravjha2933
    @sauravjha2933 7 місяців тому

    Great podcast, Arpit and Prachi! Thank you so much.

  • @abhilashm3278
    @abhilashm3278 7 місяців тому

    Really liked how Arpit instantly isolated the issue and asked if it with the ISP.

  • @Cant_think_of_any
    @Cant_think_of_any 7 місяців тому

    Why i wasn't aware of this channel before, amazing content!

  • @jagrukstudents8588
    @jagrukstudents8588 6 місяців тому

    Very great podcast...Please make a part 2 on the ADs part talked about at the end

  • @hashimabbas2508
    @hashimabbas2508 7 місяців тому

    Excellent work, Arpit. This is gold tier content.

  • @SowrenSen
    @SowrenSen 7 місяців тому

    Very useful insights, great podcast. 👍

  • @gsourav
    @gsourav 7 місяців тому

    Lot of good insights from the podcast. Thanks Prachi & Arpit. :)

  • @prabinkumarbaniya
    @prabinkumarbaniya 7 місяців тому

    Its so interesting to watch these amazing engineering working at such a high scale

  • @10suryakiran
    @10suryakiran 7 місяців тому

    KiHi, it was a nice conversation with perfect blend of tech terms. Thank you Arpit Bhayani and Prachi Singh.

  • @peeyushdmishra
    @peeyushdmishra 7 місяців тому

    This is awesome discussion, thank you Arpit.

  • @tagorenathvuyyuru8659
    @tagorenathvuyyuru8659 7 місяців тому

    Great content @Arpit Bhayani ! Would be fantastic to also delve into the tech stack, including databases, caches, cloud services, and programming languages, and how these support their use cases. Excited to hear more on this!

    • @AsliEngineering
      @AsliEngineering  7 місяців тому +1

      There are certain things some businesses cannot talk about and these details are sensitive for them and they cannot talk about it.
      This is why we never delved into that topic.

  • @kallyansingha3772
    @kallyansingha3772 7 місяців тому

    Amazing discussion ! love it

  • @suryadev99
    @suryadev99 7 місяців тому

    Great podcast, Arpit and Prachi! Loved it

  • @aakashparmar560
    @aakashparmar560 7 місяців тому

    Great podcast ! Learned so many new things today.

  • @Namesake..
    @Namesake.. 7 місяців тому

    This was an amazing interview. Thank you for this 🎉

  • @XP20213
    @XP20213 7 місяців тому

    Thanks Prachi for letting us know the engineering behind the massive level of scaled system…

  • @kumardeepam
    @kumardeepam 7 місяців тому

    Very insightful man. Thank you for sharing 🙏

  • @dhruvthakkar2103
    @dhruvthakkar2103 7 місяців тому

    Great Podcast! Learnt a lot in this

  • @GoProIndia
    @GoProIndia 7 місяців тому

    As always, amazing podcast Arpit!

  • @sidharthvyas7870
    @sidharthvyas7870 7 місяців тому

    Learnt alot, thnx Arpit & Prachi.

  • @highnitin
    @highnitin 7 місяців тому +1

    Loved the insights :) good one ❤

  • @tarunkumar-pf9bn
    @tarunkumar-pf9bn 7 місяців тому

    This is great. Thank you bringing this up.

  • @guytonedhai
    @guytonedhai 7 місяців тому

    Thank you Arpit for bringing in such content.

  • @ericcartmansh
    @ericcartmansh 6 місяців тому

    Brilliant discussion. It would be worth having a follow up on the video production side of the infrastructure and how those live feeds are ingested by Jio and then streamed out to the clients. How are some of the design choices made to support the real time requirements

  • @ayushtiwari4686
    @ayushtiwari4686 7 місяців тому +1

    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

  • @agniswarbakshi7961
    @agniswarbakshi7961 7 місяців тому

    Thanks a lot Arpit for sharing this amazing podcast! Keep posting such great content for all of us please :)