Storage, Redis & Caching
NVMe performance
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.
What you will be able to do
- Compare drive results at the same queue depth, block size and runtime as the application.
- Decide whether latency or concurrency limits the application before buying storage.
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
- Filesystem durabilityIntermediate · 4 min
Explain why a successful write can still be lost in a crash, and how fsync and the rename pattern decide whether saved data survives a power cut.
- RAID tradeoffsIntermediate · 4 min
Explain what RAID 0, 1, 5 and 6 trade between speed, capacity and redundancy, and why rebuild time and backups matter as much as the level chosen.
- 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.
- 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…
- 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.