Scale estimates
Which loads describe the mean, test peak and the hotspot in the event of service?
The commitment for service case F-34 will be assessed under an explicitly assumed scale. 28,800 events are spread over 8 operating hours. A test peak of 40 events per second and the hotspot “Two parallel responses to the same service case” test different properties than the mean.
Starting point Sending requires a human-confirmed draft.
Assumptions for the example case
Own fictitious example design. A service case via e-mail and chat with human confirmed knowledge suggestions. A send command without evidenced status is added to the investigation list from 120 seconds. All figures and test goals are illustrative assumptions.
Baseline load, peak load and domain hotspot
Compare load profiles separately
Daily volume, test peak and domain hotspot each require a separate test.
Reproducible test profile calculations
- 01
Average event rate
1 event/s28800 ÷ (8 × 3600 seconds)
For the designBase load for channel processing; long business waiting times are not included.
- 02
Assumed test peak
40 events/s40 × 900 seconds = 36000 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 cases, channel messages, draft revisions and send commands; document content, indices, replicas and backups are added.
- 04
Domain hotspot
Two parallel responses to the same service caseSeparate concurrency or ordering test for the same business identity.
For the designTwo send commands expect version 4. In either order, one wins and the second receives a conflict. After a fresh read, another send is possible only as a new, deliberately confirmed reply.
Test concurrent case updates alongside message throughput
Test concurrent case updates alongside message throughput.
Two parallel responses to the same service case
An average of 1 event/s says little about two concurrent replies to the same support case. The exercise specifies the input and expected result.
- Alternative considered
- A test with only 1 event/s does not capture the concentrated contention.
- Trade-off
- The own hotspot profile requires a controlled sequence in addition to the 36000 event test.
- Reassess
- Measured real peaks above 40 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. 40 × 900 = 36000 events.
- Domain hotspot
- Two send commands await version 4. One wins for each order; the second gets conflict. After a fresh read, a further dispatch is only possible as a new consciously confirmed answer. The average rate alone cannot prove this commitment.
Apply to your project
Which single item concentrates the load more than the daily average when it comes to customer concerns?