System Design for Beginners Course

This course is a detailed introduction to system design for software developers and engineers.
Building large-scale distributed systems like Google, Facebook, Amazon, and Twitter requires an in-depth understanding of computer science principles. This allows systems to handle millions of users concurrently despite hardware failures.
We discuss the fundamental concepts of system design in this course like requirement selection, API design, Database Design, Network protocols, Fault-tolerance, design trade-offs, solution tradeoffs, and low-level design.
Gaurav Sen created this course. Check out his channel: ‪@gkcs‬
You can learn about distributed systems and system design using the following resources:
Designing Data-Intensive Applications by Martin Kleppmann: amzn.to/3SyNAOy
System Design Simplified: interviewready.io
Let us know your thoughts and suggestions in the comments!
⭐️ Contents ⭐️
⌨️ (0:00:00) What is System Design
⌨️ (0:02:27) Design Patterns
⌨️ (0:04:07) Live Streaming System Design
⌨️ (0:07:42) Fault Tolerance
⌨️ (0:08:32) Extensibility
⌨️ (0:09:49) Testing
⌨️ (0:10:32) Summarizing the requirements
⌨️ (0:11:27) Core requirement - Streaming video
⌨️ (0:14:52) Diagramming the approaches
⌨️ (0:17:12) API Design
⌨️ (0:20:02) Database Design
⌨️ (0:22:32) Network Protocols
⌨️ (0:29:07) Choosing a Datastore
⌨️ (0:32:57) Uploading Raw Video Footage
⌨️ (0:34:37) Map Reduce for Video Transformation
⌨️ (0:39:24) WebRTC vs. MPEG DASH vs. HLS
⌨️ (0:41:55) Content Delivery Networks
⌨️ (0:42:27) High-Level Summary
⌨️ (0:44:48) Introduction to Low-Level Design
⌨️ (0:47:00) Video Player Design
⌨️ (0:49:17) Engineering requirements
⌨️ (0:50:32) Use case UML diagram
⌨️ (1:02:32) Class UML Diagram
⌨️ (1:06:27) Sequence UML Diagram
⌨️ (1:11:49) Coding the Server
⌨️ (1:24:23) Resources for System Design
🎉 Thanks to our Champion and Sponsor supporters:
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Erdeniz Unvan
👾 Justin Hual
👾 Agustín Kussrow
👾 Otis Morgan
--
Learn to code for free and get a developer job: www.freecodecamp.org
Read hundreds of articles on programming: freecodecamp.org/news

Пікірлер: 301

  • @KejriwalBhakt
    @KejriwalBhakt Жыл бұрын

    Just to let others know, Gaurav has started his own startup and is being helped by the startup cell of Maharashtra state to smoothen out the process.

  • @rachitshukla7111

    @rachitshukla7111

    Жыл бұрын

    Context?

  • @ankitrawat06

    @ankitrawat06

    Жыл бұрын

    ​@@rachitshukla7111 koi context nhi h bas likhna h

  • @rachitshukla7111

    @rachitshukla7111

    Жыл бұрын

    @@ankitrawat06 😂😂😂😂😂😂😂

  • @neowantsword

    @neowantsword

    Жыл бұрын

    Thanks bro😌🙏

  • @thranduillord001

    @thranduillord001

    3 ай бұрын

    kejru to pakda gaya bhai

  • @tolufindsyourhome
    @tolufindsyourhome Жыл бұрын

    Thanks Gaurav, Glad to have you here. I worked on many case studies of your classes and has tremendously helped in getting my system design skill to an advance user over the last few months.

  • @marvelousadesina4673
    @marvelousadesina4673 Жыл бұрын

    Big thanks to everyone at FCC for their efforts in making these videos

  • @potatocoder5090
    @potatocoder5090 Жыл бұрын

    FreeCodeCamp is amazing! Only yesterday, I was learning Assembly Programming with ARM for beginners on this channel, and today there's a system design course already waiting for me! Thank you Gaurav for creating such a thorough resource for free and FreeCodeCamp for bringing it to millions of learners like me :)

  • @Sandeep-zd6dq
    @Sandeep-zd6dq Жыл бұрын

    Now I will start my system design journey with this course.

  • @aldrinseanpereira140
    @aldrinseanpereira140 Жыл бұрын

    Gaurav hats off to your wonderful course!

  • @TheEvolvingEngineer
    @TheEvolvingEngineer Жыл бұрын

    I am not even a software engineer but the way he started explaining things make so much sense to me and made me stick to the video till the very end. Gaurav knows who make it engaging. Kudos to FCC and Gaurav!!

  • @sailendrapamidi

    @sailendrapamidi

    Жыл бұрын

    Exactly my thoughts.

  • @magicmedia7950

    @magicmedia7950

    Жыл бұрын

    That is what system design is all about. It's meant to be understood by the layman. Surprisingly the most important part of programming is not in writing the code rather it's solving a problem using logical sequence that captures everything problem solution(system design). If you are not good at this then programming may not be for you!

  • @illuminatidaylight8566

    @illuminatidaylight8566

    11 ай бұрын

    I want to get placed as a software Engineer so for this should i learn system design ?? Is this video good for a starter ?

  • @tazzyw

    @tazzyw

    5 ай бұрын

    @@magicmedia7950 well said

  • @mma-dost

    @mma-dost

    3 ай бұрын

    sorry for the late reply but learn system design at the start may be interesting for starting but you need to learn how to write code and make good projects.@@illuminatidaylight8566

  • @mrsbootsworkouts
    @mrsbootsworkouts7 ай бұрын

    I really liked this course. it includes not just the patterns, but also connects it to the process of distilling Business Needs as an engineer. Thank you for sharing this course! Excellent point about testing the design, especially for large complex systems.

  • @chauvoluuhuong7485
    @chauvoluuhuong7485 Жыл бұрын

    For me, it is not about SQL or noSQL It is more about: - Is it cheap? is it scaleable? at this stage of the project can I utilize my available resource? - Do we need schemaless/no schemaless, usually because of shameless, the database needs to take more space for storing and is slower at execution. Like dynamic-typed langue vs typed language. - Can I make relationship ? (typically the NoSQL is considered weak relationship, BUT YOU CAN STILL MAKE RELATIONSHIP. PLUS, BECAUSE OF SCHEMALESS YOU CAN EMBED DOCUMENT FOR MAKING THE RELATIONSHIP AND MAKING THE QUERY FASTER WITHOUT JOINING ACROSS TABLES ) - How about its built-in function? it is usually better if you make the computation on the database instead of pulling it down to the server and computing and of course, you don't have to re-develop that function - The last one, of course, which type of database is more familiar to my team

  • @domisPL_01

    @domisPL_01

    Жыл бұрын

    i believe you mean "schemas" , not "schemaless"?

  • @nobytes2

    @nobytes2

    11 ай бұрын

    In terms of databases you really only have a few types, NoSQL, SQL, and in-memory. The brand of the db is almost irrelevant any decent engineer should know how to work with any of them.

  • @michaelwarren8354
    @michaelwarren8354 Жыл бұрын

    "You want your features to be extensible. For this, you have to take out your engineering crystal ball, and gaze deeply into it..." 😂🤣

  • @juffler463
    @juffler463 Жыл бұрын

    I know all this but I was doubting my self that, Is my way of system design is right. Now I am more confident thanks 🙂

  • @rustam-z
    @rustam-z Жыл бұрын

    Nice short introduction to system design! Nice job Gaurav!

  • @utsavnangalia7580
    @utsavnangalia7580 Жыл бұрын

    Great Tutorial, videos like these really make a difference. Thank you for the efforts Gaurav and the team at FCC.

  • @amankumarjha8155
    @amankumarjha8155 Жыл бұрын

    The knowledge and versatility of Gaurav is just amazing, I m stunn

  • @Vancouver2010BC
    @Vancouver2010BC Жыл бұрын

    A large scale system design for beginners with no experience!! And they will hire you as a Senior System Analyst too. Good luck in your career!

  • @debmalyamitra353
    @debmalyamitra353 Жыл бұрын

    Yup Gourav Sen, the OG of system design, no surprises there!!

  • @horacinis

    @horacinis

    Жыл бұрын

    Gaurav Sen***

  • @ankush8270

    @ankush8270

    3 ай бұрын

    ​@@horacinisGaurav Senpai😅

  • @IsxaaqAcademy
    @IsxaaqAcademy Жыл бұрын

    I typed it on the search box, and you have uploaded it 5 hrs ago, Delightful!

  • @jamialhasan9203
    @jamialhasan92032 ай бұрын

    Teaching something simple thing in complex way dose not really mean learning system design, rather knowing philosophy behind a system or process is more important.

  • @tusharys9404

    @tusharys9404

    2 ай бұрын

    I agree to this

  • @Tridib_Tinkel
    @Tridib_Tinkel Жыл бұрын

    Most precious gift for the web developers!

  • @alexmagnitov7324
    @alexmagnitov7324 Жыл бұрын

    Please, do something about architectures like layered, event-driven, etc. To a newbie like me it’s really complicated to build highly responsive projects.

  • @gkcs

    @gkcs

    Жыл бұрын

    I have a video on event driven architectures on my channel.

  • @akumarsingh85
    @akumarsingh85 Жыл бұрын

    Wow just what I was looking for this year!!

  • @Tommypants
    @Tommypants Жыл бұрын

    This is exactly what I need. Thank you!!!

  • @johnroca338
    @johnroca338 Жыл бұрын

    Wowow! Super informative! Better than I had in my school!

  • @TheJohndward01
    @TheJohndward01 Жыл бұрын

    This is an amazing tutorial, thank you FCC!

  • @priyan8004
    @priyan8004 Жыл бұрын

    Who knew the power of free knowledge ! Thanks man for all the effort.

  • @NoNTr1v1aL
    @NoNTr1v1aL Жыл бұрын

    Nice Microservices reference! 😂

  • @rajeevsinha2670
    @rajeevsinha2670 Жыл бұрын

    One of the best videos i have where it explains all nuances of system design from front end to back end, how APIs work, DB, network, protocols etc. 👏👍

  • @illuminatidaylight8566

    @illuminatidaylight8566

    11 ай бұрын

    I want to get placed as a software Engineer so do I have to learn system design ? Should I watch this course ?

  • @khyatichaudhary4083

    @khyatichaudhary4083

    11 ай бұрын

    ​@@illuminatidaylight8566This course is not sufficient. Yes,you need to study.

  • @illuminatidaylight8566

    @illuminatidaylight8566

    11 ай бұрын

    ​@@khyatichaudhary4083thank you for replying 😊 So do you have the idea about the sufficient ones ??

  • @fabio.1

    @fabio.1

    6 ай бұрын

    👀

  • @egbolives123
    @egbolives123 Жыл бұрын

    This was a very educative course! highly recommended

  • @mikedelta658
    @mikedelta658 Жыл бұрын

    Thank you, the one and only Gaurav Sen!!! From Ethiopia

  • @gkcs

    @gkcs

    Жыл бұрын

    Thank you!

  • @CodeSnap01
    @CodeSnap01 Жыл бұрын

    gaurav is an inspiration to many

  • @founder8372
    @founder8372 Жыл бұрын

    Excellent course, thank you! I really wish though that the audio quality was better

  • @prashlovessamosa
    @prashlovessamosa Жыл бұрын

    Already learnt form this legend

  • @PrantikNoor
    @PrantikNoor Жыл бұрын

    Thanks for this course. It will help to design my project better.

  • @jhonsen9842
    @jhonsen9842 Жыл бұрын

    He is Gaurav. The God Of System Design.

  • @minhlhq62
    @minhlhq62 Жыл бұрын

    Thank you so much! Very great content!

  • @divyanshupandey4041
    @divyanshupandey4041 Жыл бұрын

    best gaurav sen system design video ever

  • @arnoldbhebhe
    @arnoldbhebhe Жыл бұрын

    Hi @gkcs! Thank you for the amazing content. Your videos have been super helpful in helping me understand system design!

  • @gkcs

    @gkcs

    Жыл бұрын

    Thank you!

  • @arnoldbhebhe

    @arnoldbhebhe

    Жыл бұрын

    @@gkcs you're welcome! Do you have any project recommendations that can help with mastering these skills?

  • @lewismuriungi4564
    @lewismuriungi45647 ай бұрын

    Just started the video, so far so good, should be the first step when thinking of creating software

  • @askholia
    @askholia9 ай бұрын

    A fantastic resource for any newer software engineers.

  • @shloksuman8164
    @shloksuman8164 Жыл бұрын

    Pretty well summed up by him , helpful for beginners like me

  • @jmbert0
    @jmbert0 Жыл бұрын

    You posted this at the perfect time thank you

  • @adrianbitsinnie1537

    @adrianbitsinnie1537

    Жыл бұрын

    For Real!! I didn't notice it was posted 7 hours ago but it is such perfect timing for me

  • @JackSparrow-tv3mo
    @JackSparrow-tv3mo Жыл бұрын

    Love u , searching this topics from long time.

  • @borisv8766
    @borisv8766Ай бұрын

    Great video. 1:18:43 - if going with variable frame length, then, if a frame is extended with absolute start position attribute, it becomes possible to do binary search within frames array for timestamp, instead of linear iterations ( O(log n) vs O(n) ). With fixed frame length even better, instead of iterations just divide timestamp by frame length, and we have a frame index in O(1).

  • @sathvikvutukuri9179
    @sathvikvutukuri9179 Жыл бұрын

    Oscar award for Best system designer.

  • @jelonidas7772
    @jelonidas7772 Жыл бұрын

    I've been waiting for that! thx FCC!

  • @sherwinmontanez5481
    @sherwinmontanez54815 ай бұрын

    Kudos to this man!😊😊😊 I learn a lot in your system design course. It's a good video to watch in 2024

  • @Srishti9015
    @Srishti90158 ай бұрын

    I am still going through the video, but just wanted to say thanks so much for making content like this. It's so well thought out and articulated. I am a mid-level engineer and I have a rough, abstract understanding of most of these concepts but I need the nitty gritty to be reinforced so that I can talk about it confidently. You covered exactly that in your example. Thanks Gaurav and thanks freecodecamp for another video that hits the nail on the head

  • @zohebahmed6733
    @zohebahmed6733 Жыл бұрын

    Nothing much to say, Just happy to see Gaurav Sen :3

  • @cemunlu9552
    @cemunlu9552 Жыл бұрын

    i have exam about information systems and this contains the subject thankss!!!

  • @user-vv7po3zq4x
    @user-vv7po3zq4x7 ай бұрын

    Liked it. Very informative in an easy-to-understand way!

  • @umehmoses8118
    @umehmoses811810 ай бұрын

    This is wonderful. Much love from Nigeria

  • @i_am_dumb1070
    @i_am_dumb1070 Жыл бұрын

    I am thinking of making a basic video sharing and streaming platform for personal projection and this really helped me a lot thankyou

  • @BestURLShortenerBioPageQRCode
    @BestURLShortenerBioPageQRCode9 ай бұрын

    Really really awesome video. Thank you for this tutorial! This is exactly what I have been looking for.👍👍👍

  • @theobaldigberaese4572
    @theobaldigberaese4572 Жыл бұрын

    Great work ✅

  • @kush501
    @kush501 Жыл бұрын

    Thanks you sir!!!

  • @visheshgupta4990
    @visheshgupta49906 ай бұрын

    Thankyou so Much , This is a very informative video , this videos takes us on a journey where we think deeply which we never thought before , How in detail a engineer thinks about every aspect from making a call for next 10 seconds video frame , and all the various parts to make sure for a user the complete experience is so smooth and he never bother about it ... Thankyou so Much it is a great video to start learning about system design , It is interesting and Informative 🔥🔥

  • @user-fi2ty4bm2n
    @user-fi2ty4bm2n Жыл бұрын

    This course is decent! I learned this course in my degree, and it cost 3500 USD. Huges thanks to Gaurav Sen and freeCodeCamp.

  • @techwithbube
    @techwithbube Жыл бұрын

    Awesome content. I really enjoyed this

  • @harsh9558
    @harsh95587 ай бұрын

    Awesome video! Really enjoyed through the video

  • @yashukumar4713
    @yashukumar471311 ай бұрын

    Prerequisites for understanding the concepts is some sort of APIs Knowledgs, Networking Protocol, Database System. Just need basic concepsts.

  • @joseantoniojose7933
    @joseantoniojose7933 Жыл бұрын

    Thanks a helpful and intersting video of all these systems topics... Very good...

  • @achiver
    @achiver Жыл бұрын

    Really I wait for that course so long

  • @aammssaamm

    @aammssaamm

    Жыл бұрын

    Try reading books. 😂

  • @nikkis8102
    @nikkis810211 ай бұрын

    Hands down the best system design course ever. Thanks so much!!!!

  • @lemonjuice6177

    @lemonjuice6177

    4 ай бұрын

    Bro this is nuts

  • @ivanfoofoo

    @ivanfoofoo

    4 ай бұрын

    What's nuts? xD

  • @chrisrockscode1202
    @chrisrockscode12024 ай бұрын

    Yeah I totally could have used this video last year when I was deep into my capstone project, except I was trying to figure out all this stuff with my team trying to come up with a very similar program, our conversations were very similar to everything in this video… we weren’t able actually make a viable product tho, this would have been a great help… we were missing some of the late video processing parts that were very complex to get implemented and working

  • @mahendranath2504
    @mahendranath2504 Жыл бұрын

    Thank you so much ❤😂🎉👏🙏🏻🤔🤝👌👍

  • @fotoflo
    @fotoflo Жыл бұрын

    Fantastic course! Thank you. Curious what your setup is for the drawing stuff part - are you using an iPad + pencil? with what software?

  • @AnkushBisht

    @AnkushBisht

    Жыл бұрын

    Microsoft Whiteboard. He mentioned in a reply to one of the older comments.

  • @artyomnomnom
    @artyomnomnom Жыл бұрын

    It would be great having subtitles for such important topic

  • @JN-of7mf
    @JN-of7mf9 ай бұрын

    Great Video! One question. In the getFrame() method, can we just divide the given timestamp by Frame.FrameTime, to get the index to the array of frames ? Instead of looping to find the frame ?

  • @focusTOP5
    @focusTOP54 ай бұрын

    THE OG OF SYSTEM DESIGN

  • @grotsunfull
    @grotsunfull Жыл бұрын

    nice job!

  • @kaushikdr
    @kaushikdr Жыл бұрын

    For "Go back to video and watch from timestamp", couldn't it be `play(user, videoID, 0)` where if it is 0, you check your cache to see if the user saw it previously? I also think that watched video shouldn't be a separate object because it doesn't make sense to create a new object every time a user watches a video. Instead, I think there should be a database table for watched videos with userID, seekTime, and videoID that can be queried in the VideoConsumingService.

  • @noahhradek5426
    @noahhradek5426 Жыл бұрын

    thank you for this. System design is on interviews and there are very few resources.

  • @gkcs

    @gkcs

    Жыл бұрын

    You can also try InterviewReady for system design interviews.

  • @mllenessmarie
    @mllenessmarie11 ай бұрын

    Holy cow, is that Galactus? Great easter egg, guys!

  • @Lost1nTranslation
    @Lost1nTranslation Жыл бұрын

    Thank you!

  • @shubhamsingh-gb5zh
    @shubhamsingh-gb5zh Жыл бұрын

    Very good explanation

  • @SatyaUpendra
    @SatyaUpendra10 ай бұрын

    Good to see @gkcs here

  • @dehu3010
    @dehu3010 Жыл бұрын

    Could you guys consider making a course for Solidworks?

  • @cankoban
    @cankoban Жыл бұрын

    Finally 🎉

  • @MadalinIgnisca
    @MadalinIgnisca Жыл бұрын

    Hi Gaurav. Thank you for sharing such a nice course. May I ask what software you use to edit your videos, as I do see lot's of open source touch to it?

  • @gkcs

    @gkcs

    Жыл бұрын

    It's Microsoft Whiteboard.

  • @rishiraj2548
    @rishiraj2548 Жыл бұрын

    Great thanks

  • @sinikp3015
    @sinikp3015 Жыл бұрын

    Thank you Gaurav . Excellent content ❤

  • @illuminatidaylight8566

    @illuminatidaylight8566

    11 ай бұрын

    Is this really helpful?? I want to become a software Engineer so should I watch this ??

  • @thymos6575

    @thymos6575

    7 ай бұрын

    @@illuminatidaylight8566 yes why not

  • @borisv8766
    @borisv8766Ай бұрын

    Excellent walkthrough! Nitpicking: at 33:37 RTMP must be arrow-connected to the "video" table, not to the "user".

  • @dandandan01
    @dandandan01 Жыл бұрын

    5:46 got me good

  • @gkcs

    @gkcs

    Жыл бұрын

    Yes!

  • @sohamvishwas6795
    @sohamvishwas6795 Жыл бұрын

    Thank you :)

  • @polarbear986
    @polarbear9867 ай бұрын

    The tutor is amazing

  • @akhzarnazir
    @akhzarnazir2 ай бұрын

    Thanks Gaurav, Salam from Lahore, Pakistan

  • @irfanadamm5819
    @irfanadamm58198 ай бұрын

    great for viewing from ux designer point of view

  • @megamaxdevelopment9890
    @megamaxdevelopment9890 Жыл бұрын

    Great video !

  • @50kT
    @50kT Жыл бұрын

    What whiteboard software is he/you using for this 17:23, I noticed boxes automatically get squared up and lined clearly. I've got a drawing tablet and want to implement this into my workflow and looking for some good whiteboard software.

  • @pavanrayudu3031
    @pavanrayudu30318 ай бұрын

    great tutorial for beginners

  • @6_nikki_9
    @6_nikki_9 Жыл бұрын

    Very interesting.

  • @IdiotOfftheInternet
    @IdiotOfftheInternet Жыл бұрын

    The explanation in the video is prolly not exactly related to "live streaming" service but more inclined towards a offline video streaming model like yt

  • @jatinnandwani6678
    @jatinnandwani6678 Жыл бұрын

    Thanks so much

  • @AllenLSY
    @AllenLSY Жыл бұрын

    Gaurav? That's a person for interview. Interview is quite different than real system design.

  • @antonioprofinfo
    @antonioprofinfo Жыл бұрын

    Thanks!!!

  • @rohulahadi3990
    @rohulahadi3990 Жыл бұрын

    🔥😍

  • @aceintheblackhole
    @aceintheblackhole11 ай бұрын

    i like the idea of Brad Pitt posting on LinkedIn :D great course, thank you ;)

  • @Mari_Selalu_Berbuat_Kebaikan
    @Mari_Selalu_Berbuat_Kebaikan5 ай бұрын

    Let's always do alot of good ❤️

  • @lets_learn_some_tech5542
    @lets_learn_some_tech5542 Жыл бұрын

    What software is used to draw those use case ? : it's LucidChart

  • @ajaykumarsah6276
    @ajaykumarsah62764 ай бұрын

    Great