Skip to content
Theory · Caching at system level · lesson 2 of 7

Cache-aside and write-through

The cache is in place, and the interviewer has two questions at once. Who puts data into the cache? And what happens to the copy when the data changes? The answers are called caching patterns. There are only a few, and each has its own cost worth naming out loud.

In this lesson

  • Cache-aside
  • Read-through
  • Write-through
  • Write-behind
  • Common mistake
  • Key points