System Design Atlas

Telemedicine appointments and care records

03 / 10Worked example

Scale and contention

How do the appointment rate and required conversation capacity differ?

The requirements are checked under a concrete, fictitious scale: 600 appointments per association of practices/day. Mean, peak and contention are considered separately.

Starting point Track each prerequisite separately.

Assumptions for the example case

Fictitious example design: an outpatient video consultation with one clinician; appointment intervals in UTC; documented consent; manually confirmed consultation end and a versioned clinical note. Figures and quality targets are illustrative test assumptions. Emergency care, automatic diagnosis, prescribing and billing are outside the scope.

Throughput and the contended resource

Appointment starts and consultation minutes

600 / 36,000 s0.0167 start/s
60 / 60 s1 start/s
600 × 20 min12,000 min/day
12:00T-71 · B-71 · 20 minutes12:20 available for the next appointment

The practice API is tested for bursts of appointment starts; media capacity is assessed separately at the video service.

600 appointments generate long media streams. Calculate appointment rates and consultation minutes separately. API load does not determine video capacity.

Reproducible test profile calculations

  1. 01

    Average load

    600 appointments per group of practices/day

    600 ÷ 36,000 s = 0.0167 appointment starts/s over 10 hours

    For the designThe rate describes the assumed total volume; response time still requires measurement.

  2. 02

    Peak test

    60 appointment starts in 60 s = 1 start/s

    600 × 20 min = 12,000 consultation minutes/day; validate media capacity separately at the video service

    For the designThe additional quantity calculation defines a separate check of resource or retention needs.

Test concurrency separately

Test oracle
Two patients book the same available appointment. Either commit order yields exactly one booking. Second test: consent revocation races with issuance of new access. Revocation first blocks issuance; access first remains logged as issued, and the active session is ended according to the agreed service contract.

Size media capacity separately

Size media capacity separately

Calculate appointment rates and consultation minutes separately.

600 appointments generate long media streams.

API load does not determine video capacity.

Alternative considered
Measuring only appointment starts underestimates concurrent media load.
Trade-off
Service capacity needs separate evidence.
Reassess
Measured concurrency exceeds the assumption.

Terms in this step

Size media capacity separately
API load does not determine video capacity.

Try it yourself

Calculate consultation minutes and average starts for 600 appointments of 20 minutes over ten hours.

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
600 × 20 = 12,000 consultation minutes; 600 ÷ 36,000 seconds = 0.0167 starts/s.
Second part of the solution
The mean value does not determine media capacity. Simultaneous conversations are checked separately on the video service.

Apply to your project

Which corresponding assumption would you check first in your project when measured concurrency exceeds the assumption?

Step 4 examines: Bind access to its specific context.