6.1 Workload sizing model
The workload is determined by the number of selected measurements, the number of nodes, and the number of indexed values produced by arrayed measurements. Single and arrayed measurements must be calculated separately because only arrayed measurements expand by index count.
Data-size calculations in this section use the following illustrative averages:
- Average single-measurement data size: 400 Bytes per record.
- Average arrayed-measurement data size: 60 Bytes per indexed entry.
Note:
These values are based on lab tests and are provided for illustration only. Actual data sizes may vary in production depending on the selected measurements, node configuration, index counts, and JSON payload structure.The calculation model treats single and arrayed measurements separately. Below are the calculations for data-size estimation.
Single measurements produce one record for each node.
Single record count = Number of single measurements x Number of nodes Single data size = Single record count x 400 Bytes.
Arrayed measurements produce multiple indexed values for each node.
Arrayed indexed values = Number of arrayed measurements x Number of nodes x Number of indexes per measurement per node Arrayed data size = Arrayed indexed values x 60 bytes.
For a mixed workload, calculate the single and arrayed measurement data sizes separately, then add them to obtain the total estimated data size.
Table 6-1 Example workload comparison
| Workload | Measurements | Nodes | Indexes | Generated elements, calculation, and estimated data size per interval |
|---|---|---|---|---|
| Single-measurement example | 100 | 20 | Not applicable | 100 Measurements x 20 Nodes = 2000 records
2,000 records x 400 Bytes = 800 KB |
| Arrayed-measurement example | 20 | 20 | 5000 | 20 Measurements x 20 Nodes x 5000 Indexes = 2,000,000 indexed values
2,000,000 indexed values x 60 Bytes = 120,000 KB (120 MB) |