In-memory data store — caching, pub/sub, rate limiting, sessions, and real-time leaderboards.
Five passes over the same idea, each from a different angle. Do them in order, or jump to whichever you need.
Redis is an in-memory data structure store used as cache, message broker, and database. Data structures: strings, hashes, lists, sets, sorted sets, streams, and HyperLogLog. Key patterns: cache-aside, write-through, pub/sub, distributed locks (Redlock), and rate limiting with sliding windows.
Where this topic shows up outside its home domain: