Scale estimates
What do the average, peak test and return hotspot each measure?
The guarantee for return E-37 is tested at an assumed scale: 28,800 events over 8 operating hours. A peak test of 30 events per second and concurrent amendment and approval of one return test different properties from average load.
Starting point The calculation model and rounding are identified as fictional.
Assumptions for the example case
A fictional administrative workflow using an invented calculation model to bind return year, rule revision and draft assessment notice. The model uses an allowance of 100000 cents; only the excess is charged at 10 % and rounded to whole cents using round-half-up. All figures and test targets are illustrative assumptions.
Baseline load, peak load and domain hotspot
Daily load, peak and hotspot
The three quantities require separate tests.
Reproducible test profile calculations
- 01
Average event rate
1 event/s28800 ÷ (8 × 3600 seconds)
For the designBase load for computing and delivery processing; long business waiting times are not included.
- 02
Assumed test peak
30 events/s30 × 900 seconds = 27000 events in the 15-minute test
For the designThis deliberately higher test load checks response time and backlog. It is an assumption, rather than a peak measured in production.
- 03
Raw data per day
112.5 MiB/day28800 × 4096 Byte ÷ 1048576
For the designMetadata budget for return revisions, rules, evidence and draft notices; add document contents, indexes, replicas and backups.
- 04
Domain hotspot
Correction and release of the same declarationSeparate concurrency or ordering test for the same business identity.
For the designAmendment and approval both expect version 5. Amendment first prevents approval of the old draft. Approval first preserves the old version; after a fresh read, amendment opens a linked follow-up review.
Concurrent amendments complement the volume test profile
Concurrent amendments complement the volume test profile.
Correction and release of the same declaration
An average of 1 event/s says little about concurrent amendment and approval of one return. Your test defines the input and expected result.
- Alternative considered
- A test with only 1 event/s does not capture the concentrated contention.
- Trade-off
- The separate hotspot profile requires a controlled sequence in addition to the 27000 event test.
- Reassess
- Measured real peaks above 30 events/s change the load profile.
Try it yourself
Calculate mean rate and number of events in the 15-minute peak test. In addition, explain what the hotspot test proves.
A hint for your attempt
Convert operating hours into seconds first; the peak test lasts 900 seconds.
Compare with a possible solution
- Calculation
- 28800 ÷ (8 × 3600) = 1 event/s. 30 × 900 = 27000 events.
- Domain hotspot
- Amendment and approval both expect version 5. Amendment first prevents approval of the old draft. Approval first preserves the old version; after a fresh read, amendment opens a linked follow-up review. The average rate alone cannot prove this commitment.
Apply to your project
Which individual object concentrates load more strongly than the daily average when processing return revisions?