System Design Atlas

Dispatch centre with changing incident information

04 / 10Worked example

Interfaces

A location change expresses new intent. Which conditions distinguish it from a retry?

Z-45 may require a corrected destination while the unit is en route.

Starting point Test the projection and assignment paths separately.

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.

Assignment revisions

Assignment revisions

Dispatch APIZ-45 · Situation revision · U-45 revision4
Leitstellen-API → Übungsfunk-GatewayAssignment revision4
Training radio gatewayTransported unchanged
Übungsfunk-Gateway → QuittungsabgleichAcknowledgement revision4
Acknowledgement reconciliationA different revision has no effect

Z-45 carries situation and unit revisions outbound; only an acknowledgement for the same assignment revision may change state.

Z-45 carries situation and unit revisions outbound; the acknowledgement returns with the assignment revision.

Proposed domain contracts

  1. POST/einheiten/U-45/zuteilungen

    Assign a unit in the training system.

    Input
    commandKey, incident=E-45, unitRevision, incidentRevision, destination, dispatcher
    Result
    Z-45 pending, or a version/allocation conflict.
    Retry behaviour
    The same key returns the same assignment; a changed destination produces a conflict.
  2. POST/zuteilungen/Z-45/quittungen

    Accept an acknowledgement durably.

    Input
    eventKey, unit=U-45, outcome=accepted|declined|completed, assignmentRevision, occurredAt
    Result
    Acceptance, rejection or completion after a valid transition.
    Retry behaviour
    Duplicate acknowledgement takes effect once; an old assignment revision cannot change a newer assignment.

A location change expresses a new intent.

A location change expresses a new intent.

A change receives a new assignment revision and its own acknowledgement.

Z-45 may require a corrected destination while the unit is en route.

Read the existing assignment. Changed content under the same key produces a conflict; a new change command uses a new revision.

Alternative considered
A different destination under the same key conceals a change.
Trade-off
Additional confirmation is required.
Reassess
Frequent corrections require better validation during incident intake.

Try it yourself

Evaluate identical replay and changed destination.

A hint for your attempt

Z-45 may require a corrected destination while the unit is en route.

Compare with a possible solution
Replay
Read the existing assignment.
Change
Changed content under the same key produces a conflict; a new change command uses a new revision.

Apply to your project

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

Step 5: withdrawal requires confirmation. Which evidence completes it?