Caching

Cache-Aside

The application checks the cache, reads the database on a miss, and populates the cache itself.

Why interviewers ask about it

The default pattern. On write, update the database then delete the key - writing the value in lets two concurrent writers leave the older value cached.

This term is part of the free System Design interview preparation module - browse the full glossary for every definition.