Cache

Write-around

A strategy that writes straight to the database and skips the cache. Writing is fast, but reading right away is a cache miss.

Example

A record is saved in the database in 50 ms; if someone reads it right after, it's not in the cache and takes another 50 ms.

Test yourself: Write-around

Cache

What does write-around do?

Lessons that use it

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.