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

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 มิ.ย. 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 หลายเดือนก่อน +15

    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 หลายเดือนก่อน +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  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!

  • @judevector
    @judevector 7 หลายเดือนก่อน +1

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

  • @solomonglenda6811
    @solomonglenda6811 7 หลายเดือนก่อน

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

  • @irshitmukherjee7943
    @irshitmukherjee7943 11 หลายเดือนก่อน

    Great explaination

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

  • @HarshPandey-lu2pu
    @HarshPandey-lu2pu 9 หลายเดือนก่อน

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

  • @anton1492
    @anton1492 ปีที่แล้ว

    greate explanation!

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

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

    • @SoftwareDeveloperDiaries
      @SoftwareDeveloperDiaries  2 หลายเดือนก่อน

      Thanks a lot! Unfortunately there’s no code for this one 🥲

  • @jbenitez3669
    @jbenitez3669 4 หลายเดือนก่อน +1

    dark theme please! our eyes will thank you!