Scale estimates
Which loads describe mean, test peak and the hotspot when participating in a study?
The commitment for study participation T-25 will be examined under an explicitly assumed scale. 2400 events are spread over 8 operating hours. A test peak of 10 events per second and the hotspot “20 competing data submissions and a withdrawal of the same participation” test different properties than the mean.
Starting point Withdrawal blocks new data collection at commit time.
Assumptions for the example case
Own fictitious example design. Fictitious documentation of an observational study with a pseudonymized participant, a visit and a versioned protocol. The example visit window covers seconds from the planned start: 0 inclusive to 86400 exclusive. All figures and test goals are illustrative assumptions.
Baseline load, peak load and domain hotspot
Three separate scale views
Daily volume, test peak and domain hotspot determine different tests.
Reproducible test profile calculations
- 01
Average event rate
0.0833333 Events/s2400 ÷ (8 × 3600 seconds)
For the designBase load for checklist processing; long business waiting times are not included.
- 02
Assumed test peak
10 events/s10 × 900 seconds = 9000 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
9.38 MiB/day2400 × 4096 Byte ÷ 1048576
For the designMetadata budget for participations, protocol references, observation revisions and access log; document content, indices, replicas and backups are added.
- 04
Domain hotspot
20 competing data collections and a withdrawal of the same participationSeparate concurrency or ordering test for the same business identity.
For the designThe visit and withdrawal both expect version 4. If withdrawal wins, the visit is rejected. If the visit wins, it remains an already accepted collection; after a fresh read, withdrawal is accepted against version 5 and blocks further collection.
Separate study load from concurrent actions on a participant
Separate study load from concurrent actions on a participant.
20 competing data collections and a withdrawal of the same participation
On average, 0.0833333 events say little about 20 competing data collections and a withdrawal of the same participation. The exercise specifies the input and expected result.
- Alternative considered
- A test with only 0.0833333 events/s does not capture the concentrated contention.
- Trade-off
- The separate hotspot profile requires a controlled sequence in addition to the 9000 event test.
- Reassess
- Measured real peaks above 10 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
- 2400 ÷ (8 × 3600) = 0.0833333 events/s. 10 × 900 = 9000 events.
- Domain hotspot
- The visit and withdrawal both expect version 4. If withdrawal wins, the visit is rejected. If the visit wins, it remains an already accepted collection; after a fresh read, withdrawal is accepted against version 5 and blocks further collection. The average rate alone cannot prove this commitment.
Apply to your project
Which individual entity in your project concentrates load more strongly than the daily average in this study-visit example?