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