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

Поділитися
Вставка
  • Опубліковано 30 чер 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 місяців тому +16

    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  9 місяців тому +3

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

  • @kwokdaniel6156
    @kwokdaniel6156 11 місяців тому +10

    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  11 місяців тому

      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 7 місяців тому

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

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

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

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

    Great explaination

  • @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 .

  • @kristian970
    @kristian970 10 місяців тому

    Thank you so much for this video!

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

    Very well done! I'm a fan!

  • @HarshPandey-lu2pu
    @HarshPandey-lu2pu 9 місяців тому

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

  • @adelekebright2490
    @adelekebright2490 10 місяців тому

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

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

    greate explanation!

  • @ashishkushwaha8773
    @ashishkushwaha8773 9 місяців тому

    Great

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

    How can i download this presentation please?

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

    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?

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

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

  • @jbenitez3669
    @jbenitez3669 5 місяців тому +1

    dark theme please! our eyes will thank you!