Command Palette

Search for a command to run...

Hectal
Phase 9Intermediate10 of 17 in Redis

Persistence & Durability

RDB snapshots, the append-only file, fsync policies, fork and copy-on-write, recovery, backups, and exactly how much data a restart can lose.

Redis is in-memory, but it can persist: periodic snapshots (RDB), a log of every write (AOF), both, or neither. Each option trades write overhead, restart time and disk use against the size of the data-loss window.

By the end you'll be able to answer the interview favourite, "Redis restarts: how much data can be lost?", precisely for any configuration.

0/3 · 0%
3 topics ~26 min 6 code blocks & diagrams
Start with the first topic