System Design Atlas

Dispatch centre with changing incident information

10 / 10Worked example

Final design

The training test ends with the unit available again. Which evidence establishes completion?

An accepted order has not yet been completed.

Starting point From 10 s, an investigation signal appears.

Assumptions for the example case

A fictional command exercise with no connection to real response units. Dispatch makes the decisions, supported by suggestions and maps. Availability and an accepted assignment remain separate facts. All quantities, thresholds and operational targets in this design are illustrative assumptions.

Exercise architecture with evidence

Map alongside the authoritative datastore

Dispatch interfaceauthenticated decision
Dispatch APISituation + assignment
Relational incident datastoreE-45 · Z-45 · Revision
Transmission workerSend assignment
Position adapterPosition-update stream
Map projectionPosition + age
Training radio gatewayExternal
Position sourceTraining data
Map interfaceRead path
Dispatch interface → Dispatch APIAssignment + revision
Dispatch API → Relational incident datastoreE-45 + Z-45
Relational incident datastore → Transmission workerCommitted assignment
Transmission worker → Training radio gatewayAssignment revision4
Training radio gateway → Dispatch APIAcknowledgement revision4
Position source → Position adapterPosition + Time
Position adapter → Map projectionCurrent read model
Map interface → Map projectionPosition with timestamp

Assignments and acknowledgements use the API and incident datastore; positions follow a separate timestamped read path.

Topology from step 6, with datastore contention and the worker’s acknowledgement threshold; revisit steps 4, 5 and 9.

Test plan with expected outcomes

Input and initial stateExpected resultReturn to an earlier step
U-45 available at revision 4 → attempt assignment for incidents A/B and B/AOne winner; the other receives an assignment conflict.Step 5/7
Z-45 angenommen → identical command, then a different destination under the same keySame assignment; changed content produces a conflict.Step 4
Acknowledgement pending since 0 → 9,999/10,000/10,001 msFollow up from 10,000 ms; the unit remains allocated.Step 9
Z-45 angenommen → old rejection for an earlier revision, then valid completionThe old message has no effect; valid completion releases the unit once.Step 5

U-45 available at revision 4 → attempt assignment for incidents A/B and B/A

Expected result
One winner; the other receives an assignment conflict.
Return to an earlier step
Step 5/7

Z-45 angenommen → identical command, then a different destination under the same key

Expected result
Same assignment; changed content produces a conflict.
Return to an earlier step
Step 4

Acknowledgement pending since 0 → 9,999/10,000/10,001 ms

Expected result
Follow up from 10,000 ms; the unit remains allocated.
Return to an earlier step
Step 9

Z-45 angenommen → old rejection for an earlier revision, then valid completion

Expected result
The old message has no effect; valid completion releases the unit once.
Return to an earlier step
Step 5

End-to-end test and unresolved agreements

First end-to-end path
Compete to assign a unit, lose a response, reconcile the acknowledgement and correct the location through to acknowledgement and completion.
Clarify before real use
Real incident command, priority rules, availability, failure procedures and human responsibilities require a separate safety-focused design.

The training test ends with the unit available again.

The training test ends with the unit available again.

A completion report and dispatcher confirmation release the unit.

An accepted order has not yet been completed.

The datastore admits one winner; revisit step 5 on failure. The assignment revision protects the newer assignment; revisit steps 4 and 7 on failure.

Alternative considered
Testing only acceptance leaves the lifecycle incomplete.
Trade-off
The test requires several roles.
Reassess
Real deployment remains a separate project.

Try it yourself

Map contention and stale acknowledgements to the relevant earlier steps.

A hint for your attempt

An accepted order has not yet been completed.

Compare with a possible solution
Concurrency
The datastore admits one winner; revisit step 5 on failure.
Acknowledgement
The assignment revision protects the newer assignment; revisit steps 4 and 7 on failure.

Apply to your project

What is the equivalent of testing through to renewed unit availability in your project?

Transfer the decisions and their counterexamples to the editable design template.

Start your own design

Choose a small case from your project. The template collects the ten design tasks and leaves space for your sketches, decisions, and open assumptions. You can edit it in your text editor or note-taking app.

Download design template (.md)
Compare the ten tasks with the example case
  1. Purpose and boundary

    What is the equivalent of dispatch retaining decision authority in your project?

    In the example: Assignment remains an explicit human action.

  2. Requirements

    What is the equivalent of acknowledgement proving acceptance in your project?

    In the example: A matching acknowledgement from the unit confirms the order.

  3. Scale estimates

    What is the equivalent of a separate position-update path in your project?

    In the example: Test the projection and assignment paths separately.

  4. Interfaces

    What is the equivalent of treating a location change as new intent in your project?

    In the example: A change receives a new assignment revision and its own acknowledgement.

  5. Data and states

    What is the equivalent of confirmed withdrawal in your project?

    In the example: Withdrawal remains pending until matching evidence exists.

  6. Overall architecture

    What is the equivalent of a derived map view in your project?

    In the example: The API manages assignments; the projection provides the overview.

  7. Critical flow

    What is the equivalent of one winning assignment per unit in your project?

    In the example: An atomic version check protects the assignment.

  8. Bottlenecks and trade-offs

    What is the equivalent of distinguishing a stale position from a missing acknowledgement in your project?

    In the example: Display the cause and next action separately.

  9. Operations and security

    What is the equivalent of follow-up beginning after ten seconds in your project?

    In the example: From 10 s, an investigation signal appears.

  10. Final design

    What is the equivalent of testing through to renewed unit availability in your project?

    In the example: A completion report and dispatcher confirmation release the unit.