Tag: redis Basic
This content is a draft and will not be included in production builds.
14 articles tagged redis:
- Cache penetration and avalanche: when the cache can no longer shield the database
- Cache stampede: many requests reloading the same key
- Cache-aside pattern
- Designing a news feed: fan-out on write, fan-out on read, and what a 5-million-follower account breaks
- Distributed locks with Redis: what if the lock expires while the owner is still running?
- Integration tests with Testcontainers: a real Postgres, Redis and Kafka per run, without slowing CI to a crawl
- Pipelining, MULTI/EXEC and Lua: when is a sequence of Redis commands truly atomic?
- Rate limiting for APIs: picking an algorithm, where to keep state and how to reject
- Redis data structures: choose the type by use case instead of stuffing everything into strings
- Redis expiration and eviction: did the key vanish because it expired or because memory ran out?
- Redis persistence: how much data do you lose on restart or kill -9?
- Scenario: a 5-million-follower account posts and every feed falls 40 minutes behind
- Scenario: a cache stampede at peak hour
- What does "Redis is single-threaded" mean when there are I/O threads?