L16: The CAP Theorem

Поделиться
HTML-код
  • Опубликовано: 15 янв 2025

Комментарии • 287

  • @kavinduchamiran4869
    @kavinduchamiran4869 5 лет назад +179

    Best explanation ever! You saved hours of my time.

  • @stevenjin740
    @stevenjin740 4 года назад +47

    I have to say, this is by far one of the clearest explanations I've seen (of anything not just of distributed systems). Your ability to convey the idea both simply and elegantly is a real testament to your experience and knowledge of the subject. Thank you for this.

  • @condemned8916
    @condemned8916 2 года назад +1

    The beauty of great explanation is that it is simple yet complete in nature.
    Please continue making more such videos related to distributed systems.

    • @DistributedSystems
      @DistributedSystems  2 года назад

      Thanks! I have another in the pipeline, but keep on getting distracted by other things. Ahhh, life. :-)

  • @PratuatAmatya
    @PratuatAmatya 5 лет назад +46

    The best explanation of CAP theorem I have got so far. Thank you Sir.

    • @DistributedSystems
      @DistributedSystems  5 лет назад

      Thanks for the note!

    • @kimaegaii
      @kimaegaii 4 года назад

      @@DistributedSystems I second this, I constantly search out people who are able to articulate things well to beginners. Bravo sir. Thank you.

  • @aykutbozkurt3058
    @aykutbozkurt3058 5 лет назад +1

    What makes this talk more attractive and informative is definitely very clear real life example. Thanks

  • @saurabhc4278
    @saurabhc4278 3 года назад

    The best 7 minutes explanation on the internet which tells about CAP theorem easily than those pretentious youtube 30-40 minute videos where you don't get much information than this and end up getting confused too . A Big thank you !!!

  • @natem889
    @natem889 3 года назад +1

    Thanks, Chris for the wonderful and simplest explanation of the CAP theorem.

  • @vpshastry
    @vpshastry 4 года назад

    The RUclips algorithm has finally succeeded. I'm glad I found this explanation. The explanation is so clear, to the point and the best part is couple of his videos are explained with a real world example. That's real great!
    Bonus: if you've not yet seen his counter strike explanation yet, watch it right away.

  • @aamirfayaz2667
    @aamirfayaz2667 3 года назад

    So far, the best explanation on CAP theorem I found, crystal clear explanation.

  • @ashu176
    @ashu176 4 года назад

    I have always maintained that using analogy is the best way to explain complex concepts. Kudos!

  • @lanluo5835
    @lanluo5835 5 лет назад +2

    You are the best teacher on RUclips, I am so glad that I have found your channel

  • @pb25193
    @pb25193 5 лет назад

    I am someone who is transitioning to a software engineering career. Very strong at algorithms. Have a google interview coming up and i was told that they would want me to know system design. It was shattering for me because i dont have much confidence in that, and a lot of my surfing has taught me that there is no substitute for real experience. But you, sir, are doing an excellent job. I love you!

    • @DistributedSystems
      @DistributedSystems  5 лет назад

      Very kind of you, thank you!

    • @pb25193
      @pb25193 5 лет назад

      By the way, since you are reading the comments and replying. I was wondering if you plan in the future to maybe go over the original legendary papers such as bigtable and gfs, talking about the kind of needs and design decisions that led to it? Not wanting to know confidential things but just an insiders perspective would be very awesome!

    • @DistributedSystems
      @DistributedSystems  5 лет назад +1

      I've deliberately avoided topics where I might be tempted to violate my NDA. ;-) Having said that -- the next topic I've been writing notes for is explaining how distributed storage systems work. So you might get a taste of what you are looking for if/when I finish that.
      FWIW, GFS (as described in the SOSP paper) is no longer in use inside Google, it has been replaced by a successor called Colossus. It looks like a reasonable overview of Colossus is in this slide deck: www.pdsw.org/pdsw-discs17/slides/PDSW-DISCS-Google-Keynote.pdf

  • @alexanderv.5243
    @alexanderv.5243 3 года назад

    I rarely write comments, but now I have to do it again.
    This is the easiest to understand explanation I could find. So cool!
    Thank you very much!

  • @Cneqq
    @Cneqq 2 года назад

    Currently studying an advanced unit of databases at University for a Bachelor of IT and this video presented the concept of the CAP Theorem far better than the University lecturer, well done.

  • @yunaf4609
    @yunaf4609 2 года назад

    Excellent example, after grappling with this subject for hours I finally got it within a few minutes when you gave the bank example.
    Gonna check our the rest of your vids!

  • @oussamabouroukba5860
    @oussamabouroukba5860 4 года назад

    i looked over different sources to get the proper understanding of this CAP theorem, and by far i can say that this is the Best explanation i've seen. especially when you gave that example of google Docs then the difference between consistency and availability couldn't get any clearer.
    thank you so much sir

  • @zss123456789
    @zss123456789 5 лет назад

    So glad I found this, I learned so much from you, not just the technical details, but how to keep your viewers engaged.

    • @DistributedSystems
      @DistributedSystems  5 лет назад +1

      Thanks, that's really nice of you. :-)

    • @zss123456789
      @zss123456789 5 лет назад

      @@DistributedSystems No problem! Can't wait for your next video!

  • @mehdiichkarrane5059
    @mehdiichkarrane5059 3 года назад

    What a nice explanation in only 7 minutes. Thanks !!

  • @pippopeppe83
    @pippopeppe83 9 месяцев назад

    The draws together with the example make the explanation very clear. You are very good very good. Clap clap clap

  • @roshanmathew750
    @roshanmathew750 3 года назад

    Awesome explanation with easy-to-understand example. Superb.

  • @mohsenvafa
    @mohsenvafa 3 года назад +1

    Great video about CAP theorem, I now have a better understanding of this concept! I feel you turned on the light in a dark room.

  • @prafulsinghvit
    @prafulsinghvit 3 года назад

    The example - Just wow!
    Heartfelt thanks!!

  • @gaurav2010kumar
    @gaurav2010kumar 2 года назад

    Thank you so much.. After watching so many confusing videos, I found the perfect one!

  • @pradeepbhat1363
    @pradeepbhat1363 4 года назад

    I was trying to understand cap theorem since years. I understood it finally, thanks to this video.

  • @youssoufcameroon2565
    @youssoufcameroon2565 4 месяца назад

    I read 4 articles before coming here. Salute sir,

  • @dieselnich
    @dieselnich 7 месяцев назад

    Thanks for the understanding and your Audio is clear.

  • @pritomdasradheshyam2154
    @pritomdasradheshyam2154 4 года назад

    So beautifully explained and the animations just made it better.

  • @piyusgupta9498
    @piyusgupta9498 2 года назад

    Amazing example to understand the complex design paradigm, Salute 🙏

  • @danielgospodinow
    @danielgospodinow 4 года назад

    I can't believe that such great explanations exist! Wonderful job!

    • @DistributedSystems
      @DistributedSystems  4 года назад

      I can't believe how nice my commenters are (especially given this is RUclips...). Thank you!

  • @kimjooeon
    @kimjooeon 3 года назад

    Your explanation is amazing thanks!

  • @murtaza4989726
    @murtaza4989726 3 года назад

    Wonderful and concise explanation.

  • @marlonmendes1475
    @marlonmendes1475 5 лет назад +5

    Liked and subscribed because of the git merge part at 5:41 !

  • @kasemahasema
    @kasemahasema 5 лет назад

    Richtig geiler Erklärung des CAP-Theorems! Daumen hoch für dieses tolle Video!

  • @user-pc9yb9vi5k
    @user-pc9yb9vi5k 2 года назад

    Thank you so much! This is so clear and really explains the relevance to me as a software engineer.

  • @liquidpebbles
    @liquidpebbles 3 года назад

    Great talk man. Easy to follow and understand

  • @s98ks22
    @s98ks22 5 лет назад +2

    Wow! Incredibly easily explained!!! Thank you!

  • @greatjobbuddy
    @greatjobbuddy 3 года назад

    I like how this guy explains things.

  • @kumarc4853
    @kumarc4853 8 месяцев назад

    Great explanation and reasoning

  • @DennisGrahamJR
    @DennisGrahamJR 4 года назад

    That was, in a word, fantastic.

  • @sbikmal
    @sbikmal 3 года назад

    Thank you for a very comprehensive explanation.

  • @redraushan
    @redraushan 4 года назад +1

    Indeed, crystal clear explanation. Looking forward to learn more from you!

  • @ericsilinda437
    @ericsilinda437 4 года назад

    Great video, concise, and easy to understand. In a work "Valuable". Thank you.

  • @tejasnareshsuvarna7948
    @tejasnareshsuvarna7948 4 года назад

    Just listening to you, I was like Wow....Brilliant explanation. Thanks a ton.

  • @j50313j50313
    @j50313j50313 3 года назад

    Save my life. Extremely clear!

  • @basstradamus1
    @basstradamus1 5 лет назад

    Simple and straight explanation. Thanks for sharing your thoughts.

  • @MohitGupta-ln2js
    @MohitGupta-ln2js 5 лет назад

    Great video. Explains the concept to the point.

  • @lucasgouvea6888
    @lucasgouvea6888 2 года назад

    This is just excelent. Thank you very much.

  • @manva007
    @manva007 5 лет назад +5

    Thanks for making this video, you have explained in detail with a very simple ATM example which everyone could relate to, looking forward to see more of such videos, subscribing

  • @Vinod.2020-k4z
    @Vinod.2020-k4z 3 года назад +1

    Very well explained. Thank you so much.

  • @AurelianoShowsTheWorld
    @AurelianoShowsTheWorld 3 года назад

    Very cleverly put, thank you!

  • @ekbastu
    @ekbastu 4 года назад

    Teaching, like a boss. Thanks a lot.

  • @Lokeshsanapalli1729
    @Lokeshsanapalli1729 3 года назад

    wowwww!!! man!!!! i can listen to this video in a loop... what a nice and neat way of explaining... just awesome...

  • @sreenivasamadenahall
    @sreenivasamadenahall 4 года назад

    Thank you for explaining beautifully with a simple and real life use cases. I have seen many sites including one from IBM Cloud just telling what CAP means without any meaningful examples.

  • @SrRunsis
    @SrRunsis 4 года назад

    This explanation is magnificent! You are an amazing teacher!

  • @matthewnigh
    @matthewnigh 5 лет назад +1

    Fantastic video! Thanks for doing it.

  • @madanmohanpachouly6135
    @madanmohanpachouly6135 2 года назад

    Very clear explanation. Thanks

  • @prasad_yt
    @prasad_yt 3 года назад

    Excellent Explanation !!

  • @kaysong3800
    @kaysong3800 4 года назад

    Brilliant explanation. I have shared it with my folks. Thanks.

  • @miracledoh4020
    @miracledoh4020 5 лет назад

    This is the best explanation! Please keep up with the good work!

  • @iitgupta2010
    @iitgupta2010 5 лет назад

    Wonderful explanation... best i found No need to go further to understand it.. I grabed all

  • @SidhuSatinder
    @SidhuSatinder 4 года назад

    This is so nice. Thanks for sharing your knowledge

  • @mgkindtube
    @mgkindtube 4 года назад

    Concise and easy to understand. Thank you for putting this up.

  • @syednadeembe
    @syednadeembe 3 года назад

    this is as simple as it gets in terms of explaination

  • @HarkiratSaluja
    @HarkiratSaluja 3 года назад

    This is so good. Thank you for such a simple explanation.

  • @billykim5335
    @billykim5335 4 года назад +1

    So impressive. Well-made video series I think! Thanks so much for your effort :)
    I am waiting for next video soon! Hope it will be really 'soon'!

  • @armenchik_dzhan
    @armenchik_dzhan 2 года назад

    Really good explanation! Thank you so much!

  • @crolex6443
    @crolex6443 3 года назад

    Such a good explaination. Thank you

  • @robin2080
    @robin2080 3 года назад +1

    I studied economics in college, but this makes me want to go back to school and so CS so bad! Thanks for such a great video!

  • @vidyap7177
    @vidyap7177 4 года назад

    Awesomely explained! Thank you so much!

  • @andreyvalverde4780
    @andreyvalverde4780 3 года назад

    Great explanation my friend!

  • @EzequielGarraffo
    @EzequielGarraffo 5 лет назад +1

    Awesome example!. Thank you so much for this!

  • @Van_Verder
    @Van_Verder 3 года назад

    Great explanations, thx! 👍🏽

  • @SahilRallySuperStar
    @SahilRallySuperStar 4 года назад

    Thanks a lot, finally someone explained it very well.

  • @Sevius969
    @Sevius969 3 года назад

    Wow. Amazing explanation! and in 4k!

    • @DistributedSystems
      @DistributedSystems  2 года назад +1

      Turns out that playing with camera equipment and video editors is half the fun of making these videos. :-)

  • @aydin_ugur
    @aydin_ugur 3 года назад

    Great explanation, thanks.

  • @alanturingtesla
    @alanturingtesla 2 года назад

    Thank you very much, this has been very useful!

  • @CodeSwag
    @CodeSwag 2 года назад

    Thank you so much for a great explanation!!

  • @yuliangjin5992
    @yuliangjin5992 4 года назад

    Best explanation! Thank you.

  • @ExcelTutorials1
    @ExcelTutorials1 2 года назад

    You explained this very very well, thank you!

  • @techielee5878
    @techielee5878 4 года назад

    Man oh man, this is good!!!

  • @PrathamMantri
    @PrathamMantri 4 года назад

    Thanks boss, it was amazing!! Loved it!!!

  • @uchennodim1161
    @uchennodim1161 2 года назад

    Thank you sir. I really appreciate

  • @nagupilla8895
    @nagupilla8895 2 года назад

    Beautifully explained. Thnq.

  • @MrBojo-jv4qq
    @MrBojo-jv4qq 3 года назад

    Short and good!

  • @MultiChinglish
    @MultiChinglish 5 лет назад

    Very clear explanation! Thanks!

  • @frantel90
    @frantel90 5 лет назад

    Excelente explicación !!!!

  • @realstormshadow
    @realstormshadow 3 года назад

    Thanks! great explanation

  • @janstrakos969
    @janstrakos969 2 года назад

    Ohh, Great Explanation. Thanks

  • @amirnamdar8942
    @amirnamdar8942 Год назад

    Thank you, great video

  • @chophilip21
    @chophilip21 3 года назад

    excellent explanation

  • @ramasubramanin3474
    @ramasubramanin3474 5 лет назад

    Perfect Explanation !

  • @NicolasC3rny
    @NicolasC3rny 4 года назад

    Great video!

  • @dmitrynutels9340
    @dmitrynutels9340 4 года назад

    May I ask about your plans on doing more of these? Perhaps a helping hand?
    I'd love to be able to point my current and future less experienced co-workers to these... I was thinking a deeper dive into topics like CQRS, event sourcing, event-driven distributed systems, DDD, system monitoring, distributed logging, containers -- the field is full with interesting stuff... that is often to "copy and paste" and less "stop and think".

    • @DistributedSystems
      @DistributedSystems  4 года назад

      Thanks for the offer! I'm working on creating more in the background, but my primary job is to be a stay-at-home dad (and right now, with Covid, apparently a homeschool instructor too). Hopefully I'll get more out soon.
      If you want some more stuff to study, I've added a few links at www.distributedsystemscourse.com.

  • @AashraiRavooru
    @AashraiRavooru 3 года назад

    As usual Indian college students preparing for their exams have descended on one of your videos.

  • @jp2ric
    @jp2ric 10 месяцев назад

    Another solution to partition is to use quorum, with a ‘leader’ having higher precedence and allowed to operate normally if there’s a partition, and ‘followers’ blocked if they can’t see the leader.

  • @thaio968
    @thaio968 5 лет назад

    Wholesome video!!!

  • @AmeenAltajer
    @AmeenAltajer 3 года назад

    Best explanation eveeeeeeeeeeeeeeer!

  • @zahrafarzian6568
    @zahrafarzian6568 3 года назад

    Many thanks. It was interesting.

  • @anshulnagpal1479
    @anshulnagpal1479 3 года назад +2

    Thanks for the insights. In Real world distributed systems, there are usually more than 2 nodes(systems) connected to each other , making each node connected to another one by multiple paths. So do we really need to think about "Partition" ? Cannot we always have Consistent and Available Systems with "Partial Partition Tolerance" ( meaning few paths are not working).
    Also for Consistent systems do we really need to update all the nodes. More than half would suffice and while reading we can have some logic to make sure System respond with correct response and not obsolete although this will make System slow.

    • @DistributedSystems
      @DistributedSystems  3 года назад +1

      You are correct -- in the real world, your system not only has to deal with partitions, but with partial network failures. I've seen cases where computer A can talk to B, and B to C, but A can't talk to C. It is really annoying. ;-)
      But in theory if you have a partial failure without a partition, you can still communicate -- so consistency can still be achieved (at least, with enough code...).
      You can choose to think about the partition case or not, up to you. But if you don't think about it, you are still going to suffer the consequences if a partition does happen. It is perfectly valid to say something like: "I've designed hardware that makes partitions exceptionally unlikely, and I'll just halt the system if one happens."

  • @TheXmas100
    @TheXmas100 5 лет назад

    Una explicación muy buena!