The clerk keeps a few dozen pages of the ledger open on his desk, while the rest stand on the shelves in the back room. If the page he needs is already on the desk, the entry is found in a second. If not, he has to walk to the back room. When the desk is full, the clerk takes back the page he has not opened for the longest time.
In this lesson
- The buffer cache
- What lies in the cache
- Hit and read
- The OS cache
- Common mistake
- Key points