Skip to content
The catalogue · 8 chapters · 150 minutes

The chapters

Work through them in order. Each one explains an idea, hands you a cache that gets it wrong, and ends with a check that tests both of a cache's jobs: the right answer, and fewer trips.

  1. 01Hits and missesCase: The cache that never hitskeys, hit rate, latency20 min
  2. 02InvalidationCase: The price that would not changecache-aside, delete or update20 min
  3. 03Whose answer is it?Case: Someone else's basketkeys, privacy, fragments15 min
  4. 04ExpiryCase: The offer that never endedTTLs, sliding expiry, clocks20 min
  5. 05StampedesCase: The nine o'clock stampedestampedes, single-flight20 min
  6. 06EvictionCase: The bestseller that kept leavingLRU, LFU, FIFO, sizing20 min
  7. 07Caching nothingCase: The cache that forgot zeronegative caching, sentinels15 min
  8. 08HTTP cachingCase: The 304 that liedCache-Control, ETags, 30420 min