Storage, Redis & Caching
Snapshots consistency
Explain why a snapshot taken during writes can be inconsistent, and how freezing writes and snapshotting all volumes together make a database snapshot usable on restore.
What you will be able to do
- Freeze or flush writes before taking a snapshot, and keep the freeze short.
- Decide when a crash-consistent snapshot is enough, using a tested recovery time.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Storage, Redis & Caching
- Read write amplificationIntermediate · 4 min
Explain write and read amplification, why compaction and garbage collection add device writes, and how to measure the ratio before you size an SSD's endurance.
- Backup retentionIntermediate · 4 min
Explain how retention policies choose which recovery points to keep, and why forget, prune and a restore test all have to run before space is freed and recovery is…
- Object lifecycle policiesIntermediate · 4 min
Explain how S3 lifecycle rules transition and expire objects by age, and why a rule added without a retention owner can delete records that must be kept.
- Multipart uploadsAdvanced · 4 min
Explain how multipart upload builds one object from numbered parts, and why unfinished uploads keep costing money until they are completed or aborted, even when they do…
- Redis data typesAdvanced · 4 min
Explain how Redis data types set the cost of each change and the memory a key uses, and why one JSON string per session is a poor fit for small updates.
- Redis eviction policiesAdvanced · 4 min
Explain how Redis eviction policies choose what to remove at the memory cap, and why a single instance shared by cache and session data can lose the wrong keys.