Redis
An in-memory data structure server used as a cache, a session store, a rate limiter and — with Streams — a modest message broker.
| # | File | Covers |
|---|---|---|
| 01 | What is Redis | the model, data structures, caching patterns |
| 02 | Cache Stampede and Mitigation Patterns | synchronised expiry and the fixes |
| 03 | Redlock and the Kleppmann Critique | distributed locking, honestly |
| 04 | Persistence, eviction and memory | RDB, AOF, eviction, sizing |
| 05 | Replication, Sentinel and Cluster | replication, Sentinel, Cluster |
| 06 | Pub/sub and Streams | messaging, and why pub/sub loses data |
| 07 | Redis from Python | pipelines, transactions, Lua, rate limiting |
The licence split and the Linux Foundation fork are in Valkey, and the managed AWS version in Amazon ElastiCache.