JuniorStorage

For block storage, what is the difference between IOPS and throughput, and how does it affect volume choice?

What they are really testing: Whether you know IOPS matters for small random I/O (databases) and throughput for large sequential I/O (big files/streaming), and pick the volume type to match the workload.

A real interview question

For block storage, what is the difference between IOPS and throughput, and how does it affect volume choice?

What most people say

drag me

They both measure how fast the storage is, so faster is better.

They measure different things, operations per second versus MB/s, and workloads are bound by one or the other. A database needs IOPS, a streaming/backup job needs throughput. Picking the wrong volume type wastes money or underperforms.

The follow-ups they ask next

  • Is a transactional database typically IOPS-bound or throughput-bound?

    IOPS-bound: it does many small, random reads/writes, so it needs high operations-per-second (provisioned-IOPS SSD), not raw MB/s. A streaming/backup job is the opposite, throughput-bound.

  • Why does picking the wrong volume type cost you?

    You either underperform (an IOPS-bound DB on a throughput-optimized HDD starves on operations) or overpay (a sequential job on expensive provisioned IOPS you do not need). Match the volume characteristic to the workload bottleneck.

What the interviewer is listening for

  • IOPS = ops/sec (small random), throughput = MB/s (large sequential)
  • Knows DB is IOPS-bound, streaming throughput-bound
  • Matches volume type to bottleneck

What sinks the answer

  • "Both just mean fast"
  • Conflates the two
  • Picks volume type by gut

If you genuinely do not know

Say this instead of freezing. Reasoning out loud from what you do know beats silence every single time, and a good interviewer is listening for exactly that.

IOPS is [operations per second, matters for small random I/O like a database]. Throughput is [MB/s, matters for large sequential I/O like streaming/backups]. A workload is [IOPS-bound or throughput-bound, optimizing the wrong one does not help]. So [match the volume type: provisioned-IOPS SSD for transactional DBs, throughput-optimized HDD for big sequential], to get performance without overpaying.

Keep going with storage

All 336 cloud engineer questions

Knowing the answer is not the same as recalling it under pressure

Sign in to send the questions you fumble to spaced recall, so they come back right before you would forget them, and learn the concepts behind them with hands-on labs.

Start free