Cache

Cache-aside

The app looks in the cache; if the data isn't there, it reads it from the database and stores it in the cache. Only what is requested gets cached.

Example

The app looks for product 42 in Redis; it's not there, so it reads it from the database, stores it in Redis, and next time it comes from memory.

More cache terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.