Netflix YouTube Prime Video System Design on AWS | Video On Demand System Design Interview

Поділитися
Вставка
  • Опубліковано 19 лип 2024
  • The video on demand system such as Netflix, UA-cam, Prime Video is a common system design interview question. In this video, we will cover features like uploading video, search and viewing, detecting adult content. This design needs to be scalable, resilient, highly available, cost effective, and secure. In addition to the design, this whiteboard architecture is also implemented using AWS services.
    💰👨‍🎓 Get my courses with max discount and 30 day moneyback guarantee: bit.ly/3Eku9RH
    *Connect with me*
    🤳 Instagram: / cloudwithraj
    🏢 LinkedIN: / cloudwithraj
    🐦Twitter: / cloudwithraj
    🖼 Facebook: / cloudwithraj
    Timestamps:
    0:00 Requirements and features
    2:53 Video ingestion
    5:36 Database
    7:41 Video encoding
    10:26 Adult content detection
    12:00 Parallel processing
    13:21 Content Delivery Network (CDN)
    15:44 Searching and viewing video
    20:47 S3 cost savings techniques
    23:17 Security
    #SystemDesignInterview #WhiteboardInterview #AWSArchitecture
  • Наука та технологія

КОМЕНТАРІ • 299

  • @cloudwithraj
    @cloudwithraj  2 роки тому +19

    My Rocking Systems Design course is out now in Udemy! Limited time discounted link to get the course for $9.99 - www.udemy.com/course/rocking-system-design/?couponCode=LEARNSYSTEMDESIGN

  • @piyushdaga
    @piyushdaga 3 роки тому +59

    How is this guy not waaay more popular is beyond me. His youtube videos and udemy courses are simply amazing.

    • @cloudwithraj
      @cloudwithraj  3 роки тому +2

      Thanks piyush for the kind words, really appreciate it!

    • @mattborisov
      @mattborisov 2 роки тому

      @@cloudwithraj I totally agree, you make a really good content!

    • @tejalborkar4566
      @tejalborkar4566 2 роки тому

      I agree too!!

    • @eramitj
      @eramitj Рік тому

      I can vouch for that. He is awsome. I am on my path for SAA and Raj videos are helping me to make sense by converting theory to practical knowledge. Thanks bro. Wish you more success...

  • @SharadTalekar
    @SharadTalekar 2 роки тому +9

    I have worked on couple of Video Optimization projects, a decade ago I would have to spin-up(literally) multiple servers for transcoding and then couple others for different layers, the whole architecture was so damn complex. Its phenomenal how AWS/cloud has made it so simple, this was very interesting to watch. Thanks

    • @cloudwithraj
      @cloudwithraj  2 роки тому +1

      True Sharad! It's amazing what cloud has done. The other day I was able to spin up a Kubernetes cluster while sitting on an airplane!!

  • @ricocode
    @ricocode Рік тому +3

    Cloud with Raj: "if the interviewer presses you..."
    💀😂
    Didn't expect to be enjoying my time studying for system design interviews. Great content! Going to binge forsure

  • @Salthecat1
    @Salthecat1 Рік тому +1

    Really well done! Gets straight to the point and wastes little time in flushing out key topics. I find the size of the presentation just right. Too long and you tend to lose focus and like Raj already mentioned, you never end up watching the whole video.

  • @carlaludgate6597
    @carlaludgate6597 2 роки тому

    Found this channel a week before my interview - great timing :) And a great video, thank you!

    • @cloudwithraj
      @cloudwithraj  2 роки тому +1

      Thanks Carla. Best of luck on your interview, hope you ace it 🚀☁📈

  • @Cloud_Architect
    @Cloud_Architect Рік тому

    Raj, the way you explain the topics means undoubtedly you are a world class Cloud Architect. Unless your concept is that much clear, it is not possible to deliver and make others understood in such a commanding perfection. Take a bow from me, please.

  • @garethjones9115
    @garethjones9115 Рік тому

    This is an exceptional video. I'm currently developing a IPTV streaming platform and despite being a developer for 20 years it is new territory for me and I've been struggling to find a single source of information that covers everything. Still more for me to research but your video has definitely helped a great deal thank you.

  • @niravsoni2324
    @niravsoni2324 2 роки тому

    Excellent video Raj! I knew all the concepts but you strung them really well into this practical example! One new thing I learnt from this was HLS! Loved the video! ♥️

  • @nageshvinnakota6022
    @nageshvinnakota6022 Рік тому

    No gimmicks… very precise n perfect system design . Hats off RAJ

  • @MrOptimusPrime.
    @MrOptimusPrime. 11 місяців тому +1

    What an amazing teacher you are. Respect sir. Great effort with simplicity.

  • @mastervic6230
    @mastervic6230 2 роки тому

    I love this guy, he is incredibly smart. For me, he made it easy to understand. Thanks!

  • @regon1982ss
    @regon1982ss 3 роки тому +1

    This video is awesome! you are bridging the gap between my AWS knowledge and the practical design architecture. Thank you so much sir

  • @saltdomeguy
    @saltdomeguy 2 роки тому +9

    Great video, great explanations. I was a little surprised you used Elastisearch for the DB instead of DynamoDB. I thought Elastisearch was for searching data, not a database. I will have to study more.

    • @saltdomeguy
      @saltdomeguy Рік тому +1

      Thank you for clarifying@@sam18086 . Happens to the best of us and Raj is great!

  • @AmitPatel_YT
    @AmitPatel_YT 2 роки тому +4

    You are an amazing tutor.. Made everything so simple. Hope none of your videos move to Glacier ☺

  • @jetank2016
    @jetank2016 3 роки тому +2

    Great! Guru jee. Preparing for AWS DEvops Professional ... These videos are blessings.

  • @acartag7
    @acartag7 3 роки тому +10

    I really like this architecture videos, it helps a lot in learning in how everything fits together! I’m going through all your videos, probably will check your udemy videos as well. Im a devops Engineer but I still have some gaps to fill. Thanks a lot for your videos!
    Ps. Can you please make more architecture videos like this?

    • @cloudwithraj
      @cloudwithraj  3 роки тому +1

      Glad you like them Arnold! More to come!

  • @ashu-
    @ashu- 2 роки тому +1

    Would be super interested in designing security for systems for data at rest and in transit.
    Great vid!

  • @Chintu_The_Mystic
    @Chintu_The_Mystic 3 роки тому

    Again His Vedios makes easy to solve the real time stuff ! clearly understandable and it is the Indian way of explanation,Thanks a Lot on ur Valuable sharing of Knowledge Sir

  • @anirudhamarulkar6911
    @anirudhamarulkar6911 3 роки тому +1

    Amazing! Always your video helps to understand the usage of AWS service in real time. Please create video on authentication part.

  • @Kaaaatil
    @Kaaaatil Рік тому

    Excellent channel man! I was literally answering alongside. Everything was On point.
    Don’t know about virality but pls keep making this amazing content. Wish I found it sooner.
    Thanks and cheers🎉

  • @aireddy
    @aireddy 2 роки тому

    This is absolutely wonderful explanation about system design with step by step.

  • @yogendragadilkar8898
    @yogendragadilkar8898 Рік тому

    Very nice explanations and videos. I have become your fan and have started following your videos. Please continue to make more such videos with explanations from your busy and hectic schedule. Thanks a lot. God bless you Raj Sir.

  • @ajitsalvi2062
    @ajitsalvi2062 Рік тому

    Thanks. Explained the approach and design consideration.

  • @toshyamg
    @toshyamg 2 роки тому

    Thanks a lot Raj.. your videos are of more value.. motivation for us to explore n learn

  • @Cvtap_Pros
    @Cvtap_Pros 2 роки тому

    Great video! You covered everything i was looking for. Thank you!

  • @sravanneppalli1386
    @sravanneppalli1386 2 роки тому

    Thanks for the video. The explanation is picture perfect. One question I have though is for search functionality in youtube, would you be able to leverage Azure CloudSearch?

  • @sujoyahmed99
    @sujoyahmed99 2 роки тому

    Thanks Raj for such a nice presentation and explanation. really helpful.

  • @ChopeZzz
    @ChopeZzz Рік тому

    Great explanation, thank you!

  • @anujtyagi6100
    @anujtyagi6100 2 роки тому +2

    Hi, I appreciate you for making these videos. Can you add a e-commerce design tutorial also?

  • @prateekverma5169
    @prateekverma5169 Рік тому

    Really loved this video , so much informative on real time system designs

  • @hangduong9608
    @hangduong9608 2 роки тому

    This is greate : D It helps me understand more about those services, Cloudfront, API gateway, search ...

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

    No sarcasms!! You are world class😇

  • @imdeepsharma
    @imdeepsharma 2 роки тому

    Great job Raj. Quick and to the point. Can we see these steps in action. Please share if shot these steps in real time for hands on

  • @vikramkaushik
    @vikramkaushik 2 роки тому

    Very impressive. Very simple and effective design walkthrough of a complex design. Thank you

  • @somakkamos
    @somakkamos Рік тому

    Beautiful video…. Loved it

  • @DarkApplesTasteBest
    @DarkApplesTasteBest 2 роки тому

    Thank you very much. It helps put all the concepts in place for me. With a real life scenario. Great video!

  • @swarnendu86
    @swarnendu86 2 роки тому

    Excellent video, lucidly explained

  • @MattLyonFUNK
    @MattLyonFUNK 2 роки тому

    Awesome video. Easily understood. And, completely informative.

  • @Aman-uu7vi
    @Aman-uu7vi 3 роки тому

    thank you Raj. learning a lot from your content

  • @bmcseal01
    @bmcseal01 Рік тому

    Well explained. We need more of this.

  • @kuttikrishnankodoth1463
    @kuttikrishnankodoth1463 2 роки тому

    I enjoyed this video e2e .. thank you !

  • @VikashSharmaVS
    @VikashSharmaVS Рік тому

    Raj … naam toh suna hoga. awesome video brother. god bless you and thank you

  • @abdulrahmansaif354
    @abdulrahmansaif354 3 роки тому

    This is extremely helpful, it incorporate the jigsaw parts together. I will be the first to buy premium systems designs course.
    Thanks Raj for the amazing contents.

    • @cloudwithraj
      @cloudwithraj  3 роки тому

      Thanks brother for the kind words! Maybe I will create the course, will keep you posted.

  • @monica5785
    @monica5785 2 роки тому

    Explained like a Legend !!! Great Job I totally enjoyed it...One questions whats the Elasticsearch DB in AWS I could not find it.

  • @CodersArch
    @CodersArch 8 місяців тому

    Love watching this while sitting at a grand total of 6 subscribers at the moment :)

  • @S0912S
    @S0912S Рік тому

    This is amazing content, Raj! Thank yo so much for all the real world knowledge you are sharing so kindly!

  • @sudarshanyadav3143
    @sudarshanyadav3143 9 місяців тому

    best Ott video I have seen on UA-cam. Thank you. keep sharing knowledge. Please share link if you have any video on video formats,transcoding and protocols. Thank you

  • @vithun8393
    @vithun8393 Рік тому

    Great content Raj! Thanks for sharing!

  • @miguelv2985
    @miguelv2985 3 роки тому

    Thanks Raj! This is really helpful. Keep up the good content.

    • @cloudwithraj
      @cloudwithraj  3 роки тому

      Thanks miguelv, I am glad you found the video useful.

  • @anshikagupta4931
    @anshikagupta4931 3 роки тому

    Amazing video, this is so insightful and very well illustrated, hope you reach more people soon !! Good Luck

    • @cloudwithraj
      @cloudwithraj  2 роки тому

      Thank you so much Anshika for the kind words!

  • @umairqamar2672
    @umairqamar2672 Рік тому

    this is some premium level content bro. Keep publishing these amazing videos bro

  • @edevoaaron
    @edevoaaron 2 роки тому

    You’re a great teacher .. wow

  • @adi807980
    @adi807980 Рік тому

    You are amazing.. thank you so much master

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

    Absolutely THE best course on System Design! Saha Saahib is VERY knowledgeable, an expert rather, and has great communication skills. Have purchased his course @udemy.

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

      Thanks so much for the kind words, and the support by purchasing my course!

  • @SantoshKumar-jz6ls
    @SantoshKumar-jz6ls 2 роки тому

    Great content Raj! Very helpful. Thank you very much!!

  • @doubleatales
    @doubleatales 2 роки тому

    Nice one. Was implementing one right now.

  • @jamesbondisamonkey
    @jamesbondisamonkey Рік тому

    Really useful video on system design

  • @tanoybhowmick8715
    @tanoybhowmick8715 2 роки тому

    Thanks for the hard work

  • @mattborisov
    @mattborisov 2 роки тому +2

    Wow, super interesting and helpful! Please continue making such videos.
    I have one question. You told that the DB must be scalable and able to handle 10x traffic, and that RDMS are not good for that. But I think ElasticSearch, even being non-relational DB, has the same issues: you can not instantly scale it up and down. It is a great text search engine, but in my opinion, it does not really much the criteria. I thought you suggest DynamoDB. What do you think about that?

    • @cloudwithraj
      @cloudwithraj  2 роки тому +1

      Hey Max, great question. ElasticSearch is chosen mostly because you can create indexes on texts which makes text searching very efficient. You can use Dynamo, however you need to implement text search in your code. In reality, for frequently searched terms, there is a caching layer inbetween so it doesn't hit the database every time.

    • @mattborisov
      @mattborisov 2 роки тому +1

      @@cloudwithraj Yeah, agree, it does make sense. If you have time, could you please make a new video explaining the second part of the video with CDN. I would use CDN for static content delivery, like images, css, js. And caching layer would implement in the app itself: for instance check if a data is in Redis, then read it, if now - make a request. But now I see that this solution is not scalable :) Because the number of connections to Redis may increase drematically, and it will be problem. I did not know that in CDN layer we can communicate with API Gateway and work with caching.
      It would great if you could make a separate video explaining the second part of the video with CDN and caching.
      Have a great day, Rajdeep! :)

  • @vardhansolanki8573
    @vardhansolanki8573 3 роки тому +1

    Really great insight here for a young engineer like me. Thank you 😊

  • @MsBrati
    @MsBrati Рік тому

    Excellent description. Do you have any video on the AD federation along with the social networking integration?

  • @RR-hy3jr
    @RR-hy3jr 7 місяців тому

    Awesome Raj. Such videos really help. Thank you so much

  • @venkatkanikaram4927
    @venkatkanikaram4927 2 роки тому

    great video on the system design. Can you please share the link to Security part of the design or create a video if possible if not already available (that has Active directory and how its integrated to the AWS and other items of the security)

  • @purvakmistry2128
    @purvakmistry2128 Рік тому

    Excellent Raj Sir! Thank you for making such vidoes! Keep it doing!

  • @phyominhtun2503
    @phyominhtun2503 3 роки тому

    You are a real eye-opener :D

  • @talquetal
    @talquetal 2 роки тому

    I watched your video till the end 😄 thanks for the wonderful explanation.

  • @agmos01
    @agmos01 2 роки тому

    Great video Raj! TY!

  • @totsubo2000
    @totsubo2000 2 роки тому

    Great content!
    Questions:
    1. Are the HLS chunks cached by the CDN (pretty sure the anser is yes)
    2. What is the AWS technology to use for a CDN (CloudFront?)
    For completeness sake you should go into more details for the Lambda/Step Function topic since an interviewer might ask to dive deep.

    • @cloudwithraj
      @cloudwithraj  2 роки тому

      Yes to both answers. And I will go over lambda/step fn in more details n a future video. Ty for your valuable suggestion.

  • @NesarKhadem
    @NesarKhadem Рік тому

    great work, keep it up

  • @mti2fw
    @mti2fw 2 роки тому

    Very nice video, man!!!

  • @SadhamHussainsree
    @SadhamHussainsree 2 роки тому

    Excellent Excellent video.Thanks for sharing your knowledge.

  • @shami4u2
    @shami4u2 2 роки тому

    Great explanation. Thank you.

  • @gvido2009
    @gvido2009 2 роки тому

    This is gold, thank you very much

  • @luyaozhao6936
    @luyaozhao6936 2 роки тому

    thank you Raj, great videos, keep it up in the system design series.

  • @ratheechmn
    @ratheechmn 3 роки тому

    Raj, Your videos are awesome, thanks for sharing :). Love from India(Rohtak, HRY) :)
    I'm also planning to start something with Linux stuff first, ... but still learning from you :)

  • @gedeonnokbak760
    @gedeonnokbak760 11 місяців тому

    really amazing. simply and well explained.very helpful

  • @ayushbhardwaj6783
    @ayushbhardwaj6783 Рік тому

    You really explained so well for a begineer like me. Loved it really

  • @randommotivation7085
    @randommotivation7085 2 роки тому +1

    It's poetic 🧡

  • @zottun1673
    @zottun1673 2 роки тому

    You videos should defo be viral! Great content!

  • @aben62
    @aben62 Рік тому

    I think relational database can be scaled horizontally using consistent hashing

  • @srikanthb680
    @srikanthb680 2 роки тому

    Hi Raj , Pleasure to watch this and it was great ! Can you pls make a video on Active Directory pls ? Thx

  • @AllanLeonardJr
    @AllanLeonardJr 2 роки тому

    Wow, this was awesome! I’m currently working on a project and I need to stream 25+ separate .mp4 files back to back for a conference. Is that possible with the Elemental Suite of tools?

  • @dhirajjha8470
    @dhirajjha8470 3 роки тому

    Super !! liked the way you have explained Dada ..!!

  • @rohansharma8421
    @rohansharma8421 2 роки тому

    Very nice video....

  • @jasper5016
    @jasper5016 11 місяців тому

    Dont know about others but I definitely watch your videos and eagerly waiting for your videos. Your content is top-notch. I purchased your courses on Udemy as well. I hope to work with you someday in AWS.

  • @Danieltammadge
    @Danieltammadge 2 роки тому

    Very helpful video and very well presented thank you.

  • @deepakmehta913
    @deepakmehta913 Рік тому

    Hi, instead of step function can we trigger batch jobs for each programs(encoding, rekogniton)?

  • @musicalbirds2928
    @musicalbirds2928 2 роки тому

    Great video. Thanks for sharing.

  • @sajithkra
    @sajithkra 3 роки тому

    Great content delivery !! Please do a video on the security implementation especially the IAM part.

  • @AdebisiAdegoke
    @AdebisiAdegoke 2 роки тому

    Thank you

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

    I need a video on how to build OTT channel content management system in aws to facilitate auto switch to scheduled programming when Live input is off.

  • @juanpabloosorio2048
    @juanpabloosorio2048 3 роки тому

    You’ve awesome content, your videos are gold to me, greetings from Colombia

    • @cloudwithraj
      @cloudwithraj  3 роки тому +1

      Thanks Juan for the kind words, much appreciated 🙏

  • @mmossaadewies
    @mmossaadewies 2 роки тому

    This was an amazing video, Raj. Thanks a lot for your great efforts in simplifying the solution design of a lot of use cases.
    I have a question regarding the CDN part. It can be implemented using Cloud Front, correct?

    • @cloudwithraj
      @cloudwithraj  2 роки тому +1

      Ty mohamed! Yes, you can implement it using Cloud Front

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

    so if hls the url is to .m3u8 playlist resolving to a set of #.ts files on s3 behind a signed url. so you need lambda to make signed url. on the cdn behaior, direct calls for m3u8 to a lambda which parses the .m3u8 file adding the querystring for the signed url to each segment or other playlist listed in the .m3u8 file. then return that signed "doped" playlist to the caller.
    then each ts file will have the correct signed url querystring.

  • @Gionawii
    @Gionawii 2 роки тому +2

    RDS which is relational database -Scaling options include both vertical scaling and horizontal scaling. Amazon RDS now supports Storage Auto Scaling and it automatically scales your storage capacity for database workloads, with no downtime. Is this mean we can use RDS for Netflix type of design?

  • @soumavanag5025
    @soumavanag5025 2 роки тому

    Excellent :)

  • @uditpratapsingh9095
    @uditpratapsingh9095 3 роки тому

    awesome video.u really provide great information..!!

  • @jpmmota
    @jpmmota 3 роки тому

    Awesome!! Thanks a lot Raj!

  • @iamdare
    @iamdare Рік тому

    Hey Raj! I watched your videos to the end. 😊