Storage, Redis & Caching
Read write amplification
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.
What you will be able to do
- Measure device bytes written against application bytes written over one window.
- Decide which engine setting trades write amplification against read cost for a workload.
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
- NVMe performanceIntermediate · 4 min
Explain how NVMe queues and queue depth shape drive throughput and latency, and read a benchmark's conditions before planning around it for a real database workload.
- I/O queue depthIntermediate · 4 min
Explain how queue depth limits throughput through Little's law, and use iostat and fio to find out whether a slow job is waiting on its own requests.
- 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…
- Snapshots consistencyIntermediate · 4 min
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.
- 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…