Scale estimates
What do the average, test peak and hotspot each describe for the analysis run?
The guarantee for analysis run L-28 is tested at an explicitly assumed scale. 240 events are spread across 8 operating hours. A test peak of 2 events per second and a hotspot of 20 start requests for the same immutable run manifest test properties that the average cannot establish.
Starting point Publication requires a reviewed result version.
Assumptions for the example case
An original fictional design for a deterministic tabular analysis run with frozen input, recipe and environment. A compute job has a runtime budget of 600 seconds; at the limit it stops accepting new computation steps and is marked timed out. All figures and test targets are illustrative assumptions.
Baseline load, peak load and domain hotspot
Separate load tests from unit calculations
Daily volume and peak test capacity; the small example tests reproducible computation.
Reproducible test profile calculations
- 01
Average event rate
0.00833333 Events/s240 ÷ (8 × 3600 seconds)
For the designBaseline load for isolated computation; long domain waiting times are excluded.
- 02
Assumed test peak
2 events/s2 × 900 seconds = 1800 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
1.88 MiB/day240 × 8192 Byte ÷ 1048576
For the designMetadata budget for the run manifest and immutable artifact store; document contents, indexes, replicas and backups add to this.
- 04
Domain hotspot
20 start requests for the same immutable run manifestSeparate concurrency or ordering test for the same business identity.
For the designTwo publication commands expect version 5. Exactly one creates the publication job; the other receives a conflict. In the reverse order, the first commit still wins; identical content remains unchanged.
Size job volume and compute budget separately
Size job volume and compute budget separately.
20 start requests for the same immutable run manifest
An average of 0.00833333 events/s says little about 20 start requests for the same immutable run manifest. The exercise specifies input and expected outcome.
- Alternative considered
- A test only with 0.00833333 Events/s does not capture the concentrated contention.
- Trade-off
- The hotspot profile needs controlled ordering in addition to the 1800-event test.
- Reassess
- Measured real peaks above 2 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
- 240 ÷ (8 × 3600) = 0.00833333 events/s. 2 × 900 = 1800 events.
- Domain hotspot
- Two publication commands expect version 5. Exactly one creates the publication job; the other receives a conflict. In the reverse order, the first commit still wins; identical content remains unchanged. The average rate cannot establish this guarantee.
Apply to your project
Which object in your analysis system concentrates more load than the daily average suggests?