Redis
Caching strategies, rate limiting, cache stampedes, and using Redis without waking up at 3 AM.
Engineering Notes 1
- Distributed Locks with Redis Redlock
When single-instance Redis locks fail, Redlock trade-offs, and why we still prefer database advisory locks for money.
Debugging Stories 1
- Debugging a Cache Stampede at 3 AM
Hot key expiration caused a thundering herd that took down Redis and cascaded to PostgreSQL. Postmortem and fix.