Skip to content

Course

Redis Administration & Patterns

Redis in production — persistence, replication, failover, cluster design, memory discipline, proven data-structure patterns, and the abuse cases that turn a fast cache into a 3 a.m. incident.

9 lessons

Course Q&A

Reviews

Enrolled members can rate this course.

No reviews yet.

Durability and Topology

Persistence, replication, Sentinel, and Cluster — how Redis survives restarts and node loss.

  1. 01Persistence: RDB, AOF, and What Restart Really MeansRedis is memory-first, not magically durable. Learn exactly what RDB snapshots and AOF files guarantee before you trust them with data you cannot lose.22mOpen
  2. 02Replication and Sentinel: Designing for the Node That DiesAsynchronous replication, replication lag, failover quorum, split brain, and why a replica is not a backup.24mOpen
  3. 03Redis Cluster: Slots, Sharding, and the Limits You AcceptHow hash slots distribute keys, what cluster mode does to multi-key operations, and when Cluster is the wrong answer.26mOpen

Memory and Data Patterns

Memory accounting, eviction, data structures, and caching designs that behave under pressure.

  1. 01Memory Management: maxmemory, Eviction, and FragmentationHow Redis actually uses memory, which eviction policy belongs on which workload, and how fragmentation and big keys cause death by a thousand cuts.23mOpen
  2. 02Data Structures in Production: Strings Through StreamsWhat each Redis structure is genuinely good at, the encoding and complexity traps, and the commands that become expensive at scale.25mOpen
  3. 03Caching Patterns That Survive Traffic SpikesCache-aside, stampede control, TTL jitter, negative caching, invalidation, and when caching creates correctness bugs.24mOpen

Operations and Abuse Cases

Observability, security boundaries, and the production anti-patterns experienced operators remove first.

  1. 01Operating Redis: Metrics, Logs, Slowlog, and Safe MaintenanceThe operational signals that predict failure, how to inspect latency safely, and the maintenance habits that prevent self-inflicted outages.21mOpen
  2. 02Security Boundaries: Exposure, ACLs, TLS, and Dangerous CommandsRedis assumes a trusted network by default. Build the boundary deliberately before someone turns your cache into a remote command-and-control accident.20mOpen
  3. 03Abuse Cases to Avoid: How Redis Gets Misused in ProductionThe recurring disasters: primary source of truth without durability, giant keys, KEYS scans, distributed locks done casually, queues without recovery, and cache/database split-brain.27mOpen