DEV Community

Wakeup Flower
Wakeup Flower

Posted on

IOPS is not Throughput

1. What is IOPS?

  • IOPS = Input/Output Operations Per Second.
  • It measures how many read/write operations your storage can perform per second.
  • Think of it like the speed of requests — how many “small jobs” the disk can handle each second.

📌 Example:

  • If your workload needs 10,000 reads/writes per second, you need storage that supports 10,000 IOPS.

2. What is Throughput?

  • Throughput = MB per second (MB/s).
  • It measures how much data can be transferred per second.
  • Think of it like the bandwidth — how much information can flow through your storage system.

📌 Example:

  • If your workload processes large files (e.g., streaming video, backups), throughput matters more than IOPS.

3. How They Differ

  • IOPS = number of operations per second
  • Throughput = amount of data per second

💡 You can have high IOPS but low throughput, and high throughput but low IOPS, depending on the workload.

Example:

Workload Type IOPS Need Throughput Need
Small database queries High Low
Large file transfers Low High
Mixed workloads Medium Medium

4. Relationship

They are related but not equivalent:
Throughput (MB/s)≈IOPS×Average I/O Size (MB)

📌 Example:

  • If you have 10,000 IOPS and each I/O is 16 KB:

10,000×16KB=160,000KB/s≈156.25MB/s

Summary:

  • IOPS → speed in terms of operations
  • Throughput → speed in terms of data volume

Top comments (0)