System Design Interview - Distributed Cache

Поделиться
HTML-код
  • Опубликовано: 26 сен 2024
  • Please check out my other video courses here: www.systemdesi...
    Topics mentioned in the video:
    - Functional (put, get) and non-functional (high scalability, high availability, high performance) requirements.
    - Least recently used (LRU) cache.
    - Dedicated cache cluster, co-located cache
    - MOD hashing, consistent hashing.
    - Cache client.
    - Static vs dynamic cache servers list configuration.
    - Leader-follower (master-slave) data replication.
    - Cache consistency, data expiration, local and remote cache, security, monitoring and logging.
    - Memcached, Redis.
    Inspired by the following interview questions:
    Adobe (www.careercup....)
    Amazon (www.careercup....)
    Ebay (www.careercup....)
    Google (www.careercup....)
    Yahoo (www.careercup....)

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

  • @vigneshrajarajan6724
    @vigneshrajarajan6724 4 года назад +405

    this is the most underrated channel, kudos to your way of explaining things in succinct manner. Please put more videos

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

      Thank you, Vicky, for the kind words! Working on more videos.

    • @nirumani
      @nirumani 4 года назад +2

      I second. I wonder what does it take to make it popular. There should be something simple. I am watching a few other channels. Nobody covers it to this level. May be more videos required. on short topics. Say 10-15 mins .

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

      @@nirumani put it on LC discussion board

    • @nickflacco3452
      @nickflacco3452 4 года назад +28

      Fantastic series of videos.
      I've worked on very large distributed caches (multiple terabytes, thousands of servers) and some other fun stuff to mention to the interviewer is:
      - Failure modes besides just plain qps. Specifically, Redis will be overwhelmed by connection churn if it receives thousands of new connections per second. Twemproxy, on the other hand can handle this just fine. I have not tested this with Redis Cluster, but I suspect Redis Cluster also suffers from this.
      - Auditing: With GDPR and California's analog to this, the legal department often is interested in how long we store data and where. For the former case, they may want a global TTL, or failing that, metrics and alerts when the cache TTL is too high. For the latter case, we may need to separate out data from users in various countries at the client level.
      - Maintaining client libraries: How do we make sure everybody is on the newest version of the library? How do we manage multiple implementations? For Redis Cluster, this is a big problem- it turns out different clients have very different characteristics when it comes to detecting failures of nodes. Using a sidecar proxy like Envoy can be a big help as we can manage retries and health checks in a more principled manner.
      - Testing: Frequently service owners don't think about how their service behaves with a degraded cache. Chaos monkey is a step in the right direction, but it is a blunt tool. Instead we can add knobs to return a percentage of errors, or delay requests, allowing us to really understand how we need to improve the service- for example retry intervals.

    • @martinhenriksson8617
      @martinhenriksson8617 3 года назад +8

      @@SystemDesignInterview Unfortunately you have so few videos, I've been watching them over and over before my system design interview. Top K heavy hitters is my favorite one, probably watched it 5 times already.

  • @amardeepbhowmick3614
    @amardeepbhowmick3614 5 лет назад +65

    10/10 would recommend to anyone who wants to know about caching

  • @YanruBi
    @YanruBi 2 года назад +44

    Discovering this channel in 2022, I wish there will be more updates. This is one of the best system design learning resources, and it's free. Every sentence is so on point. Thank you very much!

  • @MyQiman
    @MyQiman 3 года назад +16

    You know a video is good, when you have to pause the video constantly and process the information. Thank you so much for your time and effort on these high quality and thoughtful lectures!

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

      That is absolutely true. I usually watch other videos in 1.5x time so I complete them fairly fast but for this video I have to pause it many times to take notes and process information so it takes more than the video's length (easily 2x).

  • @DavidSuarez09
    @DavidSuarez09 5 лет назад +11

    your videos are detailed in just the right places. Probably testament to your years of industry/academic system design work. As a mid-level (5 YOE) engineer, the trade-offs, optimizations and advanced details are just what I need to excel in my career. Can't thank you enough.

    • @SystemDesignInterview
      @SystemDesignInterview  5 лет назад +3

      Thank you David for a detailed feedback. Not the first time I hear good words from you.
      I have a concern that my videos may be a bit complicated for less experienced engineers, as some more basic concepts are not well covered in videos. I rely on the fact that people know them. Which may not be a correct assumption. I would like to create videos that cover those more basic concepts. Will see.
      [A call to everyone, not just David] If you think that some areas deserve a more thorough coverage, or on the contrary, some explanations are too deep and should be trimmed, please let me know. Your feedback is always appreciated.

  • @idiot7leon
    @idiot7leon 3 года назад +30

    Thanks.
    ~ 10:45 Local Cache Implementation
    Stepping into the distributed world:
    10:46 ~ 12:42 Dedicated Cache Cluster vs Co-located Cache
    12:43 ~ 14:05 Choosing a cache host: naive approach
    14:06 ~ 16:04 Choosing a cache host: consistent hashing
    16:05 ~ 17:25 Cache Client
    17:26 ~ 20:00 Maintaining a list of cache servers
    20:01 ~ 22:13 Summary
    22:14 ~ 25:52 Achieving high availability
    25:53 ~ 32:17 What else is important: consistency, data expiration, local and remote cache, security, monitoring and logging, cache client, consistent hashing
    32:18 ~ 34:33 Summary

  • @srinia7652
    @srinia7652 2 года назад +5

    Clear, concise, and crisp. Feels like hitting a gold mine in the world of junk

  • @danieljoonlee
    @danieljoonlee 5 лет назад +58

    Wow. I'm currently studying system design and have to say this is by far the best resource I've run into and I've paid for multiple services and classes on system design. Thank you for creating these awesome videos, you definitely have a +1 follower.

    • @SystemDesignInterview
      @SystemDesignInterview  5 лет назад +3

      Thank you, Daniel, for all the kind words!

    • @JacksonBenete
      @JacksonBenete 2 года назад +2

      Hey Daniel. I also liked this channel very much.
      Unfortunately it stopped receiving uploads for now.
      Do you mind to share from the services and classes you've paid each ones you liked the most?
      So I can continue my studies from here to somewhere else.

  • @ErrorFr33
    @ErrorFr33 4 года назад +2

    The most thorough system architecture rundown with plenty of examples.

  • @manjunathks6368
    @manjunathks6368 2 года назад +4

    This is by far the best demonstration of designing a distributed cache. I really appreciate the way you brought up the the solution to a bigger problem in a progressive approach. Loved it. Keep growing.

  • @PankajSharma-ce9mj
    @PankajSharma-ce9mj 2 года назад +3

    I'm short on words how good Mikhail explains things. Initially I was just going over the video without making any notes. Then once I started making notes, I realized there are tons of information in everything single component or design choice he explains.

  • @mrmca1
    @mrmca1 4 года назад +2

    hands down, the best distributed cache explanation on RUclips. Every other video talks about caching and not distributed caching. This is a complete crash course on distributed caching.

  • @AP-eh6gr
    @AP-eh6gr 4 года назад +5

    This is gold. Addresses many small details that other videos just glossed over

  • @rkumar084
    @rkumar084 Год назад +1

    The coverage of videos is both deep and wide. Comprehensive! this guy leaves no stone unturned.

  • @cnanavat
    @cnanavat 5 лет назад +10

    Great explanation. The ending of these videos helps identifying how to solve real world problems using the content in the videos.

  • @renon3359
    @renon3359 3 года назад +8

    This is the only channel where it feels like if we were to actually build something how we would do it.
    Other channels are mostly yeah put some load balancers, a reverse proxy bla bla bla. The way you go in-depth about each thing and make us aware of the tradeoffs is truly incredible.
    I watched the view counter and heavy hitter and came here, and surprisingly my thoughts ran exactly as parallel as you. Looks like I am learning.
    Thank you so much Mikhail.

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

    I have seen so many system design videos on distributed cache and i can tell you nobody has explained better than this video.

  • @doruwyl
    @doruwyl 5 лет назад +13

    Great explanation!
    I hope you will continue with posting more System design interview videos. The fact that you started from the naive approach to a better solution I consider is a big thing to consider all pros/cons!

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

      Hi Dumitru. Appreciate your feedback! Working on more videos. If you like the format, I hope the next video (in progress) will resonate well with you.

  • @Censik
    @Censik 3 года назад +9

    Got exactly this question on a system design interview. Thanks a lot! I was properly prepared. This is the best set of lectures on system design I've ever saw.

  • @dharmendrabhojwani
    @dharmendrabhojwani 5 лет назад +21

    He is one of the best, I have seen so far. Full details, with integrated parts of system, covering all the aspects. Awesome!!! Please make some more videos like this.

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

    I've watched all the popular channels on YT for system design and this one is without question the best one. Thank you so much for creating these videos. I hope you make more.

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

    The best system design demo i've even seen, with detailed and sound explanation behind each step in approaching the problems. Thanks!

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

    This is a complete video and in just 34 minutes. The hard work you have put in this video is evident.
    You have covered many scenarios that can be reused in other system design questions.

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

    Took me 3 hours to finish the video. Each and every statement had so much information to process. Absolutely amazing video.

  • @1point0tennis
    @1point0tennis 3 года назад +2

    I like your style of repeating concepts throughout several videos. It helps reinforce them and allows the viewer several viewing opportunities to let it sink in over different videos (versus just watching the same video over and over to absorb something, which can get boring).

  • @Rhythmswithruby
    @Rhythmswithruby 4 года назад +2

    This is by far the best system design explanation I've ever heard. It's clear and so very organized, which makes it easy to follow. Please make more!!

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

    This is the most informative, detailed, comprehensive, concise, and easy to follow video I've ever seen. Thank you so much for making this video.

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

    I liked the way you started from simple local system and evolved to distributed cache by solving all the challenges on the way.
    Your videos are very informative!!

  • @subbamatta1947
    @subbamatta1947 4 года назад +2

    I must say, underrated channel. This deserve lot more views. The uniform approach you followed in all videos, just awesome. Thanks a lot.

  • @DiegoQuirogaOnPlus
    @DiegoQuirogaOnPlus 5 лет назад +3

    By far the best example of a structured approach to work out a system design problem. And in this particular case, a better solution than other videos on RUclips, Grokking and Interview Cake.

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

      Thank you, Diego, for the feedback. Much appreciated!

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

      @@SystemDesignInterview you deserve it. I took another look at your code and have a question about a minor detail. Do you really need the key in each node? I think that keeping the value should be enough. Through the key, you get the reference to the node in the hashmap, and from there the value.

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

      Hi Diego. Good question!
      Storing key in the node helps when we need to delete an entry from the cache when it is full. And more specifically, for this line: _map.remove(tail.getKey())_

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

      @@SystemDesignInterview Oh yes.. it makes sense. I missed that. Thanks.

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

    You covered almost all perspectives of the interviews. Really liked the flow and simplicity.

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

    Watched other youtube videos too, but this one is the best. It starts with the requirements, then talks about LRU cache and even it's quick code implementation. Then talks about how cache host is selected (like Consistent Hashing) and how Cache Client selects the Cache Hosts (talks about all 3 ways). Also, nicely explained with diagrams. Thanks a lot.

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

    This video provides an excellent balance of high-level concepts and diving deep into details. An incredible resource to find, and vastly better than many paid options out there on systems design.

  • @bloody9162
    @bloody9162 2 года назад +2

    The content that you've put is extremely high in quality, leaving nothing to chance. I haven't seen such pure content since DDIA. Many thanks for making it available for free.

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

    Speaking logical facts with a straight face is a next level skill.

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

    Your channel and explanation of System design for various topics is so neat and elegant. Even before you dive into the design aspect of the question, the identification of the functional and the non functional requirements itself is so useful. Truly yours is a very under rated channel. Hope to see many more videos from you.

  • @007nithin1
    @007nithin1 4 года назад +1

    This channel is highly underrated!. This is the very best explanation of distributed cache I have ever come across. It's simple and touches every core components through a concise explanation. Big thanks Mikhail!, expecting more uploads.

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

      Glad you like the video, Nithin. Thank you for the feedback! More videos to come.

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

    The way you explained system designs in your channel is awesome. Appreciate your work. Please put more videos.

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

    One of the most detailed explanation of distributed cache. That includes the way it should be approched with, in the interviews. Thanks a lot

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

    I like how you keep it high level and summarize periodically. Like the structure.

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

      Thank you for the feedback, vetiஅரவிந்த! Glad to know that both the structure and the approach resonate well with you.

  • @ChandramouliMallampalli99
    @ChandramouliMallampalli99 2 года назад +2

    such a clarity of thought on every single component and design choice, loved the depth !

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

    I never get an offer when I smile and try to leave a positive impression in my interviews. I need to learn to be more like this guy.

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

    Although it’s covered at a high level, the video covers a wide range of factors to be considered when designing the system, very informative and helpful to work out an all rounded solution. Highly recommended!

  • @truptibavalatti9285
    @truptibavalatti9285 5 лет назад +4

    Excellent video! Quality of content is top notch. I spent hours reading up on each components before I came across your videos. You are doing an amazing job!

  • @amans.4701
    @amans.4701 3 года назад +1

    Hi Mikhail. This is the first video that I watched on the channel and I have to say it's the best resource out there. I love the way you progress to a better solution at each step. Keep up the good work. I'll use this information while implementing a distributed cache in my project. Thanks.

  • @wildansyahidillah7978
    @wildansyahidillah7978 4 года назад +2

    Wow, I think this channel has the best explanation of the available system design problems, which is able to provide a step-by-step explanation of how we get to the final design. Some other channels just slap the final design almost right away, which can be overwhelming and sometimes leave its sub systems inadequately explained.
    Please add more system design problems, keep up the great work!

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

    I have watched too many video on this. Yours is simply the best so far. Some just scratch the surface, others just dive straight into complex technicalities. This is class apart.
    I wish you upload more stuff in the future!!
    A big thanks again...

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

    This video is incredible !!
    I have never seen a more complete structured solution to a system design question.
    Great work, Kudos !!

  • @Manojshankaraj
    @Manojshankaraj 4 года назад +2

    The BOSS of System of Design! Please keep making more videos. You are awesome! Thank you !

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

    Best video for anyone who wants to understand the basics of distributed caching

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

    You have amazing skills of explaining concepts, you have truly mastered it. I leaned a lot by watching your videos. Keep posting.

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

    I am glad I bumped into this channel before my interviews. Man what explanation. Just super

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

    After watching many videos on consistent hashing, I am glad that I came across yours. The way you explained the process was simple and easy to understand. I really appreciate your efforts in putting together quality content.

  • @SystemDesignInterview
    @SystemDesignInterview  5 лет назад +11

    By some reason RUclips hides valid comments. I can only see such comments in the inbox, but there is no way for me to reply. Let me re-post such comments on behalf of people who submitted it.
    From @krfong krfong
    Hi Mikhail, thank you for taking the time and effort to make these videos. I'm currently preparing for interviews, and your videos have helped reinforce my knowledge, in some parts, and reveal my gaps in others, of how to design distributed systems components. 😊 THANK YOU!! I'd like to address your question above - whether or not you cover the right amount of breadth and depth in your videos. First, as I understand the audience that you're teaching to (and let me know if I've got the wrong impression) - new grads and swes who are not yet sr. or put another way, those who have conceptual knowledge of distributed systems, but are not yet able to synthesize this information and apply them to real-world applications, and also, those who do not yet have the experience of designing/explaining conceptual models in an interview format. If, in fact, you are creating for these kinds of people, I'd like to say that you should continue to teach for them because your videos address a (much-needed-to-be-filled) gap in the space of accessible distributed systems learning materials. Current accessible web content like Guarav Sen's and Tushar Roy's videos on system design, reading materials such as Martin Kleppman's "Designing Data Intensive Applications", Mikito Takada's book "Distributed Systems for Fun and Profit", the High Scalability blog, and seminal papers in distributed systems, all are not able to teach distributed systems from the angle that you do. What those resources are unable to address (and what you've been able to do) is to synthesize distributed system concepts and demonstrate how to apply them to designing distributed system components in an interview format. Your videos have been able to put a language, a loose-script, if you will, of how to have a conversation with others about distributed systems; that is vital for those who are learning how to design distributed systems in a considered way. I think you have a good balance of breadth and depth. To offer a suggestion, people could benefit from your videos if you discuss how your designs' address questions like failover scenarios, how the design addresses r/w skew, dirty r/w and lost updates, and linearizability (or consistency) implications towards the end of your videos. Lastly, I'd like to ask a question, are your videos representative of how you'd suggest one should discuss building a system design component in an interview? If anything, what have you left out of your videos that candidates should consider in a system design interview, generally speaking and in specific to this video, or the notification or distributed rate limiting ones? I love your work, thank you, and awesome stuff!!

    • @SystemDesignInterview
      @SystemDesignInterview  5 лет назад +8

      Hi @krfong krfong. I can imagine amount of effort you put into writing this feedback. Very insightful and informative. Appreciate it a lot! Let me try to answer your questions.
      I am sure you know it already that there is no one single format for answering system design questions. With coding questions things are much more clear. In a nutshell: we start with asking clarifying questions, evaluate different options for the algorithm, write the code and explain our thought process along the way, test and make sure we covered edge cases, estimate time and space complexity. But with system design, interview may go in many different directions. That is why I try to touch various concepts and go deeper into more important of them (on my mind).
      So, there is no one single format. But we can talk about expectations. For less senior engineers, an interviewer wants to see how you think. What challenges you see, what options you consider. Remember, that nobody expects ideal design after 45-60 minutes interview. Engineers spend months (depending on the size of the problem, of course) to design systems properly. It usually takes several iterations. And if a candidate can analyze requirements, evaluate options and make progress in the right direction, this is a good indicator that when join the company, engineer will apply the same critical thinking and come up with good design during her day-to-day job. When she has more time and help from more senior engineers. And to develop this critical thinking we need knowledge and exposure to software engineering problems. And this is also one of my goals, to share knowledge and how to apply it to solving problems.
      For senior engineers expectations are higher. It is assumed you already have knowledge and know how to analyze problems. And it is no longer enough to demonstrate a solution that just works. We need to demonstrate how to optimize things and, eventually, how to reduce the cost. All kinds of cost: operational, dollar (e.g. hardware), cost of extensibility in the future. It is important to design systems that not just scalable and highly available (this is a given by default), but systems with close-to-optimal cost. Simplicity always wins.
      If this topic of system design interview expectations is interesting to my viewers, please let me know. I will make a separate video.

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

      Regarding topics I left out of the videos, this list is not short )) Each concept mentioned in videos may easily become a topic of its own. But I am sure you expect a more definitive answer from me. Let me name some important topics I left out:
      - For Distributed Message Queue: how to store messages on disk. Here we should mention sequential reads/writes, page cache, embedded databases.
      - For Notification Service: how delivery to subscribers work, how failures are handled. Here we should mention websockets.
      - For Distributed Cache: a big topic of memory allocation.
      These are some of the examples. Also, I do not talk much about hardware, memory, network throughput estimations. Will try to close this gap one day and devote videos to those topics.

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

    By watching this video, I have learned approaches for how to deal with hot shards, consistency, etc. Excellent work. Thank you very much

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

    One of the best system design videos. Actually much better than most of paid video contents.
    The creator of this video clearly demonstrated his deep understanding to the topic.

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

    Love the encouragement to dive into details. Easy to see how someone involving technical details instead of relying on managed services to handle it would make them stand out in an interview. Thanks!

  • @mrunaldave6781
    @mrunaldave6781 3 года назад +5

    Amazing content. So much to-the-point and valuable information packed in 34 minutes. This one video is equivalent to multiple hours of videos from other channels out there! Many thanks Mikhail.

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

    Great Video. Very well explained the relevant Ifs and Buts. Its the best so far on RUclips for Distributed Cache. Thanks a lot. Waiting for more videos.

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

    This is one of the best videos available on the internet for system design of distributed cache like Redis.

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

    Very well put together. I loved how you started simple and then expanded on it as more requirements were added one by one. Keep up the good work.

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

    You channel is the best. I have seen so many system design videos so far. But the way you cover smallest of the details is awesome. You deserve claps from side. 👏

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

    Excellent explanation among tens of Videos I have seen on RUclips on this topic. Better than paid courses online.

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

    Beautiful video. Thanks a lot, Man! I recently finished my masters in Distributed Systems and this video helped me consolidate my otherwise Distributed Knowledge ;)

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

    this is probably best system design interview video i've watched. i learnt so much, thank you!!

  • @___vandanagupta___
    @___vandanagupta___ Год назад +2

    YOUR CHANNEL IS SO MUCH UNDERATED SIR!!! I SWEAR I'LL TRY MY BEST TO MAKE SPREAD A WORD ABOUT YOUR CHANNEL!!!!!

  • @spk9434
    @spk9434 5 лет назад +4

    Awesome video. Like the way you bring up the issues with design and evaluate the options.

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

    I'm amazed by the amount of information introduced in the video. Like other people said, kudos to you!

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

    A very well crafted video. This should serve as the benchmark for system design interviews.

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

    Oh my... this is the best ever system design! If I am the interviewer I will be begging the recruiter to hire you, man...
    The way you layout the problem statement, evolve and improve the system, revisit the requirements and discover further is just amazing. I can't believe you covered so much in just a half-hour.

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

    Very good man. The really awesome part was how you brought up algorithms like LRU, Bsearch, etc

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

    Very well explained videos. Like everyone mentioned, this channel is awesome. Thank you @System Design Interview. Sad to see no more new videos coming from this channel.

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

    Excellent explanation! This channel is very underrated the quality of the videos are far better than any other in the internet.

  • @romanovfedor
    @romanovfedor 4 года назад +3

    Great Video! It is also worth mentioning that with LinkedHashMap building a Least Recently Used (LRU) cache is quite easy. LinkedHashMap provides a special constructor taking ordering mechanism/strategy called access-order(default is insertion-order)

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

      Thank you for these details, Федор. Totally agree.
      I have also mentioned LinkedHashMap here ruclips.net/video/iuqZvajTOyA/видео.html&lc=Ugyg4UdhtMC5ZUDaB0F4AaABAg.90kvPwT66DA91IWUf8MvA-

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

    Excellent application and explanation of distributed systems concepts - Partitioning, Replication, Configuration management, Consistent hashing along with pros and cons.

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

    This is an excellent video for understanding the inner working of distributed cache. It starts from a very basic implementation and builds on top of it and clearly explains all concepts of distributed cache and major issues. Very helpful video.

  • @abhijeetgulve3409
    @abhijeetgulve3409 2 года назад +2

    I was always struggle with HLD cache design. Always though it would be LLD but you explain in way that clears all my thoughts. Great work man :)

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

    Your videos are the best I've ever seen on RUclips. You've made understanding these complex components so much easier. Thank you so much! Hope you keep creating more awesome content.

  • @OmprakashYadav-nq8uj
    @OmprakashYadav-nq8uj 4 года назад +1

    It has so many details in every min of video. I really appreciate the craft. I have watched every video many times.
    Waiting for more like: Google drive, Uber, Netflix system design.

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

      Really glad you liked the content, Omprakash! And appreciate the feedback! Topics you mentioned are in my TODO list. Thanks.

  • @akhtarmnnit
    @akhtarmnnit 4 года назад +2

    Your subscribers would grow exponentially as soon as people discover your videos...

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

      Thank you, Mohammad, for the words of support. Not the first time I hear kind words from you.

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

    need more of the amazing quality videos. come back please!

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

    Totally Agree. This is gold! You explain the complexities so clearly and without overloading the narrative with buzzwords. Thank you!!

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

    Please add more videos.. you have been the best channel on SD I have seen so far.

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

    You are so awesome. THis is the only channel which gives a easy to complicated solution instead of explaining how redis works withs its huge complicated architecture which is not useful for system design interviews.

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

    the moment he said there are 2 consistency models: Eventual consistency (like gossip, epidemic) and stronger (with 2PC, consensus), I knew this is a golden content.

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

    Thank you for uploading this. Very informative and so far the best tutorials available online.

  • @ElGalloUltimo
    @ElGalloUltimo 4 года назад +3

    Wish I could like this twice. Such excellent coverage of reasons for and implementation of consistent hashing then further depth with leader-follower data replication to deal with hot shards.

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

    So many promised videos, please please make them. This is The Best system design channel on youtube.

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

    this is The only channel that gives you insights of how to do system design interviews.

  • @sudhanshukumar-yu7fj
    @sudhanshukumar-yu7fj 3 месяца назад

    I liked the confidence when he justified the performant system by saying that it would use TCP connection to connect between cache client and cache servers. Networks latencies always increase latency making it less performant compared to in-proc calls.

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

    hats off to your efforts and simple yet detailed explanation of topics. Please put more videos on other design options.

  • @ankitsuthar1027
    @ankitsuthar1027 Год назад +1

    One of the best video on caching! Thanks for creating this content. :)

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

    The best video I have seen covering a lot of topics on distributed systems.

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

    Your explanation is too good!! Keep posting System design interview videos for different topics..!!

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

    Thanks for the video. This is the best system design channel on youtube! Please add more system design videos if time permits.

  • @its-now-or-never-242
    @its-now-or-never-242 2 месяца назад

    it's very similar to dynamoDB paper with an exception that data is in memory (LRU cache). In DynamoDB however they don't use external configuration service management but use gossip protocol for membership and failure detection. Nice video!!! Thank you.

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

    One of the best explanations of system designing. Thanks a ton. Kindly do keep posting new videos.

  • @subbareddyv-uoh
    @subbareddyv-uoh 2 года назад +1

    This is the best explanation I found so far. Thank you very much.

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

    Very comprehensive video for distributed cache design. Great work.

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

    This video lasts 34 minutes and every minute of it is "gold".