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.
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.
@@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
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.
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.
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!
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.
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.
Simple and detailed explanation :) I took multiple breaks in between the video to re-evaluate my understanding but your knowledge is really appreciable :)
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.
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 🤪
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.
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....!!
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
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.
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.
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
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.
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
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.
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 :)
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!
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 ?
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.
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!
@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.
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 ?
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.
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.
Agreed, it's better to underrated thought process behind each decision. Anyway, as always, amazing video.
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.
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.
If you really wanted to understand micro details. please refer ua-cam.com/channels/9vLsnF6QPYuH51njmIooCQ.html
@@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
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.
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.
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!
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!
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!
He is Good😊
This is a SysD primer disguised as Netflix use case. You can really fit these pieces anywhere.
Thanks for your effort!
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.
Narendra, very thorough and great attention to detail in every aspect of design you explained. Kudos, great work!!
Thank you once again for putting information from several different sources into one place.
This is at Business Analyst and Architect level. Wow dude you absolutely nailed this.
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.
24:05 i paused the video to see if dogs are barking in mt street !
8:50 also
Great work @Naren, Keep inspiring many more through these kind of real world theories !!
Wish you all the very best !!
Simple and detailed explanation :) I took multiple breaks in between the video to re-evaluate my understanding but your knowledge is really appreciable :)
I think most of the guys take multiple break. Even i took many.
Gratitude my brother! I'm so glad for your inspiration to teach me and others!
Quite enlightening with a lot of minute details for most of the components that fall under Netflix System, thanks a lot Narendra
A great explanation for such a complicated system
Thanks for this great video! very deep into certain topics... very different. than other design videos on youtube
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.
6:38 . Since Tier 1 load balancing is on the basis of zone, can we really call it Round Robin?
Really appreciate the video. Nicely explained.
Nice video with almost all details. Great work!
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 🤪
Thanks for sharing this video. These video might touch many of the lives to get into there dream jobs
Thanks baby. I have been looking for system design interview questions. You made it simple.
baby :D ...
@@raviprakashagrawal9478 host -> #floored :D
lmao.
Narendra sir #sakhti pighalna nahi hai
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.
Feel free to go and have it done. And don't forget to shoot video afterwards.
unbelievably detailed. thank you
you did very hard work, man. Thanks a lot.
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....!!
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
Fantastic video explaining a streaming system design. Well done!
best netflix architecture video ever. Great job Narendra!
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.
He Is A Genius
One of the best explanations I would say.
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.
Really detailed video for each component. Keep up the good work.
Another great session! Study vidoes like this and then practice at Meetapro with mock interviews will help you land multiple offers.
Great video man! by far one of the most thorough vid on system design! Really appreciate your effort on this
Thank you Naren! Great explanations!
Wow this is an amazing comprehensive overview! Thanks for your effort
How can the 2 screens or 4 screens strategy of netflix be implemented?
Good question..
It would be nice to refresh this video in 2020. Thanks for great work!
Very thorough and insightful. Thank you for making this.
ENJOYED it ,Well done
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
He Is Great I love the way he address
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.
this is freaking awesome thanks for vid man!
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
Very nice. Thanks for explaining module wise. This brings clarity.
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.
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 :)
you are unmatchable !!
Thank you for your tremendous effort. Detailed and well explained...
Great video! Nicely explained
Great work. Thank you, please, continue with it.
This is a great video. Thank you!
Dude you are a legend...
Thanks for the epic videos!
Thanks , this was really helpful
Excellent.I really appreciate such a great work.It helped me a lot to understand how the system works. Expecting more videos.
Thanks , highly effective space for learning System design
Yeah seriously, the best explanation!.
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!
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.
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.
Amazon Prime uses CloudFront, NetFlix use a propriertory CDN
This was awesome! Learned a lot
Really appereciable.You are doing good for people.Thanks a lot for your efforts.
Great explanation. learned a lot. 👏👏
Your content is really amazing. Keep it up! Maybe make a video on designing instagram next :)
@Ryan Bridges Thanks and sure
Very good explanation, thank you sir.
It's really detailed video with very nice explanations. Thank you.
very well structured video. very informative. thanks :)
great work! excellent collection of videos. extremely informative
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 ?
Thank you, this helped me alot
I appreciate your research. Keep it up
what about the transcoding architecture and video chunking ?
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.
Good one! Nicely explained.
Thank you so much for sharing your knowledge.
Great explanation dear ....Thanks
Thank you for ur great work! We thank you a lot!
Thanks for kind words!! :)
@@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 😊
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
I think you are right.
Also ram storage type is SSD.
very good explanation
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!
Agreed and even I'm expecting a more valid and potential reason to use hystrix. @Tech Dummies - Narendra L, please shower your thoughts
That was very interesting, excellent work. Thank you!
Thanks for sharing the video. It was very helpful.
Thank you so much for your work, amazing job 🙏💪😌
Where'd you get that T shirt? Its dope!
Watch this video to brush upon the system design concepts. Hystrix is netflix's own implementation of circuit breaker pattern.
Just another kudos for interesting video. What do you thinks about their use of Cassandra? Why it but not just another instance of ElasticSearch?
Good job. Keep up the good work.
Thanks for the informative videos!! Question, do you do private consulting?
It would be really helpful if you could mention why Netflix is not using CloudFront AWS service? Since Netflix uses most of AWS,.
@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.
Sure, Thanks :)
Very useful Narendra. Thank you so much!
How about security? How does Netflix makes sure only authorized users can view the content?
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 ?
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.
yes, but that would stretch the video by hours. may be I will plan to do smaller videos on different components. Thanks
Which profile get when after doing study of this, and which course I have to do for this
Very detailed and well explained
thanks for the video!
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