System Design Atlas

Insurance claims with documents and payouts

08 / 10Worked example

Investigating bottlenecks

Which measurement explains long waiting times for missing evidence?

The failure sequence shows where load and retries interact. The diagnostic plan treats measured waiting time, processing duration and business conflicts separately.

Starting point Serialise the transition to stored Z-31 against withdrawal.

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.

Diagnose the limiting resource

Diagnosing upload backlog and conflict separately

Upload backlog20 messages/s
Quarantine ageMeasure
Initiation/withdrawalSame procedure
Version conflictsCount domain conflicts separately

6,000 notifications test throughput; initiation versus withdrawal tests atomic claim state.

Many cases wait for evidence rather than computing time. Separate waiting time for each missing document from technical processing time. Claims handlers identify the actual cause of long lead times.

From signal to action

SignalValidationReaction
Measure outstanding evidence requests visiblyMany cases wait for evidence rather than computing time.Separate waiting time for each missing document from technical processing time.
Conflicts on the shared entityPayout 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.Count expected conflicts separately from technical errors.
Peak test profile exceeded20 notifications/s for 300 s = 6,000 notificationsDocument verification itself becomes the measured bottleneck.

Measure outstanding evidence requests visibly

Validation
Many cases wait for evidence rather than computing time.
Reaction
Separate waiting time for each missing document from technical processing time.

Conflicts on the shared entity

Validation
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.
Reaction
Count expected conflicts separately from technical errors.

Peak test profile exceeded

Validation
20 notifications/s for 300 s = 6,000 notifications
Reaction
Document verification itself becomes the measured bottleneck.

Measure outstanding evidence requests visibly

Measure outstanding evidence requests visibly

Separate waiting time for each missing document from technical processing time.

Many cases wait for evidence rather than computing time.

Claims handlers identify the actual cause of long lead times.

Alternative considered
More workers do not get missing evidence.
Trade-off
Record domain causes in a structured form.
Reassess
Document verification itself becomes the measured bottleneck.

Terms in this step

Measure outstanding evidence requests visibly
Claims handlers identify the actual cause of long lead times.

Try it yourself

Lead time rises while technical latency stays low. Choose a domain measurement and an appropriate response.

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
Age and reason for open requests show whether evidence is missing. This waiting time is recorded separately from the file check duration.
Second part of the solution
Claims handlers follow up the specific evidence request. Additional processing workers cannot supply the missing document.

Apply to your project

Which corresponding assumption would you check first in your project when document verification itself becomes the measured bottleneck?

Step 9 examines: Assign responsibility for uncertain payments.