Scale and contention
What load do documents generate beyond the number of claim notifications?
The requirements are checked under a concrete, fictitious scale: 2,400 claims reports/day. Mean, peak and contention are considered separately.
Starting point Require two distinct approvals at or above the threshold.
Assumptions for the example case
Fictitious example design: a simple property claim under one policy; manual coverage decision based on a fixed document version; one full payout in EUR; reasoned rejection and a later reassessment as a separate process. Figures and quality targets are illustrative test assumptions. Automatic claim rejection by AI, fraud investigation, partial payments and comprehensive statutory deadline calculation are outside scope.
Throughput and the contended resource
Reporting rate, peak and document volume
API peaks and quarantine processing have different load profiles; payout initiation versus withdrawal remains a contention hotspot within one claim.
Reproducible test profile calculations
- 01
Average load
2,400 claims reports/day2,400 ÷ 28,800 s = 0.0833 messages/s in 8 hours
For the designThe rate describes the assumed total volume; response time still requires measurement.
- 02
Peak test
20 notifications/s for 300 s = 6,000 notifications2,400 × 3 documents × 2 MiB = 14,400 MiB = 14.0625 GiB/day
For the designThe additional quantity calculation defines a separate check of resource or retention needs.
Test concurrency separately
- Test oracle
- Payout initiation races with withdrawal of approval before a payout command is persisted. Withdrawal first: no Z-31. Payout initiation first: withdrawal conflicts; Z-31 remains open until its outcome is evidenced.
Calculate file volume separately
Size metadata throughput and document volume separately.
A small number of claims can generate large document volumes.
14.0625 GiB/day drives upload and retention tests more directly than notifications/s.
- Alternative considered
- Counting cases alone underestimates storage and quarantine processing.
- Trade-off
- Two capacity models must be maintained.
- Reassess
- Measured file sizes or retention periods deviate.
Terms in this step
- Calculate file volume separately
- 14.0625 GiB/day drives upload and retention tests more directly than notifications/s.
Try it yourself
Calculate daily document volume for 2,400 notifications, three documents each and 2 MiB per document. Derive a separate load test.
A hint for your attempt
Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.
Compare with a possible solution
- First part of the solution
- 2,400 times 3 times 2 MiB result in 14,400 MiB or 14.0625 GiB per day.
- Second part of the solution
- Upload and quarantine must handle this file profile. The 0.0833/s notification rate describes a different path and cannot replace document-load testing.
Apply to your project
Which corresponding assumption would you check first in your project when measured file sizes or retention periods differ?