All simulators

Back-of-envelope estimator

Turn users and usage into QPS, storage and bandwidth.

Usage

3.3M

Data

500 bytes

0 bytes

Writes per second
38
Reads per second
3.8K
Peak reads per second
19K
New data per day
1.6 GB
Storage, 5 yr x 3 copies
9 TB
Bandwidth out
15.3 Mbps

The working, as you would say it

  1. Writes: 3.3M users x 1 = 3.3M a day. A day is 86,400 seconds (call it 100K), so about 38 writes per second.
  2. Reads: 100 per write = 3.8K per second on average, 19K at a 5x peak.
  3. Records: 3.3M x 500 bytes = 1.6 GB a day.
  4. Storage: 1.6 GB x 365 = 602 GB a year. Over 5 years with 3 copies: 9 TB.
  5. Bandwidth: in 153 Kbps, out 15.3 Mbps on average.
  6. Cache: 20% of a day's reads x 500 bytes = 33 GB of memory. This is an upper bound, because it assumes every read is for a different record.

The point of an estimate is the decision it supports. Say the conclusion: is this read-heavy or write-heavy, does it fit on one machine, and is storage or throughput the hard part? Round freely; being within a factor of two is fine.