Тёмный

Caching - Simply Explained 

Simply Explained
Подписаться 468 тыс.
Просмотров 116 тыс.
50% 1

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

Наука

Опубликовано:

 

24 ноя 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 74   
@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 2 года назад
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
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
@anainmazatlan
@anainmazatlan 3 года назад
An excellent, easy to understand explanation of cache! Thank you very much for this!!
@trycatchlearn
@trycatchlearn 3 года назад
No way to dislike the video, examples was very real.
@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.
@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
@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. 👍
@margin-fades
@margin-fades 11 месяцев назад
The library analogy is really good.
@selenefroehlich9138
@selenefroehlich9138 2 года назад
excellent video, it blew my mind how easily you could explain this subject, thanks so much!
@harziraaa
@harziraaa Год назад
This is the best way to explain cache! Understood it in 5 min
@Fede-mn8pt
@Fede-mn8pt 3 года назад
Very nice video. Thanks for teaching us what is the Cache. Keep doing your great work :D
@JohnJohnson-kg4ek
@JohnJohnson-kg4ek 2 года назад
Absolute lifesaver. Thank you!
@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! 😎
@ndrakeb8926
@ndrakeb8926 3 года назад
Just started watching NoSQL video and subscribed. Brilliant explanation !!
@bowen-feng
@bowen-feng 2 года назад
Very well explained, thank you!
@johnq748
@johnq748 Месяц назад
Thanks for the explanation. Great job.!
@ravisharma7882
@ravisharma7882 2 года назад
Wow! Could understand very easily! Great 👍
@ALF444
@ALF444 2 года назад
Best explanation among others videos. Thanks
@Plantje1978
@Plantje1978 3 года назад
Exactly what I needed!
@zacharychow8485
@zacharychow8485 Год назад
Great video! Thank you
@faruzzy
@faruzzy 8 месяцев назад
Really loved this. thank you
@Zakaria_Dev9
@Zakaria_Dev9 6 месяцев назад
Simply explained ! for REAL !!
@hildesong817
@hildesong817 2 года назад
Thank you for the explanation!
@Slayz38
@Slayz38 2 года назад
I liked a lot the animation, keep up with the good work ;)
@Hambxne
@Hambxne 3 года назад
glad to see you listen to lex as well
@prajwalsiwakoti9866
@prajwalsiwakoti9866 3 года назад
Amazing..keep up the good explanation sir
@mohamedtarek-gh4fr
@mohamedtarek-gh4fr 2 года назад
wow you hit it, dude you are amazing
@abdulmalik1169
@abdulmalik1169 Год назад
awesome explanation
@gopinathgupta6464
@gopinathgupta6464 3 года назад
Quite informative 👍
@joserafaelgonzalez9514
@joserafaelgonzalez9514 2 года назад
Cool info=) Thank you!
@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.
@harsh9558
@harsh9558 3 года назад
Awesome video!
@hoangnguyen7381
@hoangnguyen7381 2 года назад
Thanks for video, awesome!
@UchihaMadara-888
@UchihaMadara-888 Год назад
Perfection in a video
@lukmanhdrjaya
@lukmanhdrjaya Год назад
Great explanation 👍👍
@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
@e_m_g
@e_m_g 10 месяцев назад
Nice explanation 👍
@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.
@brandongormley472
@brandongormley472 2 года назад
This was brilliant
@anasali4782
@anasali4782 3 года назад
Simply understood 👌
@starshiva7088
@starshiva7088 3 года назад
Good explanation bro🙂👍🏽
@valdompinga3790
@valdompinga3790 2 года назад
perfect! thank U!
@lakshaykumar8757
@lakshaykumar8757 3 года назад
Great Content :)
@avinashshitole9995
@avinashshitole9995 Год назад
Nice example this helps
@shariarparves8789
@shariarparves8789 2 года назад
Explain nicely
@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 RU-vid 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!👏👏👏
@Skreperiukas
@Skreperiukas 2 года назад
FINALLY I CAN SEE!!
@MrAnindyabanerjee
@MrAnindyabanerjee 10 месяцев назад
thanks!
@lifesfluff
@lifesfluff Год назад
thank you
@user-vn3yl5tz2c
@user-vn3yl5tz2c 4 дня назад
I once compiler chromium for my linux System and I did not enabled ccache. As progress grow The build speed got slower and slower. After enabling ccache it helped me quiet a lot.
@anilv4
@anilv4 3 года назад
What is the difference between cache and buffer?
@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?
@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
@kvelez
@kvelez 3 года назад
👍
@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.....
@iIiiII11IIIii
@iIiiII11IIIii 2 года назад
Lex Friedmen, hell yea
@CaliburPANDAs
@CaliburPANDAs Год назад
cool, now explain now redis works. xD
@deparadigm7866
@deparadigm7866 3 года назад
First to comment
@benouattara6249
@benouattara6249 3 года назад
so ...
@hdhwkq
@hdhwkq 3 года назад
So
Далее
Difference between cookies, session and tokens
11:53
Просмотров 592 тыс.
Ep 073: Introduction to Cache Memory
30:45
Просмотров 33 тыс.
Cache Systems Every Developer Should Know
5:48
Просмотров 453 тыс.
What is a Server?  Servers vs Desktops Explained
7:14
What is CPU Cache?
5:02
Просмотров 1,1 млн
L11 4 how caches work
3:48
Просмотров 10 тыс.
Caching - Web Development
4:34
Просмотров 54 тыс.
How computer memory works - Kanawat Senanan
5:05
Просмотров 3,3 млн
How do NoSQL databases work? Simply Explained!
7:38
Самый СТРАННЫЙ смартфон!
0:57
Просмотров 36 тыс.