I have asked this cache question to a couple of senior positions

7 min readSep 28, 2023

When I see “I boost system performance X times faster by using Y cache”

Cache is hard

There are only two hard things in Computer Science: cache invalidation and naming things.

  • - Phil Karlton

When we work with cache, it brings performance, but it also brings problems. the biggest problem is — data consistency.

Let’s walk it through with interview details.

Story#1 — cache in the…




A channel which focusing on developer growth and self improvement