refresh ahead
A caching strategy that reloads popular keys shortly before they expire.
In more detail
It hides the miss for hot keys, and pays for predictions that turn out wrong with wasted origin work. It works best for a small set of keys that are known to stay popular.
Related terms
- TTL — How long a stored item, such as a session, token or cache entry, stays valid before it expires.
- cache aside — A caching strategy where the application checks the cache, and on a miss reads the database and stores the result itself.
Taught in
- Caching Strategies And Topology — Scalable System Design & Distributed Architecture