System Design Atlas

Social care case coordination across organisations

03 / 10Worked example

Scale estimates

What do the average, peak test and support-plan hotspot each measure?

The guarantee for H-29 is tested at an explicitly assumed scale: 1440 events over 8 operating hours. A peak test of 5 events per second and concurrent handover and withdrawal for one support plan test different properties from average load.

Starting point Permission applies to the recipient and the current access.

Assumptions for the example case

Own fictitious example design. A fictitious voluntary exchange of a specific section of the aid plan between two organisations. A release granted for 3600 seconds in the example is only valid for age < 3600 seconds. All figures and test goals are illustrative assumptions.

Baseline load, peak load and domain hotspot

Separate daily load, peak and hotspot

1,440 / 8 hDaily volume
5/s test peakTest peak
Delivery ↔ RevocationDomain hotspot

Each size leads to its own capacity or contention test.

Daily load: 1440 events / 8 h. Peak test: 5/s. Hotspot: concurrent handover and withdrawal for one support plan. These are separate views rather than stages in a linear workflow.

Reproducible test profile calculations

  1. 01

    Average event rate

    0.05 events/s

    1440 ÷ (8 × 3600 seconds)

    For the designBase load for handover processing; long business waiting times are not included.

  2. 02

    Assumed test peak

    5 events/s

    5 × 900 seconds = 4500 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.

  3. 03

    Raw data per day

    5.62 MiB/day

    1440 × 4096 Byte ÷ 1048576

    For the designMetadata budget for support plan revisions, permissions and receipt evidence; add document contents, indexes, replicas and backups.

  4. 04

    Domain hotspot

    Simultaneous delivery and revocation of a support plan

    Separate concurrency or ordering test for the same business identity.

    For the designDisclosure and withdrawal both expect version 3. Withdrawal first blocks disclosure without releasing data. Disclosure commit first stores empfang_unbekannt before transmitting bytes. Subsequent withdrawal blocks new retrievals and opens klärfall even without partner acknowledgement: a copy may already exist. A later acknowledgement supplements the evidence but reactivates no permission.

Concurrent withdrawal determines the critical load test

Concurrent withdrawal determines the critical load test

Concurrent withdrawal determines the critical load test.

Simultaneous delivery and revocation of a support plan

An average of 0.05 events/s says little about concurrent handover and withdrawal for one support plan. Your test defines the input and expected result.

Alternative considered
A test with only 0.05 events/s does not capture the concentrated contention.
Trade-off
The own hotspot profile requires a controlled sequence in addition to the 4500 event test.
Reassess
Measured real peaks above 5 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
1440 ÷ (8 × 3600) = 0.05 events/s. 5 × 900 = 4500 events.
Domain hotspot
Disclosure and withdrawal both expect version 3. Withdrawal first blocks disclosure without releasing data. Disclosure commit first stores empfang_unbekannt before transmitting bytes. Subsequent withdrawal blocks new retrievals and opens klärfall even without partner acknowledgement: a copy may already exist. A later acknowledgement supplements the evidence but reactivates no permission. Average load alone cannot verify this guarantee.

Apply to your project

Which individual object concentrates load more strongly than the daily average in support coordination?

Next: handover binds the exact extract hash.