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.
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)
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
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.
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.
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
@@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.
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! 😎
compression, encryption, and error detection of messages over a connection is also something that was mostly figured out before consumer desktops even existed
Wow, great explanation, and a lot of effort are put in your videos to be engaging and easy to understand. Subbed. Also your RUclips recommendations are very similar to mine xD at 1:24. Do you do all the editing and script on your own?
@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
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?
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.
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.
Its a shame a lot of people discredit online learning as if it was < brick and mortar schooling.
Examples are the best way to make someone understand.
Especially for primates 🧠
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)
Great addition to this example but that would also mean less simple, depending on the audience 😉
Great improvement to the already good analogy
The library analogy is really good.
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
An excellent, easy to understand explanation of cache! Thank you very much for this!!
No way to dislike the video, examples was very real.
This is the best way to explain cache! Understood it in 5 min
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.
Thank you *so much!* This was the fifth video I watched trying to understand the principles of cache.
Now I get it. 👍
excellent video, it blew my mind how easily you could explain this subject, thanks so much!
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.
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
@@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.
Best explanation among others videos. Thanks
Just started watching NoSQL video and subscribed.
Brilliant explanation !!
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.
Absolute lifesaver. Thank you!
Very nice video. Thanks for teaching us what is the Cache. Keep doing your great work :D
awesome explanation
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! 😎
compression, encryption, and error detection of messages over a connection is also something that was mostly figured out before consumer desktops even existed
Thanks for the explanation. Great job.!
Wow, great explanation, and a lot of effort are put in your videos to be engaging and easy to understand. Subbed. Also your RUclips recommendations are very similar to mine xD at 1:24. Do you do all the editing and script on your own?
Yes, it's a 1 man band ;)
Wow much respect for you! That's tough work!👏👏👏
Simply explained ! for REAL !!
Damn, dude, you just nailed it 🫡
Very well explained, thank you!
Wow! Could understand very easily! Great 👍
glad to see you listen to lex as well
wow you hit it, dude you are amazing
Perfection in a video
Exactly what I needed!
Thank you for the explanation!
Amazing..keep up the good explanation sir
Nice explanation 👍
Really loved this. thank you
Great explanation 👍👍
This was brilliant
Great video! Thank you
Quite informative 👍
So I finally understand cache
amazing video , subscribed
I liked a lot the animation, keep up with the good work ;)
very informative
Good explanation bro🙂👍🏽
FINALLY I CAN SEE!!
Cool info=) Thank you!
Nice example this helps
Simply understood 👌
Awesome video!
Thanks for video, awesome!
Explain nicely
What is the difference between cache and buffer?
perfect!
thank U!
thank you
Great Content :)
thanks!
how can i make animation as he does ? which tools (way) ?
I would like to know this as well
Blender?
@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
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?
where have you been?
Been working on some ESP32 tutorials. Published without going to subscribers ;)
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.
This books in a library analogy won't hold up. It will be like renting movies from Blockbuster.....
Funk Track
Leannon Expressway
Farrell Fork
Robyn Common
Wilkinson Road
Paul Path
Lex Friedmen, hell yea
Flatley Circles
👍
Archibald Turnpike
Huel Expressway
Bill Light
Halvorson Squares
Lyla Streets
Florence Course
Stamm Camp
Sophia Mission
Alessandro Harbors
Howe Lake
Elnora Brook
First to comment
so ...
So
Romaine Camp
Carroll Rapids
Leland Highway
Maggio Station
cool, now explain now redis works. xD
Grant Greens
Brady View
Medhurst Gardens
Heaney Loop
Johanna Loop
Runolfsdottir Rest
Flatley Spurs
Kub Stream
79574 Salma Flats