Redis
Core data structures, persistence (RDB/AOF), replication & clustering, caching patterns & eviction, Pub/Sub & Streams, transactions & Lua scripting, and Spring Data Redis.
Redis — Core Data Structures & Commands
beginnerBefore persistence, replication, caching strategy, or Spring Data Redis mean anything, you need fluency with the five core data structures and the single-threaded model that makes every one of them atomic.
Redis — Persistence: RDB & AOF
intermediateRedis lives in RAM by default — this chapter is about the specific, tunable trade-off between how fast it restarts and how much you're willing to lose if it doesn't restart cleanly.
Redis — Replication, Sentinel & Cluster
intermediateHow a single Redis instance becomes a resilient, horizontally-scaled system — leader-follower replication for copies, Sentinel for automatic failover, and Cluster's hash-slot model for sharding.
Redis — Caching Patterns, TTL & Eviction Policies
intermediateCache-aside, stampede prevention, and avalanche prevention aren't Redis-specific ideas — this chapter is where the general patterns from NoSQL Foundations get wired up with real EXPIRE/SET/maxmemory commands.
Redis — Pub/Sub, Streams, Transactions & Lua Scripting
advancedThe four tools Redis gives you for coordinating across clients — from the simplest, least reliable (Pub/Sub) to the strongest, truly atomic one (Lua scripts) — and exactly when each one is the right call.
Spring Boot with Redis — Spring Data Redis & Caching
intermediateEverything from RedisTemplate to @Cacheable to @RedisHash is Spring wiring on top of commands you already know from Chapters 01 and 04 — this chapter is where that wiring gets concrete in a real Spring Boot application.