NETFLIX System design | software architecture for netflix

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

КОМЕНТАРІ • 276

  • @fanliu5239
    @fanliu5239 5 років тому +307

    this seems like a video on "how Netflix works now", instead of designing a Netflix by yourself. will be more fun if you can start with something simple and then try to scale.

    • @hoelefouk
      @hoelefouk 4 роки тому +15

      Agreed, it's better to underrated thought process behind each decision. Anyway, as always, amazing video.

    • @bogaviswanath2481
      @bogaviswanath2481 4 роки тому +11

      appreciate the content, but imp part of system design is why you have to do it the way you did it and why something else wouldn't work.

    • @BikasKatwalK
      @BikasKatwalK 4 роки тому +7

      That's what the title says :) There could be another video that can come up with the basic design and build upon it. The intent of the video itself is to showcase Netflix design. I myself want to know how Netflix works.

    • @nirumani
      @nirumani 4 роки тому +5

      If you really wanted to understand micro details. please refer ua-cam.com/channels/9vLsnF6QPYuH51njmIooCQ.html

    • @paytonart574
      @paytonart574 4 роки тому

      @@BikasKatwalK Hello if you are interested in getting a quality cartoon logo | gaming logo | cartoon photo | illustrations logo | text logo | business logo, ECT. you can contact me at this gmail address lucysmith3916@gmail.com
      on Discord @ PaytonArt#7215
      Or Text 📲 +1(508)535-5879

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

    Extensive research performed for this presentation. Pros & Cons, IFs and BUTs of most of the component of Sys Diag explained. He gives different options before selecting a solution. One needs to connect the dot and understand the bigger picture of how it's scaled. Thank you.

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

    00:00 Netflix's system design involves Open Connect and AWS cloud with three main components.
    07:15 Netflix uses transcoding to optimize video for different devices and network speeds.
    14:10 Advantages of using a gateway service and Hystrix for microservices
    20:19 Netflix uses micro service architecture to power its API needs
    26:09 Netflix uses caching layer and two types of databases for high throughput and low latency.
    32:12 Netflix uses various technologies for data processing and analysis
    38:29 Netflix uses personalization and recommendation algorithms to retain users.
    44:46 Netflix's Open Connect server is designed for high availability and saves bandwidth.
    Crafted by Merlin AI.

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

    Thank you for this wonderful video. I work for an SVOD company and found this very informative and it even helped me understand our own system better!

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

    Hey, just wanted to say thank you so much for this! I studied your video 2 years ago and got approved at Amazon. All the best!

  • @jainkanikaUtube
    @jainkanikaUtube 4 роки тому +6

    You have done fabulous job of describing the components of Netflix. It's comprehensive and your efforts are very visible, thank you so much for going the extra mile for others. I hope life rewards you for this!

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

    This is a SysD primer disguised as Netflix use case. You can really fit these pieces anywhere.
    Thanks for your effort!

  • @blenderbottle382
    @blenderbottle382 2 роки тому +10

    Your depth in videos and breadth of content is absolutely amazing. Thanks! I really appreciate how clearly you explain things and make complicated systems look quite simple and logical. Please continue with this "starting from basics" approach, it's honestly one of the best on YT.
    Also, do you have any good book recommendations for ramping up on system design? Like some book that points out a problem and gives a system design pattern to solve it? If there was like a "Elements of System Design" or something that'd be great.

  • @rajen.sriram
    @rajen.sriram 3 роки тому

    Narendra, very thorough and great attention to detail in every aspect of design you explained. Kudos, great work!!

  • @deepakzworld
    @deepakzworld 4 роки тому

    Thank you once again for putting information from several different sources into one place.

  • @displacednaija
    @displacednaija 5 років тому +6

    This is at Business Analyst and Architect level. Wow dude you absolutely nailed this.

  • @arunkarepu
    @arunkarepu 6 років тому +11

    I went through only little part of netflix architecture through their engineering blog before. But thanks to you, now I have full overview of their systems. Also, please make video on Food Delivery app.

  • @ghostgutarist5234
    @ghostgutarist5234 5 років тому +81

    24:05 i paused the video to see if dogs are barking in mt street !

  • @venkatpavan3408
    @venkatpavan3408 6 років тому +2

    Great work @Naren, Keep inspiring many more through these kind of real world theories !!
    Wish you all the very best !!

  • @gopinathjnv
    @gopinathjnv 5 років тому +4

    Simple and detailed explanation :) I took multiple breaks in between the video to re-evaluate my understanding but your knowledge is really appreciable :)

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

      I think most of the guys take multiple break. Even i took many.

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

    Gratitude my brother! I'm so glad for your inspiration to teach me and others!

  • @kunalsaini1805
    @kunalsaini1805 4 роки тому

    Quite enlightening with a lot of minute details for most of the components that fall under Netflix System, thanks a lot Narendra

  • @nischaykhanna9621
    @nischaykhanna9621 4 роки тому

    A great explanation for such a complicated system

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

    Thanks for this great video! very deep into certain topics... very different. than other design videos on youtube

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

    Very important to learn how to think through while building such systems..... that's where we pass on the actual knowledge so that ppl can learn the thought process rather than memorizing their implementation. Please focus on such a style of presenting these systems.

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

    6:38 . Since Tier 1 load balancing is on the basis of zone, can we really call it Round Robin?

  • @__ShafiqaIqbal__
    @__ShafiqaIqbal__ 4 роки тому

    Really appreciate the video. Nicely explained.

  • @DhanyaKrishnan8109
    @DhanyaKrishnan8109 6 років тому +2

    Nice video with almost all details. Great work!

  • @4513is1435
    @4513is1435 3 роки тому

    Nice one in the era of 'system design interview preparation' videos, where, they explain cache is to save a DB call and cache can save DB call and further explain that you can save a DB call by reading from Cache and go really deep, cache can save time by providing response quicker 🤪

  • @mahesh116
    @mahesh116 6 років тому +8

    Thanks for sharing this video. These video might touch many of the lives to get into there dream jobs

  • @srilekha9177
    @srilekha9177 6 років тому +15

    Thanks baby. I have been looking for system design interview questions. You made it simple.

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

    Very good explanation of each component. Thanks a lot. However, I would highly recommend after all the individual components explanation the end-to-end flow in the architecture diagram on the home page request of what happens and click on the movie to watch how the request flows what components are involved.
    It's like a summary of the total design in 1 or 2 minutes. Keep up the good work.

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

      Feel free to go and have it done. And don't forget to shoot video afterwards.

  • @JM_utube
    @JM_utube 4 роки тому

    unbelievably detailed. thank you

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

    you did very hard work, man. Thanks a lot.

  • @robertsahayakumar5267
    @robertsahayakumar5267 5 років тому +1

    Excellent way of explanation into step by step instead of showing all at a moment. Really useful to gain more knowledge base. Keep it up. Go ahead....!!

  • @awaisfiaz8186
    @awaisfiaz8186 5 років тому

    In addition to that Netflix uses HLS which is a technique of adaptive streaming a m3u8 file decides which chunk to send next according to bandwidth of internet the video you watch is not a mp4 its actually a .ts chunk which the player display you hence its a technique to secure the video too

  • @msabarish
    @msabarish 5 років тому

    Fantastic video explaining a streaming system design. Well done!

  • @shawncaojob
    @shawncaojob 5 років тому

    best netflix architecture video ever. Great job Narendra!

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

    This is amazing! I didn't like certain parts but overall this is a fantastic video. Clearly shows how much effort in research, articulation, rehearsala, etc. must have gone in preparing this video.

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

    One of the best explanations I would say.

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

    Nice video. But i would have expected a simple and scalable custom design, that can help us understand how we can tackle/handle this thing on our own instead of knowing how they actually do it.Please do one video on designing netflix basic design from scratch. Thank you.

  • @nirajgupta2520
    @nirajgupta2520 5 років тому +1

    Really detailed video for each component. Keep up the good work.

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

    Another great session! Study vidoes like this and then practice at Meetapro with mock interviews will help you land multiple offers.

  • @waynechang7596
    @waynechang7596 5 років тому +2

    Great video man! by far one of the most thorough vid on system design! Really appreciate your effort on this

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

    Thank you Naren! Great explanations!

  • @Dal.alef.
    @Dal.alef. 4 роки тому

    Wow this is an amazing comprehensive overview! Thanks for your effort

  • @ashutoshsharma2197
    @ashutoshsharma2197 5 років тому +10

    How can the 2 screens or 4 screens strategy of netflix be implemented?

  • @thegt
    @thegt 4 роки тому

    It would be nice to refresh this video in 2020. Thanks for great work!

  • @shaharyakir922
    @shaharyakir922 4 роки тому

    Very thorough and insightful. Thank you for making this.

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

    ENJOYED it ,Well done

  • @Sirajnadwar
    @Sirajnadwar 5 років тому +5

    I think this is great. Loved it in the way you have componentized the entire architecture. Really helped me a lot to understand it. Also useful would be to focus a bit more on the different data models in the database. For example just on a high level how data is stored. I would not expect an in depth schema but something on the high level. Also useful would be to include the approximate bandwidth required for such a system. But in all this is great and I really liked it

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

    I have a question :
    1. What is the flow to capture "last timestamp of content viewed" ? What could be the service level API calls and DB backing this feature.

  • @chrishan3199
    @chrishan3199 4 роки тому +1

    this is freaking awesome thanks for vid man!

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

    Thx for sharing and in-depth analysis. One criticism though, I think at 10.51 it went little side ways. You talked about splitting the video to parallel process the upload but subsequent seconds it went straight to transcoded format. I do think 1. Split the video for concurrent upload & merge 2. S3 triggers transcoding

  • @ibrahimshaikh3642
    @ibrahimshaikh3642 4 роки тому

    Very nice. Thanks for explaining module wise. This brings clarity.

  • @gauthamhonnavara
    @gauthamhonnavara 5 років тому +2

    Hi Narendra, I was asked in a facebook interview about how netflix playback works. Say for example, I pause/close a video while watching a movie and if I open it in a new device say Ipad, It starts playing from where I left off. How do we store that kind of information and for that particular user.

    • @anubhamandal
      @anubhamandal 5 років тому

      The player might be periodically sending the position of the video you are watching. And the videos are always sent in chunks of data or range of bytes, so they can save the last byte you watched in the database/ cache (per user) when you stopped streaming. Once that is saved, your player (from any device) will do partial get and your video plays from where you left off. I would assume thats how it should work :)

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

    you are unmatchable !!

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

    Thank you for your tremendous effort. Detailed and well explained...

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

    Great video! Nicely explained

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

    Great work. Thank you, please, continue with it.

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

    This is a great video. Thank you!

  • @rontal520
    @rontal520 4 роки тому

    Dude you are a legend...
    Thanks for the epic videos!

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

    Thanks , this was really helpful

  • @remithraghavan3041
    @remithraghavan3041 5 років тому

    Excellent.I really appreciate such a great work.It helped me a lot to understand how the system works. Expecting more videos.

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

    Thanks , highly effective space for learning System design

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

    Yeah seriously, the best explanation!.

  • @javierlevy2597
    @javierlevy2597 6 років тому +4

    Im Really very confused. When you defined open connect . I was honestly expecting you to use the AWS managed CDN network CloudFront. As they both use edge locations and Which has streaming possibility, if you use Elastic Transcoder to turn high quality Videos to HLS (HTTP Live Streaming) format and a CloudFront Distribution with a download option to Stream it from S3 its a better option. Or so I thought? I have an interview at amazon coming soon if you could answer this I would really appreciate it!

    • @trackntrail2869
      @trackntrail2869 6 років тому +3

      Yes that would be an acceptable way to transcode and stream content. However he is defining how Netflix does it which is using their own CDN system.

    • @RovshanMusayev
      @RovshanMusayev 5 років тому

      I think probably already invested into open connect, so after moving to AWS didn't want just to throw them to trash but reuse it.

    • @bigdlamz
      @bigdlamz 5 років тому +3

      Amazon Prime uses CloudFront, NetFlix use a propriertory CDN

  • @DavidAxelrodP
    @DavidAxelrodP 5 років тому +1

    This was awesome! Learned a lot

  • @preetisaroha3118
    @preetisaroha3118 5 років тому

    Really appereciable.You are doing good for people.Thanks a lot for your efforts.

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

    Great explanation. learned a lot. 👏👏

  • @rdb8324
    @rdb8324 6 років тому +26

    Your content is really amazing. Keep it up! Maybe make a video on designing instagram next :)

  • @bulliteratv387
    @bulliteratv387 4 роки тому

    Very good explanation, thank you sir.

  • @crystalangels5
    @crystalangels5 5 років тому

    It's really detailed video with very nice explanations. Thank you.

  • @md.abdullahal-alamin8059
    @md.abdullahal-alamin8059 5 років тому +3

    very well structured video. very informative. thanks :)

  • @asrahma1
    @asrahma1 5 років тому

    great work! excellent collection of videos. extremely informative

  • @redboy6889
    @redboy6889 5 років тому

    Nice video.. One thing I am still confused. If a new video is uploaded to Netflix , then it would chunk and process it to save it in almost 1200 files. Now , where are these files stored ? In Cassandra ? Also, do these files existing in EV Cache ( LRU eviction policy ) ?
    Can we put these files in CDN as well for quicker access ?

  • @donaldrd8714
    @donaldrd8714 4 роки тому +3

    Thank you, this helped me alot

  • @amixpal
    @amixpal 5 років тому +1

    I appreciate your research. Keep it up

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

    what about the transcoding architecture and video chunking ?

  • @kckalavacharla
    @kckalavacharla 4 роки тому

    Great video but this is the description of Netflix architecture ie., how exactly they have implemented the system, rather than how to approach this as a problem. I am pretty sure if we give this answer in the interview, the interviewer will definitely be concerned about how the intuition and approachability of the problem is.

  • @nckiran
    @nckiran 6 років тому +1

    Good one! Nicely explained.

  • @sandeepharidasula3191
    @sandeepharidasula3191 5 років тому +1

    Thank you so much for sharing your knowledge.

  • @kapilkaushal6178
    @kapilkaushal6178 5 років тому

    Great explanation dear ....Thanks

  • @大盗江南
    @大盗江南 4 роки тому +1

    Thank you for ur great work! We thank you a lot!

    • @TechDummiesNarendraL
      @TechDummiesNarendraL  4 роки тому +1

      Thanks for kind words!! :)

    • @大盗江南
      @大盗江南 4 роки тому +1

      @@TechDummiesNarendraL of course we should thank you, we didn't pay anything and we learn a lot from you. There has no reason to complain 😊

  • @windowcrystal4012
    @windowcrystal4012 4 роки тому +1

    28:10 You said SSD is little higher than the time taken to read data on RAM. But I think RAM is way more faster than SSD

    • @hoelefouk
      @hoelefouk 4 роки тому

      I think you are right.

    • @hoelefouk
      @hoelefouk 4 роки тому

      Also ram storage type is SSD.

  • @annettethomas6515
    @annettethomas6515 4 роки тому

    very good explanation

  • @stevehyuga9216
    @stevehyuga9216 6 років тому

    Hi! I don't understand if hystrix is a server which proxies the requests or is a wrapper that you use in the endpoint, or is both? Can you clarify how it works ? Thanks!

    • @ahmedpatel1995
      @ahmedpatel1995 5 років тому

      Agreed and even I'm expecting a more valid and potential reason to use hystrix. @Tech Dummies - Narendra L, please shower your thoughts

  • @Johnnybozzz1
    @Johnnybozzz1 4 роки тому +1

    That was very interesting, excellent work. Thank you!

  • @jisacs1492
    @jisacs1492 6 років тому +4

    Thanks for sharing the video. It was very helpful.

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

    Thank you so much for your work, amazing job 🙏💪😌

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

    Where'd you get that T shirt? Its dope!

  • @saurabhshukla4900
    @saurabhshukla4900 4 роки тому

    Watch this video to brush upon the system design concepts. Hystrix is netflix's own implementation of circuit breaker pattern.

  • @leonyou7218
    @leonyou7218 6 років тому

    Just another kudos for interesting video. What do you thinks about their use of Cassandra? Why it but not just another instance of ElasticSearch?

  • @shantanukande
    @shantanukande 6 років тому +1

    Good job. Keep up the good work.

  • @MrDawg-ol5pc
    @MrDawg-ol5pc 5 років тому +1

    Thanks for the informative videos!! Question, do you do private consulting?

  • @maxsjohn
    @maxsjohn 4 роки тому

    It would be really helpful if you could mention why Netflix is not using CloudFront AWS service? Since Netflix uses most of AWS,.

  • @venkateshkadali1137
    @venkateshkadali1137 6 років тому +1

    @Naren Amazing collection of videos on System Design. Just a small suggestion - little smile on face and a little humor in the examples you give will help a lot to captivate more users. I'll watch all of your videos.

  • @serhandavidyildirim5575
    @serhandavidyildirim5575 4 роки тому

    Very useful Narendra. Thank you so much!

  • @TheAbhijeetsinghahuj
    @TheAbhijeetsinghahuj 5 років тому +2

    How about security? How does Netflix makes sure only authorized users can view the content?

  • @arthamsreenivas8858
    @arthamsreenivas8858 5 років тому

    this is very good system design topic and i have one simple question, why are we saving the data on Amazon S3 and then transferred to Open Connect servers ? i mean after conversion of the content can we directly store on the OC ?

  • @chandanbp
    @chandanbp 6 років тому +1

    Great video!!!..Good insights of the architecture. However this explains the actual architecture built by NETFLIX. A step by step approach of how the complex requirements are broken down to designing application by, may be selecting a suitable technology stack or algorithm that can be used is what actually expected in system design interview. That would help people for gaining insights in designing similar applications.

    • @TechDummiesNarendraL
      @TechDummiesNarendraL  6 років тому

      yes, but that would stretch the video by hours. may be I will plan to do smaller videos on different components. Thanks

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

    Which profile get when after doing study of this, and which course I have to do for this

  • @ankurpaliwal9713
    @ankurpaliwal9713 5 років тому

    Very detailed and well explained

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

    thanks for the video!

  • @Pablus96
    @Pablus96 6 років тому

    It was the perfect video for me. I needed some information source that was suitable for the report I have to write for the University