How does Caching on the Backend work? (System Design Fundamentals)

Поделиться
HTML-код
  • Опубликовано: 3 июн 2024
  • Caching strategies, Distributed Caching, caching with Redis and Node.js, Eviction Policies, Write-Through Cache and Least Recently Used (LRU) cache are all important terms when it comes to designing an efficient system with a caching layer, be it on AWS, Azure, or any other cloud provider. In this video lesson, you're gonna learn everything you need about caching in an easily explained way, discuss the pros and cons, and see an example implementation of it.
    ======⚡⚡⚡======
    Consider supporting the channel by clicking the "Thanks" button ❤️
    👉 Get a 20% discount on Brilliant.org (to learn Science, Technology, Engineering, and Math): brilliant.sjv.io/kjVO2z
    👉 Host your website for under $2 a month: namecheap.pxf.io/c/3137064/62...
    ======⚡⚡⚡======
    🙌 Become my Patreon and get exclusive perks: / softdevdiaries
    💼 Follow me on LinkedIn and drop me a message if you'd like: / gusgadirov
    💻 Also, let's connect on GitHub: github.com/gusgad
    📚 Resources:
    Stanley Ulili's article on caching: www.digitalocean.com/communit...
    My video on HTTP caching: • Deep Dive into HTTP Ca...
    My video on Load Balancers: • The Ultimate Guide to ...
    🕒 Timestamps:
    (00:00) Outline
    (02:00) Caching use cases and benefits
    (03:01) Types of caches by level
    (04:26) Types of caches by design
    (06:24) Caching strategies & invalidation
    (12:30) Cache eviction policies
    (15:49) Redis & Node.js caching example
    (21:19) When not to use caching?
    And don't forget to subscribe for more videos like this 😊
  • НаукаНаука

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

  • @alekseishkurin4590
    @alekseishkurin4590 9 месяцев назад +14

    I think you accidentally explained the LRU cache by showing LFU logic (counting the number of times the item is called). Other than that, great content!

    • @SoftwareDeveloperDiaries
      @SoftwareDeveloperDiaries  8 месяцев назад +3

      You're right, I didn't mention that it's within the context of a time. Good catch!

  • @kwokdaniel6156
    @kwokdaniel6156 10 месяцев назад +9

    Hey man, just stumbled across your channel a couple weeks back and, wow.
    You're probably the one single channel that strikes the balance between channels that does "hello world" tutorials and extremely deep content that tends to get a little dry.
    I'm a mid tier software engineer with about 4 years of experience, and these videos couldn't come at a better time.
    Keep up the good work!

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

      Thanks a lot, my friend! Such words can make one's day really great 😀I'll do my best to keep publishing such videos. And yeah, happy to have you here!

  • @solomonglenda6811
    @solomonglenda6811 6 месяцев назад

    This is so good...thank you so much.

  • @irshitmukherjee7943
    @irshitmukherjee7943 11 месяцев назад

    Great explaination

  • @Truthsaayr
    @Truthsaayr 6 месяцев назад +1

    Wow wow i have been hearing about caching but this video explained everything to the last drop. Thank you

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

    Thank you so much for this video!

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

    Very well done! I'm a fan!

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

    hi @Guseyn , Thanks a lot for explanation. I am really liking your detailed videos like memory management, dependency injection etc. please please keep doing these videos as not much of info available on these things. I would really love if you make more videos on performance and security .

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

    Thanks for the video.
    I was hoping to see how you implement cache eviction policy using least frequently used pattern.
    Nevertheless, nice video

  • @HarshPandey-lu2pu
    @HarshPandey-lu2pu 8 месяцев назад

    Thanks It was a really nice and very informative video for a RUclips channel I didn't know until today, gonna subscribe right now...

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

    greate explanation!

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

    Great

  • @heringKlasun
    @heringKlasun 6 месяцев назад +1

    How can i download this presentation please?

  • @zdxzxzdxzx6780
    @zdxzxzdxzx6780 3 месяца назад

    What tool did you use for the diagrams? They look very nice

  • @kamynz
    @kamynz 2 месяца назад

    Hi @SoftwareDeveloperDiaries, I really enjoyed your explanation. It will help me to debug a problem in my new job. By any chance, do you have the code you showed us?

  • @jbenitez3669
    @jbenitez3669 4 месяца назад +1

    dark theme please! our eyes will thank you!