Caching in anger

Write-through to consistent hashing: the failure modes that only show up under load, and why most cache incidents are design decisions coming home.

Read in order: later instalments assume the earlier ones.

  1. 01 Write-through, write-behind, write-around: picking wrong costs you consistency or throughput
  2. 02 Cache stampede: how one expired key takes down the database
  3. 03 Jitter is the cheapest reliability fix you are not using
  4. 04 Negative caching: the misses cost more than the hits
  5. 05 Cache invalidation is a distributed systems problem in a convenience costume
  6. 06 Local cache plus distributed cache: the coherence bill nobody budgets for
  7. 07 Why your Redis is slow: it is single threaded and you sent it KEYS
  8. 08 Scaling a distributed cache: Why consistent hashing is mandatory
  9. 09 Hot keys defeat consistent hashing
TTFB: -- ms LOAD: -- s PAYLOAD: -- kb