Self-test
Check your understanding
Self-test11 questions
How does
BGSAVEtake a consistent snapshot while Redis keeps accepting writes?Why can a background save nearly double Redis's memory use?
What can RDB-only persistence lose, and what is it good for?
Compare the three
appendfsyncpolicies on durability and cost.Redis acknowledges a write before it's fsynced. What does that mean for a client that sees
OK?What does an AOF rewrite do, and what are the three files in a multi-part AOF?
The module's durability lab lost acknowledged writes after only a process kill under
everysec. What does that teach you about relying on documented guarantees?Why does persistence not protect you from a failover losing writes?
Why should backups run from a replica?
You restored a
dump.rdbbut Redis still has the old data. What went wrong?- Design question
Write the backup and restore runbook for a 20 GB Redis session store: schedule, retention, storage, monitoring, and a quarterly restore test.