Consistent Hashing | Algorithms You Should Know #1

Sdílet
Vložit
  • čas přidán 2. 08. 2022
  • Weekly system design newsletter: bit.ly/3tfAlYD
    Checkout our bestselling System Design Interview books:
    Volume 1: amzn.to/3Ou7gkd
    Volume 2: amzn.to/3HqGozy
    Other things we made:
    Digital version of System Design Interview books: bit.ly/3mlDSk9
    Twitter: bit.ly/3HqEz5G
    LinkedIn: bit.ly/39h22JK
    Animation tools: Illustrator and After Effects
    ABOUT US:
    Covering topics and trends in large-scale system design, from the authors of the best-selling System Design Interview series.

Komentáře • 251

  • @ByteByteGo
    @ByteByteGo  Před rokem +53

    Subscribe and leave a comment, we read them all :)

    • @praenubilus1980
      @praenubilus1980 Před rokem +1

      hope you can update more requently 😄

    • @matthayden1979
      @matthayden1979 Před rokem +1

      Yes! I already did. Difficult concepts explained in such an easy way.

    • @AdityaDodda
      @AdityaDodda Před rokem

      Amazing video! Can you make a video comparing this to Rendezvous Hashing please.

    • @pajeetsingh
      @pajeetsingh Před rokem

      Service mesh.

  • @RajeevSoni007
    @RajeevSoni007 Před rokem +149

    Hats down. This channel is really a blessing for the software engineers. This is the most simplified video on consistent hashing i have seen till now 👍

  • @amitchoraria5737
    @amitchoraria5737 Před měsícem +4

    I cant get my head around the fact that this channel is having less than a million subscribers. It deserves much more than that!!!

  • @chrisfrancisbass8991
    @chrisfrancisbass8991 Před 9 měsíci +6

    You know when you try hard to understand something that just doesn't make sense to you, then you find an explanation so clear and simple that it actually makes you chuckle... For me, that's this video.

  • @shoooozzzz
    @shoooozzzz Před rokem +148

    Watching your channel should be a requirement for anyone in software engineering. Love the variety of topics

  • @PrevalentAA
    @PrevalentAA Před rokem +44

    This is one of the best teaching styles I've personally encountered on CZcams.
    Would be absolutely amazing if you could make a playlist for beginner software engineers starting with the core concepts. I would definitely pay for such a playlist/course.
    Thank you for all the time and effort you put into these videos, the visualisations definitely help to drive the point home like no others.

  • @glebbondarenko67
    @glebbondarenko67 Před rokem +14

    I really liked that explanation. I didn't know that server are also using the same hash function. And this workaround with virtual nodes is awesome

  • @ameliasundman2388
    @ameliasundman2388 Před rokem +1

    I don't know where I would be without this video, thank you. So much effort was clearly put into this and it was so worth it. Very easy to understand.

  • @AditiAgarwal1695
    @AditiAgarwal1695 Před rokem +12

    You explain each concept so well with just the right amount of detail. An added bonus is your way of speaking which is so calming and peaceful.
    Thanks for this amazing content you put out and wishing you the very best for the future!

  • @cyboticIndustries
    @cyboticIndustries Před rokem +3

    Such clarity and brevity to this and all your videos. Many of these topics are of little use to me, but I watch and learn anyway due to your teaching style. Fantastic! Thankyou ! 🙏

  • @skdevv
    @skdevv Před rokem

    Teaching style of Sahn Lam is the best I have come across in CZcams.. his way of teaching is evenly paced, pleasant & clear. Thank you.

  • @lucasnoetzold
    @lucasnoetzold Před rokem +5

    dude your content is simply outstanding
    you synthesize very complex subjects in the amount of explanation that is just right for understanding without getting lost
    how come I've not seen you earlier?

  • @Akahatoo
    @Akahatoo Před rokem +1

    Just found out your channel, it's incredible how you easily teach with graphical assistance. It helps a lot bringing down complex topics, awesome videos!

  • @theRenjie
    @theRenjie Před rokem +1

    The illustration is the best I have seen for the virtual nodes. Thank you so much for the clear explanation.

  • @ashuthe1
    @ashuthe1 Před 19 dny

    The value your chanel is providing is immense.

  • @komalkungwani4625
    @komalkungwani4625 Před rokem +4

    I was never able to properly understand what consistent hashing is, but after watching this video it seems so clear now. Thank you so much for such videos. Please keep it up and upload more videos . We are here to support. 🎉

  • @dsinkey
    @dsinkey Před rokem +5

    I read the chapter on consistent hashing in System Design Interview, and didn’t feel like I understood it completely. This video helped so much. I’d love to see walk throughs of some of the systems on this channel.

    • @ByteByteGo
      @ByteByteGo  Před rokem +4

      Thank you for the feedback. We agree videos augment text and they could be very useful.
      The chapter length videos take a lot of efforts to make. We will try to make one once a month, or maybe every two months.

  • @thisaintmyrealname1
    @thisaintmyrealname1 Před rokem +1

    Thank you! I came across consistent hashing while reading the chapter on Metrics Monitoring from System Design Vol. 2. I had never heard the concept, so I searched it on youtube, and there you were as the 1st result! Great explanation. Now back to the book 👋

  • @jordanweir7187
    @jordanweir7187 Před rokem +2

    The amount of genius in the ideas here, the ring, someone did an insane job there at some point. also great explanation

  • @davidwilliams6089
    @davidwilliams6089 Před rokem

    Found this via a Hacker News post. While I don't have any background in computer science, your explanation of the implementation approaches, issues, leading to virtual nodes in consistent hashing was clear and made sense to me. Thank you!

  • @rhtcguru
    @rhtcguru Před rokem +1

    Stumbled on your videos recently. I really like your style. Animations are great and the summaries are clear and concise. Keep up the great work!

  • @biju2848
    @biju2848 Před rokem +3

    Great way of simplifying and explaining the concepts. Great work! Will recommend this channel to every software engineers

  • @DanielTorres-gd2uf
    @DanielTorres-gd2uf Před rokem

    These just started popping up in my feed. Very cool. Love the production quality on these videos keep em coming!

  • @donaldcheung3193
    @donaldcheung3193 Před rokem

    This explanation is simple and clear! Amazing!

  • @ketandixit
    @ketandixit Před rokem +2

    This is the best and most concise explanation !! Very impressive !! 👏

  • @cristianb.3683
    @cristianb.3683 Před rokem +1

    Best explanation of consistem hashing I have found so far! Keep it up!

  • @distrologic2925
    @distrologic2925 Před rokem

    Thanks, this is what the world needs. Quick and digestable instructions on useful algorithms.

  • @larryd9577
    @larryd9577 Před rokem

    I found your blog through Twitter and swallowed it whole. Your videos are even better. Keep up the great work!

  • @diyoptics1387
    @diyoptics1387 Před rokem

    I know explanation is good when I have questions and immediately the answer is narrated! Well done!

  • @kapilshekhar
    @kapilshekhar Před rokem

    Unambiguous, clear and simple explanation .. this channel is full of wisdom !

  • @ByteByteGo
    @ByteByteGo  Před rokem +10

    What algorithms should we talk about next?

  • @_cocoalabs
    @_cocoalabs Před rokem +1

    Fantastic, clear, and concise explanation!

  • @dishantchauhan4775
    @dishantchauhan4775 Před rokem +2

    Content is so awesome and well explained, that every new video release sticks to the mind until you watch it. Please keep up the great content delivery.🙌

  • @Nicolas-jx3oo
    @Nicolas-jx3oo Před rokem

    Impressively clear and concise, good job!

  • @abhisheksitar
    @abhisheksitar Před rokem +1

    Brilliant way to teach such a concept! Thanks to you!

  • @uppner147
    @uppner147 Před rokem

    Love this channel! Perfectly explained, relevant and beatiful.

  • @anastasianaumko923
    @anastasianaumko923 Před rokem +1

    Thank you so much! Very elaborate explanation. Great work!😌

  • @joanagomes635
    @joanagomes635 Před rokem

    This video was extremely helpful! I have an exam next week on distributed systems and consistent hashing will be on it. With this video, I feel like I will ace this part of the exam! Thank you!!

  • @go_better
    @go_better Před rokem

    Thank you! Very interesting episode. And in general you explain things very clearly! Great series.

  • @amithreat
    @amithreat Před rokem

    simplest explanation I found to date...gr8 work!!

  • @yash7891
    @yash7891 Před rokem +3

    What an amazing explanation.
    Please keep producing more content

  • @wiri2391
    @wiri2391 Před rokem +2

    Wow, super clean animations and the explanations are on point!

  • @ozzyfromspace
    @ozzyfromspace Před rokem +1

    Wow, this presentation on consistent hashing was absolutely beautiful 🏆💯❤. Even though you didn't' write any code, the principle was so clear that most people could probably implement such an algorithm. Bravissimo!

  • @agatapysz1628
    @agatapysz1628 Před rokem +1

    I really like the way you explain different topics in your videos. The images and animations are very helpfull to visualise and understand the concepts. Waiting for new ones!:)

  • @MrBidi1992
    @MrBidi1992 Před rokem +1

    Another amazing video ! Thank you so much 👍

  • @YashSharma0605
    @YashSharma0605 Před rokem

    I das reading the book and then came across this video. The visual really helps to drive the topic home. Nicely done.

  • @gui1221000
    @gui1221000 Před rokem +1

    That's the kind of quality content that I was looking for!

  • @derekyingzhi8009
    @derekyingzhi8009 Před rokem +1

    The best system design video ever. I wish you could make more videos like this available on youtube. Thank you!

    • @ByteByteGo
      @ByteByteGo  Před rokem +1

      Thank you for the feedback. We’ll definitely make more videos like this. Let us know if you have specific topics you’d like to see.

  • @sumanshekhar8110
    @sumanshekhar8110 Před rokem +2

    Man, you should bring out an entire series, It takes too much effort to come up with a video where you show too many concepts in a short amount of time. you are a saviour for legion like us.

    • @AlphaTheSkunk
      @AlphaTheSkunk Před rokem +1

      I agree, and furthermore, I am willing to pay if it helps bring a series with this level of quality and information density. Especially your videos on systems design are a blessing.

  • @karwanautiyaal1202
    @karwanautiyaal1202 Před rokem

    Loving this series, Database Sharding and Database Indexing.

  • @zdravkochorlev8540
    @zdravkochorlev8540 Před rokem

    The videos are perfect - short and well explained.

  • @funnyclipz520
    @funnyclipz520 Před rokem

    this video is truly golden... keep em coming...

  • @user-ix5hq9cz4y
    @user-ix5hq9cz4y Před 3 měsíci

    I feel joy when I see this presenter. Def one reason is his videos are simple and have lots of animation other at human level he seems to be pretty descent person.

  • @kaidollarsense
    @kaidollarsense Před rokem +1

    Very concise video in explaining the concept. Keep it coming, you've earned yourself a new sub!

  • @wilfredv1930
    @wilfredv1930 Před rokem

    I just recently subscribed to your newsletter, and this channel is also awesome.

  • @NikolaJanevski
    @NikolaJanevski Před rokem

    Love the video and the animation. Keep them coming.

  • @deepakbhoria4172
    @deepakbhoria4172 Před rokem

    i read cassandra docs but couldn't understand virtual nodes, your video taught me so simply.

  • @matthewfala
    @matthewfala Před rokem

    Beautiful graphics! Love the explanation

  • @ManojKrVerma-vw4dx
    @ManojKrVerma-vw4dx Před rokem

    The video I was waiting for .. will see on Saturday evening... Currently busy in thesis ppt preparation ... I like yours video without watching... ThankYou sir...

  • @HikeWithUsMagarFamily

    good good, thanks for the content, precise, clear. liked the way you connect with real world products as well

  • @andriidanylov9453
    @andriidanylov9453 Před rokem

    Cool, thanks. I have read Your first book and now thinking about buying volume 2.

  • @1shadyholic
    @1shadyholic Před 5 měsíci

    this channel is a game changer. I love it!!!

  • @gigakoresh
    @gigakoresh Před rokem +3

    Amazing content, I am gonna recommend these books be bought by the company and put to premises where people can read them to understand these concepts. I have a suggestion for a video btw: can you explain CPU metrics and throttling on container systems? There is lots of misunderstanding especially with Kubernetes resources like "millicores" about what it actually means and how the usage is calculated and when throttling is performed on Kubernetes nodes and how. Also what are the implications of these metrics and quotas on CPUs with many cores and the difference between nodes running on hypervisor vs bare metal. It's a hole can of worms of course, but I think just starting with the quotas and throttling would already clear things up a lot.

  • @MrEW1985
    @MrEW1985 Před rokem

    I learned something new. Thank you very much.

  • @clapathy
    @clapathy Před rokem

    Super nice presentation, thank you!

  • @mailnrajesh
    @mailnrajesh Před rokem

    Finally, I was able to understand what consistent hashing is!!!

  • @chadblair5974
    @chadblair5974 Před rokem

    That was fantastic. Thank you.

  • @zahidulislam2068
    @zahidulislam2068 Před rokem

    Your channel is a must watch

  • @ovidiurosu6632
    @ovidiurosu6632 Před rokem

    super well described, thank you

  • @javisartdesign
    @javisartdesign Před rokem

    Very graphical and simple explanation! thanks

  • @programming6881
    @programming6881 Před rokem

    Simple and excellent explanation. Thanks.

  • @sanjarcode
    @sanjarcode Před 25 dny

    Amazing video, especially the uneven sizes and virtual nodes part.

  • @yehya7537
    @yehya7537 Před 6 měsíci

    I just read this topic in the first book volume. Great explanation, thank you!

  • @gautam4934
    @gautam4934 Před 11 měsíci

    Brilliantly explained!

  • @SHUBHAMKUMAR-ij7cx
    @SHUBHAMKUMAR-ij7cx Před rokem

    Thanks @ByteByteGo team, for explaining an important concept like Consistent Hashing in such an easy manner.

  • @adamrizk6735
    @adamrizk6735 Před 6 měsíci

    Awesome video, thanks for sharing this.

  • @selvakannan2548
    @selvakannan2548 Před rokem

    clean and concise. subbed

  • @Ed-kq9nu
    @Ed-kq9nu Před 10 měsíci

    Great explanation! Ty!

  • @itsawonderfullife4802

    clear and concise. thanks.

  • @hiteshklalwani
    @hiteshklalwani Před rokem

    I love your explanation, it is very clear and core concepts covered in so less time and words :)

  • @fergeraci
    @fergeraci Před rokem

    Fantastic video and books. Thank you.

  • @liftingisfun2350
    @liftingisfun2350 Před rokem

    Incredible visuals and fantastic information

  • @yzhang2008
    @yzhang2008 Před rokem

    Very well explained!

  • @VinodKumar-wh1mq
    @VinodKumar-wh1mq Před rokem

    Animations are awesome :) please keep the good contents coming!

  • @priyankverma7434
    @priyankverma7434 Před 4 měsíci

    Very well explained and easy to understand. You made this concept so easy to understand that anyone can implement this. Thanks for the good video.

  • @hichamboudounit4813
    @hichamboudounit4813 Před rokem

    thank you for this amazing explanation

  • @Zmey5656
    @Zmey5656 Před 17 dny

    Thank you, very simple and understandable explanation for me.

  • @ManuelBTC21
    @ManuelBTC21 Před rokem

    Quality content. Great job.

  • @manoelramon8283
    @manoelramon8283 Před rokem

    I love this guy... thank you!

  • @delta3979
    @delta3979 Před rokem

    Such an interesting and important algorithm that I didn't even knew I needed.

  • @sol0matrix
    @sol0matrix Před rokem

    Love the explanation

  • @Galakyllz
    @Galakyllz Před rokem

    This was great and to the point. The only confusion that I had was about how the ring was constructed, but I figured that it must be the possible hash values. A quick example of "server 1's hash is 1234, so it goes here on the ring. The other server hashes place them at points in the ring in exactly the same way" would have been more clear.
    Thanks for the video!

  • @sjndfot
    @sjndfot Před 9 měsíci

    this is so beautiful!

  • @RahulPuls
    @RahulPuls Před rokem +6

    Awesome content like always. Again please share the tools you use for creating such cool animations. I'm a BIG fan!!

    • @ByteByteGo
      @ByteByteGo  Před rokem +6

      Thanks. Illustrator and After Effects

  • @prashantbismani
    @prashantbismani Před 7 měsíci

    Thank you making this ❤

  • @eliyahubasa9401
    @eliyahubasa9401 Před rokem

    Great Video, thank you very much

  • @calender3721
    @calender3721 Před rokem

    the animations helped a lot

  • @DreckbobBratpfanne
    @DreckbobBratpfanne Před 5 měsíci

    1) Great explanation
    2) Its oddly satisfying when he says "the other keys are unaffected"

  • @auroshisray9140
    @auroshisray9140 Před 6 měsíci

    ❤ lovely explanation

  • @corssobv
    @corssobv Před rokem

    This is really really helpful