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 😊 - Наука
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!
You're right, I didn't mention that it's within the context of a time. Good catch!
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!
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!
This is so good...thank you so much.
Great explaination
Wow wow i have been hearing about caching but this video explained everything to the last drop. Thank you
Happy to hear :)
Thank you so much for this video!
My pleasure! ✌️
Very well done! I'm a fan!
Happy to hear, mate!
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 .
Thanks for the feedback my friend, will keep that in mind! :)
Thanks for the video.
I was hoping to see how you implement cache eviction policy using least frequently used pattern.
Nevertheless, nice video
Thanks It was a really nice and very informative video for a RUclips channel I didn't know until today, gonna subscribe right now...
Happy to have you here! 😉
greate explanation!
Thanks, Anton! :)
Great
How can i download this presentation please?
What tool did you use for the diagrams? They look very nice
Excalidraw :)
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?
Thanks a lot! Unfortunately there’s no code for this one 🥲
dark theme please! our eyes will thank you!
Yessir! 🫡