Postmortem: The Day Our Cache Stampeded
A popular key expired at peak traffic and 4,000 requests hit the database at once. Here is the timeline and the fix.
Tag
2 posts tagged "caching".
A popular key expired at peak traffic and 4,000 requests hit the database at once. Here is the timeline and the fix.
Caching is easy. Invalidation is the hard part. Cache tags let us purge exactly what changed and nothing more.