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



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

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

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): https://brilliant.sjv.io/kjVO2z
👉 Host your website for under $2 a month: https://namecheap.pxf.io/c/3137064/624621/5618
======⚡⚡⚡======

🙌 Become my Patreon and get exclusive perks: https://patreon.com/softdevdiaries
💼 Follow me on LinkedIn and drop me a message if you’d like: https://linkedin.com/in/gusgadirov
💻 Also, let’s connect on GitHub: https://github.com/gusgad

📚 Resources:
Stanley Ulili’s article on caching: https://www.digitalocean.com/community/tutorials/how-to-implement-caching-in-node-js-using-redis#step-3-caching-restful-api-requests-using-redis
My video on HTTP caching: https://youtu.be/Cy2ZJOBgk84
My video on Load Balancers: https://youtu.be/xg7Dj2AXLyk

🕒 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 😊