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

  Рет қаралды 30,381

Software Developer Diaries

Software Developer Diaries

Күн бұрын

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 ай бұрын
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 ай бұрын
You're right, I didn't mention that it's within the context of a time. Good catch!
@kwokdaniel6156
@kwokdaniel6156 11 ай бұрын
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.
@irshitmukherjee7943
@irshitmukherjee7943 Жыл бұрын
Great explaination
@judevector
@judevector 7 ай бұрын
Wow wow i have been hearing about caching but this video explained everything to the last drop. Thank you
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 7 ай бұрын
Happy to hear :)
@kristian970
@kristian970 10 ай бұрын
Thank you so much for this video!
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 10 ай бұрын
My pleasure! ✌️
@samvelavanesov6838
@samvelavanesov6838 Жыл бұрын
Very well done! I'm a fan!
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries Жыл бұрын
Happy to hear, mate!
@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 .
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries Жыл бұрын
Thanks for the feedback my friend, will keep that in mind! :)
@anton1492
@anton1492 Жыл бұрын
greate explanation!
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries Жыл бұрын
Thanks, Anton! :)
@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
@ashishkushwaha8773
@ashishkushwaha8773 9 ай бұрын
Great
@HarshPandey-lu2pu
@HarshPandey-lu2pu 9 ай бұрын
Thanks It was a really nice and very informative video for a KZfaq channel I didn't know until today, gonna subscribe right now...
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 9 ай бұрын
Happy to have you here! 😉
@heringKlasun
@heringKlasun 7 ай бұрын
How can i download this presentation please?
@zdxzxzdxzx6780
@zdxzxzdxzx6780 3 ай бұрын
What tool did you use for the diagrams? They look very nice
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 3 ай бұрын
Excalidraw :)
@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?
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 3 ай бұрын
Thanks a lot! Unfortunately there’s no code for this one 🥲
@jbenitez3669
@jbenitez3669 5 ай бұрын
dark theme please! our eyes will thank you!
@SoftwareDeveloperDiaries
@SoftwareDeveloperDiaries 5 ай бұрын
Yessir! 🫡
How do large teams scale their Frontend applications?
7:47
Software Developer Diaries
Рет қаралды 19 М.
Redis Crash Course
27:31
Web Dev Simplified
Рет қаралды 599 М.
Climbing to 18M Subscribers 🎉
00:32
Matt Larose
Рет қаралды 35 МЛН
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 2,6 МЛН
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 40 МЛН
Василиса наняла личного массажиста 😂 #shorts
00:22
Денис Кукояка
Рет қаралды 9 МЛН
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 332 М.
20 System Design Concepts Explained in 10 Minutes
11:41
NeetCode
Рет қаралды 891 М.
Caching Pitfalls Every Developer Should Know
6:41
ByteByteGo
Рет қаралды 109 М.
Deep Dive into HTTP Caching: cache-control, no-cache, no-store, max-age, ETag and etc.
21:28
Adding a cache is not as simple as it may seem...
13:29
Dreams of Code
Рет қаралды 104 М.
No-Nonsense Backend Engineering Roadmap
10:16
Codebagel
Рет қаралды 170 М.
How I Mastered System Design Interviews
10:22
Ashish Pratap Singh
Рет қаралды 101 М.
Google system design interview: Design Spotify (with ex-Google EM)
42:13
IGotAnOffer: Engineering
Рет қаралды 1 МЛН
Cache Systems Every Developer Should Know
5:48
ByteByteGo
Рет қаралды 450 М.
Lid hologram 3d
0:32
LEDG
Рет қаралды 6 МЛН
сюрприз
1:00
Capex0
Рет қаралды 1,6 МЛН
i like you subscriber ♥️♥️ #trending #iphone #apple #iphonefold
0:14
#miniphone
0:16
Miniphone
Рет қаралды 3,5 МЛН
После ввода кода - протирайте панель
0:18