System Design Primer ⭐️: How to start with distributed systems?

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

КОМЕНТАРІ • 548

  • @gkcs
    @gkcs  3 роки тому +54

    Design scalable systems is an important part of software engineering. Wishing you all the best!
    If you want to know more about system design, try get.interviewready.io

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

      6 - the system was already distributed, this step is actually making it geographically distributed.

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

    This is by far the simplest explanation for a distributed system design. Hats off..

  • @ashfaqrahman2795
    @ashfaqrahman2795 4 роки тому +456

    So this is how you feel when you actually love what you do.

    • @gkcs
      @gkcs  4 роки тому +33

      Yup 😁

    • @RitikKumar-cz8rb
      @RitikKumar-cz8rb 4 роки тому +10

      maybe its the other way around !!

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

      @@RitikKumar-cz8rb yeah 😁

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

    Your explanation and simple real-world analogy reminds me of my favorite CS professor who did the same thing. So clear and easy to follow, thank you!

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

    On seeing this video, I remember "Give this Kid a Medal" Meme 🏅
    Wonderrrrrrrful Explanation brother 👏🏻👏🏻👏🏻

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

    I didn't even watched starting but I liked the video, because the quality of content will be amazing always
    Now I should get to the video haha...

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

      Hahaha thanks Vishnu!

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

    I feel like practice more harder to join uber less for company more for to be a part of those brainstorming sessions 🤩@gaurav @akshay

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

    Thank You🙏🙌

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

      You're welcome 😊

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

    Well done yaar, nice example.

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

    Thanks for system design videos , sorry I can’t follow untechnical examples like pizza in this video. Is there an technical such as app or db eg which I can go through ?

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

    Hey Gaurav, What book(s) would you recommend to an individual just starting off with distributed systems? I've gone through your videos and some blogs on high scalability but I wanna dive deep so how would you recommend doing that?

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

      Try "Designing Data Intensive Applications". It's great 😁

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

      @@gkcs Will do, thanks! And needless to say awesome videos and keep up the good work ;)

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

      Database internals (Alan)
      Distributed Algorithms .
      Domain Driven Design.
      Advanced Discrete mathematics
      Articles and blogs on consensus, paxos , Raft ,Control theory.
      Implementation of MSTP protocol in network switches also has some real world design applications.

  • @akshaymarch7
    @akshaymarch7 4 роки тому +313

    Demystifying System Design Jargons in the form of a story. Very well wrapped in 10 minutes! 👏
    BTW, who's that other smart guy at 09:49 ? 🤔

    • @gkcs
      @gkcs  4 роки тому +52

      Hahaha. The other smart guy is me 😎

    • @kuldeepyadav-br8kr
      @kuldeepyadav-br8kr 4 роки тому +3

      Akshay Saini ???

    • @PankajKumar-kq1cd
      @PankajKumar-kq1cd 4 роки тому

      Hi Gaurav, does the educative invoice have GSTIN in their invoice??

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

      Wow, that is Akshay Saini from Namaste Javascript. Are you two collegues?

  • @atulanand3291
    @atulanand3291 3 роки тому +225

    1: vertical scaling: optimise precision and increase through put with the same resources
    2: preprossing (e.g cron job) : prepare before hand during non pick hours
    3: Backups: keep backups and avoid single point of failure
    4: horizontal scaling: get more resources
    5: micro service architecture
    6: distributed system (partioning)
    7: load distribution
    8: Decoupling
    9: Logging
    10: extensible

  • @BruceWayne-mf6ps
    @BruceWayne-mf6ps 4 роки тому +60

    6:00 Reheating the food ≈ Caching ? 😂🤔

  • @abinashpanda393
    @abinashpanda393 4 роки тому +332

    Legend says gaurav is better than college professors.

    • @gkcs
      @gkcs  4 роки тому +52

      I am one to believe in legends 😛

    • @doumkatekz
      @doumkatekz 4 роки тому +4

      Abinash speaks the truth.

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

      @@gkcs No you are more than that bcoz you can make money out of it but you are sharing your knowledge for free. It is a service to the coding/dev/students community. Hats Off ! Thanks a lot. I am learning from your videos a lot.

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

      Absolutely correct.

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

      Thankyou for recognising me as a legend

  • @FiorianCanuck
    @FiorianCanuck 4 роки тому +48

    Completely unrelated:
    Ordering Pizza now.

  • @mihirbhatawadekar4753
    @mihirbhatawadekar4753 3 роки тому +70

    How soothing is to watch a good teacher who is interesting and as a student we are interested to learn. Thank you man ❤️

  • @vinayaka1234
    @vinayaka1234 4 роки тому +84

    System design explained in simple terms - As usual the signature style of Gaurav Sen

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

      Thank you 😁

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

      @@gkcs to be honest i am confused because i was trying to relate it with system servers etc and you are explaining with pizza shop

  • @wizleaf
    @wizleaf 4 роки тому +28

    Watching this at midnight. In my head only have Pizza and garlic bread

  • @nabhyachaurasiya5957
    @nabhyachaurasiya5957 Рік тому +2

    from where can I get your notes?

  • @CarlosOrtiz-ht6rn
    @CarlosOrtiz-ht6rn 4 роки тому +68

    I love the analogies you use to explain these usually hard to grasp concepts. Thank you! 🙏

  • @vulturebeast
    @vulturebeast 4 роки тому +67

    This is by far the best video.. 🙌 hands down 😂😂 laughing all the way .. interesting 🙌😂

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

      Thank you! 😁

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

    Its 2024 and this video is still helpful, thanks for making it

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

      Thank you!

  • @makenakong
    @makenakong 4 роки тому +33

    Amazing. I've never understood such a complex concept so easily. I watched it a second time, not because you didn't explain things perfectly the first time, but because I liked the way you explained it so much.

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

      Thank you 😁

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

      +1 I rewatched it just to understand the terminologies better. Super duper useful

  • @jodufan8754
    @jodufan8754 3 роки тому +12

    Wenn you go crazy you rent a Server in another universe cause our Universe could have energy problems! Great Work man

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

    I don't think anybody could explain this in a better way. Taking a real world scenario and explaining it the right way!!! Kudos to you. Its my first time here, and subscribed already 👍

  • @kavitachauhan5818
    @kavitachauhan5818 4 роки тому +9

    Exactly what I was looking for! Amazing intro to System Design concepts. Thank you for posting this Video Gaurav. Love to see how passionate you are about these topics. This video has definitely increased my interest in system design.

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

      Thank you 😁

  • @dr4t
    @dr4t 4 роки тому +13

    Man, idk what you are talking about. I hired 3 chefs and my app still takes ages to load. And now the police keeps pressuring me about the slave chef they heard the other chefs talking with. Luckily I keep the slave chef in a different location.

  • @fahdciwan8709
    @fahdciwan8709 4 роки тому +28

    Thanks Gaurav !! for a person with a finance background planning a tech startup, this video was really helpful. its really important for all entrepreneurs to know what happens behind the scenes of their business.

  • @SauravDaruka
    @SauravDaruka 4 роки тому +8

    Excellent explanation Gaurav.
    You made it so simple that even a non-techie person can understand.
    Hatsoff! (Y)

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

      Thanks Saurav!

  • @sivanageswararaothota7279
    @sivanageswararaothota7279 4 роки тому +9

    That tee shirt quote was jus awesome..!! "Unfollow make your own track". ☺😀😎✋

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

      😁

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

      @@gkcs Where can i get that t shirt please?

  • @divyanshu30gupta
    @divyanshu30gupta 4 роки тому +17

    I can only imagine the amount of time you put in to just edit the video, let alone all the other things combined.

  • @sakshichoudhary436
    @sakshichoudhary436 2 роки тому +5

    Feels like listening to a friend explain a concept. ❤🙌

  • @robertsuttles9846
    @robertsuttles9846 3 роки тому +6

    Your content is spectacular! You provide such succinct yet fully encompassing examples. Please keep producing the great content!

  • @afridimajeed5897
    @afridimajeed5897 3 роки тому +3

    Now I know a little more about system design than before, but also damn I'm hungry

  • @divyan8477
    @divyan8477 2 місяці тому +1

    Hi Gourav , Need guidance on how to prepare for low level system design

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

    Loved the way you explained with relatable analogies. 🙌👌👏
    Would love to see a series on how app connects with docker and k8s 😃

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

      Thanks Sunny!
      I'll get on this soon. It's a hot topic 😁

  • @x12624
    @x12624 4 роки тому +4

    Talk about making the subject interesting and easier. This is how you teach, I learnt the technical concepts just by learning the pizza system lol.. simply Amazing, Gaurav.

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

      Thank you Hameed 😁

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

    WOW! This was an AMAZING video! Nice explanations! Thanks 😄👍

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

    I wish I would have known about your channel during my college days (well thats a prehistoric era :D)

  • @HarshKumar-nh6be
    @HarshKumar-nh6be 4 роки тому +1

    Abe yr bhai kya mazak mazak me samjha diya aapne to🤣🤣

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

    I usually don't comment but the thing is this type of content and effort automatically asks for it .

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

    Your videos are great, really GREAT! Loving them thank you

  • @AhmadSayeed-plus
    @AhmadSayeed-plus 4 роки тому +2

    For a while I felt like I can open a restaurant and become a system architecture at the same time. 🤓🤓🤓

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

    Great video! Would be great if u could make videos about analytics, auditing, reporting and machine learning

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

    You said something so important: figure out all the elements, then sign technical names. Such a beautiful insight.

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

    Damn bro! I got hungry after seeing the video

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

    awesome

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

    Now I understood how dominos and pizza hut manages the orders......I am going to open my own pizza shop!!! Just kidding.....Anyway great explanation!!!!

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

    Really looking forward to watching a video where you explain how to build a distributed scalable system from scratch and how to scale it. Maybe just a simple HTTP Server?

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

    This video should get lots of like because its explanation level is brought down, to make it understandable to large audience.
    Loved it..

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

      Thanks Mayank!

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

    Backups - Replication?
    More chefs - Sharding?
    Edit scratch that.
    More chefs specialized services
    Edit okay i give up that escalated too quickly 😅. The amount of knowledge covered per second is over 9000

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

    You had me at 5 mins to make 😂🤣

  • @yanndetaf5725
    @yanndetaf5725 8 місяців тому +1

    I really like the fact you are using analogies with real-life scenarios as a way to make complex technical concepts understandable.
    Great job
    👍

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

    What kind of engineer are you ? How can I do something similar?

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

      I am a software engineer. Companies like Amazon, Uber, Google etc... need engineers who build large scale software systems. You could apply for a software role if interested 🙂

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

    Where have you been all these days? This is a great explanation. I’m not skipping the ads anymore.

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

      I will try to be more regular with the videos. Work manages to creep in though 😛

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

    I feel bad for slave chef

  • @KomalSingh-bh8zr
    @KomalSingh-bh8zr 4 роки тому +3

    As usual, very informative and interesting video but I loved the simplicity of it all. Eagerly waiting to learn the next topic you cover!

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

      Thanks Komal!

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

    Ohhkaayyy....Now I get it, before coming to last phase of this video, I found a pattern how Akshay teaches in Nameste JS series.
    Good Friends and Great teachers...Kudos to the both of guyzzz.👌👏👏👏

  • @adityakanoi8703
    @adityakanoi8703 8 місяців тому +1

    Lecture - 2
    Pizza Shop Business Design Understanding
    1: vertical scaling: optimise precision and increase through put with the same resources
    2: preprossing (e.g cron job) : prepare before hand during non pick hours
    3: Backups: keep backups and avoid single point of failure
    4: horizontal scaling: get more resources
    5: micro service architecture
    6: distributed system (partioning)
    7: load distribution
    8: Decoupling ( Separating Delivery or 3rd Party applications with the system )
    9: Logging ( For Logging , Understanding the Previous Trends , Analytics and Machine Learning )
    10: extensible ( Scalable - Like Today only Pizza but maybe tomorrow Burger and fries )

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

    This man dominating the system design field in youtube. Great work . Thanks for the great explanation :)

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

      Thanks!

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

    Just found your video series by smb's recommendations.
    The video edit is so well done, especially those meme-like transitions :D
    Subscribed and waiting for new episodes, thank you!

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

    System Design intrigues me, but I am still in college(2020 batch) and I wonder, if apart from coding, should I focus on these things too? Do companies ask freshers system design questions?
    Thanks a lot though for the content.

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

      They do ask the simpler concepts 🙂

  • @AA-wz1nj
    @AA-wz1nj 4 роки тому +1

    don't find tech things that much amusing, but never found myself lost while watching this!!!

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

    What if the load balancer is down?

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

      I think that's why we need 2 load balancers to reduce single point of failure.

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

    Just started out with system design. And I knew your videos would be the goto place for my doubts!

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

    I am going to enter 3-2. How do I start learning distributed systems?

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

    gaurav, can you plz share your thoughts on AWS Lambda? do u think it will totally eliminate the need for a system architecture? & Do you think it can handle scaling?

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

    Fantastic video.. and great explanation... Shows how much you are passionate about teaching these complex concepts in simpler analogies.
    Subscribed!!

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

    Wow 🤙🏻 this is absolute gold. As a beginner I wanted to get my head around what distributed systems are and this video just clarified most of my doubts. 😁😁

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

      😁

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

    0:24 That music 🎶
    😂 i laughed loudly on the music
    Don't know why
    Music is just funny with Environment of learning

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

    This is what I needed thank you gaurav, what do you recommend after this ? Thanks :)

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

    The title should be "GKS's pizza shop theory for system designers!"

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

    This guy has gotten better and better and better every time I blink my eye and come back. Respect.

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

    what's the difference between decoupling and microservices? Or is microservices born out of decoupled systems ?

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

    Wow, you are better than any college engineer. Very smart!!

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

    Absolutely amazing content. The passion is contagious and the content is top notch. Not a single second wasted explaining! Thanks a lot Gaurav!!

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

    Why do we need backups in case of horizontal scaling? Doesn't our load balancing algorithm takes care of that in case of failures?

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

    Omg man....best explanation ever!...really easy to understand..

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

    we can also hire a bigger chef for vertical scalability

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

      Hahaha good one!
      You are right in a way...we can train the chef to do more, which would be like vertical scaling.

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

      @@gkcs ooh nice, thank you

  • @vishalgarna12
    @vishalgarna12 13 днів тому +1

    ❤❤

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

    What is the difference between decoupling and having a microservice architecture?

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

    Can you share the video link for system design as shown in your video ( $4.99) course. thanks

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

    Hi, is clock synchronization is must in every distributed system ? Can i just call it a distributed system where nodes are working on different data set at different locations independently in order to make some business decision at the end. Cant be different computations at different locations be logically independent ?

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

    If you were ever considering a career change, you'd make an excellent restaurateur!! :D

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

    Can you change the location of the items you entered in the upper right corner? they overlap with the top suggestions and are difficult for us to see. If you don't have a chance to fix it for this video, keep it in mind for the next ones. Keep up the good work 👌

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

    You mentioned master slave concept. Wanted to know, you have to pay for slave server if it is standby state or we only pay , when it is replacing master in case of failure. Can you please comment on that?

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

    That was a great introduction, you're very engaging!

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

    Avoid adding emojis those are diverting concentration. 😜🤪🤪😅

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

    this guy makes me feel incompetent. im alrdy nervous getting into tech😢

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

    This is not distributed systems. It's generic system design for an interview.

  • @saurabhkumar-vj6xp
    @saurabhkumar-vj6xp 3 роки тому

    Hi Gaurav, do you have your book on software design and architecture

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

    Can we have a system design on push notifications???

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

      I have a few on publisher subscriber and message queues.
      Check out the playlist in the description 🙂

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

    Unfollowing you.
    Your t-shirt says.

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

    Not a developer but love your videos.I am a senior product manager and now I can have fluent conversations with my developers :) Thks Gaurav!

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

      Cheers!

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

    cant you make your course in python..its hard to understand JAVA

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

    #triggered plz talk to whoever nessessary to make sure this system changes to be more humane.

  • @samyakjain7300
    @samyakjain7300 3 роки тому +6

    Mind blown by what this guy has just explained in less than 10 mins!!

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

    Can you create video on System design of UPI?

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

    Now I am having pizza cravings! ordering one now! XD