Scale estimates
Which load-test assumption must remain separate from the daily volume calculation?
10,000 devices send every 10 seconds, producing 1,000 values/s and 86,400,000 values/day. Each normalised raw record is assumed to occupy 200 bytes; indexes, replicas and protocol overhead are excluded from this calculation.
Starting point The alert rule requires raw measurements, windows and a replayable projector.
Assumptions for the example case
Example design with 10,000 temperature devices, one value every 10 seconds. An example of a time period ranges from 12:00 to immediately before 12:01. The evaluation will be completed at 12:03 at the earliest. The waiting time of 120 seconds after the end of the time period is an evaluation rule and not a permitted deviation of the instrument clock. Numbers and temperatures are illustrative design assumptions.
Size throughput, daily volume and replay separately
Illustrative scale · throughput, data volume and replay separately
10,000 ÷ 10 s = 1,000 Values/sSizes input log and projection.1,000 × 86.400 = 86,400,000 Values/dayDetermines retention needs for raw data.86,400,000 × 200 B = 17.28 GB/day30 days: 518.4 GB decimal, without indices or replicates.5000 values/sA separate test peak, independent of the daily average.- Throughput
- Durable data store
- Test profile
1,000 values/s produce 17.28 GB of normalised raw data per day. Time-range queries and retention justify separate raw-data and result stores.
Calculate from explicit assumptions
- 01
Base load
1000 values/s10,000 devices ÷ 10 s = 1,000 values/s.
For the designThe input log and projector are checked for continuous throughput.
- 02
Daily volume
86,400,000 values/day1,000 × 86,400 s = 86,400,000.
For the designRetention and time-range queries require an explicit raw-data plan.
- 03
Raw data
17.28 GB/day86,400,000 × 200 B = 17,280,000,000 B = 17.28 GB in decimal units.
For the design30 days adds up to 518.4 GB before indices, replicas and protocol overhead.
- 04
Replay test
5000 values/sA separate assumed peak.
For the designTests restart and backlog recovery independently of average daily load.
Derive storage requirements from access patterns
An append-oriented, durable store.
Deduplication, restart and later clarification need the unchanged input history.
- Trade-off
- Storage costs grow with retention and replication.
- Reassess
- Once retention, replay duration and audit requirements are defined.
A store supporting time-range queries over aggregated series and final windows.
The team queries D-17 over time periods, not individual transport messages.
- Trade-off
- Raw value and derived state must remain traceably connected.
- Reassess
- Once concurrent query volume and required resolution are known.
Terms in this step
- retention
- Deliberately established storage period. It follows from clarification, analysis, costs and protection requirements.
Try it yourself
Calculate the amount of raw data for 10,000 devices, 10 seconds and 200 bytes. Complete a test for 5,000 values/s.
A hint for your attempt
First convert values per second, then per day, then bytes into decimal gigabytes.
Compare with a possible solution
- Calculation
- 10,000 ÷ 10 = 1,000 values/s; 1,000 × 86,400 = 86,400,000 values/day; × 200 B = 17.28 GB/day. Test: Compare number in diagram, model and text.
- Replay
- 5,000 values/s is an independent test peak. Test: observe checkpoint lag, ingestion latency and duplicate result updates.
Apply to your project
Which query shape and retention period determine storage for your events?