Caching - Simply Explained

  Рет қаралды 113,641

Simply Explained

Simply Explained

3 жыл бұрын

What is a cache? How does it work, and why is it important?
Caches are used everywhere in our modern devices. It's found in many hardware components and throughout software. The goal of caching is to store data from slow memory into fast memory so it can be retrieved quicker.
That's why browsers keep a cache: so they don't have to re-download everything from the internet over and over again.
🌍 Social
Twitter: / savjee
Facebook: / savjee
Blog: savjee.be
💌 Newsletter: newsletter.savjee.be (no more than once a month)
❤️ Become a Simply Explained member: / @simplyexplained
📚 Sources used to make this video:
savjee.be/videos/simply-expla...

Пікірлер: 73
@neutra__l8525
@neutra__l8525 2 жыл бұрын
I did 4 years of computer systems engineering in 1993 and this is far clearer than any explanation I got at the time. lol. Im constantly amazed by how much better youtube videos are than older forms of learning.
@mr.mustache4743
@mr.mustache4743 Жыл бұрын
Its a shame a lot of people discredit online learning as if it was < brick and mortar schooling.
@palabinash
@palabinash 3 жыл бұрын
Examples are the best way to make someone understand.
@AchwaqKhalid
@AchwaqKhalid 3 жыл бұрын
Especially for primates 🧠
@dizzyrocket2000
@dizzyrocket2000 2 жыл бұрын
With the book/library example I think a better analogy would be: You take a PHOTOCOPY of some of the book's pages home with you - that way you have a local copy of the information you need (cached data). The data is up-to-date at the moment you took it from the library, but here lies the typical problem with cached data: If the original author of that book decides to update the original copy at the library, then your copy of the data (your photocopy) is no longer up-to-date and you need to go and get a new photocopy from the updated book at the library (clear your cache)
@abcdefghijklmnopqrstuvwxyz0
@abcdefghijklmnopqrstuvwxyz0 Жыл бұрын
Great addition to this example but that would also mean less simple, depending on the audience 😉
@computerhoofd
@computerhoofd Жыл бұрын
Great improvement to the already good analogy
@margin-fades
@margin-fades 10 ай бұрын
The library analogy is really good.
@TheBinklemNetwork
@TheBinklemNetwork 2 жыл бұрын
while other videos got me to understand the importance of caching, this one got me to understand WHY caching at different levels (cpu vs HDD) is so important
@anainmazatlan
@anainmazatlan 3 жыл бұрын
An excellent, easy to understand explanation of cache! Thank you very much for this!!
@selenefroehlich9138
@selenefroehlich9138 2 жыл бұрын
excellent video, it blew my mind how easily you could explain this subject, thanks so much!
@ldchappell1
@ldchappell1 2 жыл бұрын
Thank you *so much!* This was the fifth video I watched trying to understand the principles of cache. Now I get it. 👍
@harziraaa
@harziraaa Жыл бұрын
This is the best way to explain cache! Understood it in 5 min
@tolgaoy7957
@tolgaoy7957 3 жыл бұрын
I already knew what is a cache but I have never think that it could be explain that much simple. I am sure that I will use that examples some where in my life. Thank you for this awesome video.
@Fede-mn8pt
@Fede-mn8pt 3 жыл бұрын
Very nice video. Thanks for teaching us what is the Cache. Keep doing your great work :D
@trycatchlearn
@trycatchlearn 3 жыл бұрын
No way to dislike the video, examples was very real.
@JohnJohnson-kg4ek
@JohnJohnson-kg4ek 2 жыл бұрын
Absolute lifesaver. Thank you!
@johnq748
@johnq748 2 күн бұрын
Thanks for the explanation. Great job.!
@bowen-feng
@bowen-feng 2 жыл бұрын
Very well explained, thank you!
@ALF444
@ALF444 2 жыл бұрын
Best explanation among others videos. Thanks
@ravisharma7882
@ravisharma7882 2 жыл бұрын
Wow! Could understand very easily! Great 👍
@ndrakeb8926
@ndrakeb8926 3 жыл бұрын
Just started watching NoSQL video and subscribed. Brilliant explanation !!
@faruzzy
@faruzzy 7 ай бұрын
Really loved this. thank you
@zacharychow8485
@zacharychow8485 Жыл бұрын
Great video! Thank you
@abcdefghijklmnopqrstuvwxyz0
@abcdefghijklmnopqrstuvwxyz0 Жыл бұрын
This unlocked a door for me I didn't know existed in a completely different department yet relative to computers which simplified things much more for me! Thank you for providing a key! 😎
@prajwalsiwakoti9866
@prajwalsiwakoti9866 3 жыл бұрын
Amazing..keep up the good explanation sir
@abdulmalik1169
@abdulmalik1169 Жыл бұрын
awesome explanation
@hildesong817
@hildesong817 Жыл бұрын
Thank you for the explanation!
@Slayz38
@Slayz38 2 жыл бұрын
I liked a lot the animation, keep up with the good work ;)
@ThorstenStaerk
@ThorstenStaerk 3 жыл бұрын
Now what's the difference between a cache and a buffer? The buffer is the suitcase that you use to take the books from the library to your house. For example, if you want to print a document, you will put it into your printer's buffer and the printer will take it from there.
@richiewilliams8374
@richiewilliams8374 2 жыл бұрын
hello, pls clear me on this; apart from Lvl1 cache (internal) in the cpu, is the cache also in RAM &how ? as we know that cache is a ram , specifically sram
@ThorstenStaerk
@ThorstenStaerk 2 жыл бұрын
@@richiewilliams8374 RAM caches what you get from network, disk and so on. CPU cache caches what the CPU gets from RAM. There are 3 levels of CPU cache.
@mohamedtarek-gh4fr
@mohamedtarek-gh4fr 2 жыл бұрын
wow you hit it, dude you are amazing
@Plantje1978
@Plantje1978 2 жыл бұрын
Exactly what I needed!
@gopinathgupta6464
@gopinathgupta6464 3 жыл бұрын
Quite informative 👍
@ChildrenOfDemiurgos
@ChildrenOfDemiurgos Жыл бұрын
Amazing explanation. I hope I can cache this explanation somewhere close by in my memory haha😂. You’re Dutch right?! Your accent sounds like it.
@Zakaria_Dev9
@Zakaria_Dev9 5 ай бұрын
Simply explained ! for REAL !!
@Hambxne
@Hambxne 3 жыл бұрын
glad to see you listen to lex as well
@e_m_g
@e_m_g 9 ай бұрын
Nice explanation 👍
@joserafaelgonzalez9514
@joserafaelgonzalez9514 Жыл бұрын
Cool info=) Thank you!
@AfonsodelCB
@AfonsodelCB 3 жыл бұрын
compression, encryption, and error detection of messages over a connection is also something that was mostly figured out before consumer desktops even existed
@lukmanhdrjaya
@lukmanhdrjaya Жыл бұрын
Great explanation 👍👍
@hoangnguyen7381
@hoangnguyen7381 2 жыл бұрын
Thanks for video, awesome!
@starshiva7088
@starshiva7088 2 жыл бұрын
Good explanation bro🙂👍🏽
@UchihaMadara-888
@UchihaMadara-888 Жыл бұрын
Perfection in a video
@harsh9558
@harsh9558 3 жыл бұрын
Awesome video!
@brandongormley472
@brandongormley472 2 жыл бұрын
This was brilliant
@anasali4782
@anasali4782 3 жыл бұрын
Simply understood 👌
@Life_Has_Changed
@Life_Has_Changed 3 жыл бұрын
Wow, great explanation, and a lot of effort are put in your videos to be engaging and easy to understand. Subbed. Also your KZbin recommendations are very similar to mine xD at 1:24. Do you do all the editing and script on your own?
@simplyexplained
@simplyexplained 3 жыл бұрын
Yes, it's a 1 man band ;)
@Life_Has_Changed
@Life_Has_Changed 3 жыл бұрын
Wow much respect for you! That's tough work!👏👏👏
@valdompinga3790
@valdompinga3790 2 жыл бұрын
perfect! thank U!
@avinashshitole9995
@avinashshitole9995 Жыл бұрын
Nice example this helps
@lakshaykumar8757
@lakshaykumar8757 2 жыл бұрын
Great Content :)
@shariarparves8789
@shariarparves8789 2 жыл бұрын
Explain nicely
@lifesfluff
@lifesfluff Жыл бұрын
thank you
@MrAnindyabanerjee
@MrAnindyabanerjee 9 ай бұрын
thanks!
@Skreperiukas
@Skreperiukas 2 жыл бұрын
FINALLY I CAN SEE!!
@manishamulchandani1500
@manishamulchandani1500 3 жыл бұрын
I have doubt regarding caching Consider I have "cache aside pattern" and "in memory cache" in application server is used. I'm looking for Invalidation logic when there is an update. This was the context. I read for critical data like password/financial information we use Write Back policy to ensure consistency. In write through one instance's in memory cache entry gets updated and others can remain stale. So, there is inconsistency in write through My question is same can happen in Write Back, one instance's in memory cache entry gets deleted(invalidated) and we update DB..other instances in memory cache still have that entry. So there is inconsistency in write Back as well? Why do we prefer write back for critical data because same issue is there in write back. If answer is invalidate all instances' in memory cache entry then same can be done for Write through. Which makes me ask question 2. My another question is : We can update all instances' in memory cache entry and then update DB. In this way consistency is maintained so why not we use Write through for critical data like password financial information?
@anilv4
@anilv4 3 жыл бұрын
What is the difference between cache and buffer?
@rezmed1144
@rezmed1144 3 жыл бұрын
how can i make animation as he does ? which tools (way) ?
@zyansheep
@zyansheep 3 жыл бұрын
I would like to know this as well
@Limeayy
@Limeayy 3 жыл бұрын
Blender?
@ItsAsparageese
@ItsAsparageese 3 жыл бұрын
@Simply Explained wtf did you get hacked? What is this comment? If you're actually pretending to answer unrelated questions by pushing crypto schemes I'm gonna undo my recent subscription to you SOOOO fast
@wambugugichuki
@wambugugichuki 3 жыл бұрын
where have you been?
@simplyexplained
@simplyexplained 3 жыл бұрын
Been working on some ESP32 tutorials. Published without going to subscribers ;)
@WhoDeanyUnchained
@WhoDeanyUnchained 3 жыл бұрын
This books in a library analogy won't hold up. It will be like renting movies from Blockbuster.....
@kvelez
@kvelez 3 жыл бұрын
👍
@deparadigm7866
@deparadigm7866 3 жыл бұрын
First to comment
@benouattara6249
@benouattara6249 3 жыл бұрын
so ...
@hdhwkq
@hdhwkq 3 жыл бұрын
So
@iIiiII11IIIii
@iIiiII11IIIii Жыл бұрын
Lex Friedmen, hell yea
@CaliburPANDAs
@CaliburPANDAs Жыл бұрын
cool, now explain now redis works. xD
How do NoSQL databases work? Simply Explained!
7:38
Simply Explained
Рет қаралды 1 МЛН
What is CPU Cache?
5:02
Techquickie
Рет қаралды 1,1 МЛН
[柴犬ASMR]曼玉Manyu&小白Bai 毛发护理Spa asmr
01:00
是曼玉不是鳗鱼
Рет қаралды 45 МЛН
Did you find it?! 🤔✨✍️ #funnyart
00:11
Artistomg
Рет қаралды 120 МЛН
100😭🎉 #thankyou
00:28
はじめしゃちょー(hajime)
Рет қаралды 14 МЛН
Difference between cookies, session and tokens
11:53
Valentin Despa
Рет қаралды 568 М.
The Serverless Hype Explained!
7:08
Simply Explained
Рет қаралды 104 М.
Cache Memory 1: Introduction
7:31
Jacob Schrum
Рет қаралды 14 М.
Deep Dive into HTTP Caching: cache-control, no-cache, no-store, max-age, ETag and etc.
21:28
How Caching Works? | Why is Caching Important?
7:21
Mehul - Codedamn
Рет қаралды 29 М.
Caching Pitfalls Every Developer Should Know
6:41
ByteByteGo
Рет қаралды 105 М.
Everything you need to know about HTTP Caching
13:33
the roadmap
Рет қаралды 147 М.
How cookies can track you (Simply Explained)
6:51
Simply Explained
Рет қаралды 301 М.
Cache Systems Every Developer Should Know
5:48
ByteByteGo
Рет қаралды 436 М.
Passwords & hash functions (Simply Explained)
7:28
Simply Explained
Рет қаралды 363 М.
Эффект Карбонаро и бумажный телефон
1:01
История одного вокалиста
Рет қаралды 2,6 МЛН
Куда пропал 3D Touch? #apple #iphone
0:51
Не шарю!
Рет қаралды 462 М.
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,5 МЛН
Цифровые песочные часы с AliExpress
0:45
👎Главный МИНУС планшета Apple🍏
0:29
Demin's Lounge
Рет қаралды 475 М.
Карточка Зарядка 📱 ( @ArshSoni )
0:23
EpicShortsRussia
Рет қаралды 159 М.