System Design Atlas

Dispatch centre with changing incident information

03 / 10Worked example

Scale estimates

Position updates have their own processing path. Which conditions guide the design?

Many map updates accompany few decisions.

Starting point A matching acknowledgement from the unit confirms the order.

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.

Positions and orders

Positions and assignments as separate streams

500 units / 5 s100 positions/s
Positionsquelle → Kartenprojektion100/s · Read path
Map projectionPosition plus time stamp
Dispatchers30 assignments/s
Dispositionen → Einsatzbestand30/s × 900 s
27,000 attemptsAtomic allocation check

The high-volume position stream feeds the map; assignment attempts contend only in the incident datastore.

100 position updates/s to the map; 30/s assignment test against the datastore; separate arrow widths.

Illustrative load and domain calculations

  1. 01

    Position-update stream

    100 positions/s

    500 units /5 s

    For the designMap updates must not block assignment commits.

  2. 02

    Test peak

    27,000 assignment attempts

    30/s × 900 s

    For the designAlso test two concurrent assignments of the same unit.

Position updates have their own processing path.

Position updates have their own processing path.

Test the projection and assignment paths separately.

Many map updates accompany few decisions.

500/5 = 100 per second. 30×900=27,000 attempts; test contention for one unit separately.

Alternative considered
Putting map updates under the same lock delays dispatch.
Trade-off
The read model may lag briefly.
Reassess
Measured data age determines capacity.

Try it yourself

Calculate the position-update rate and test volume.

A hint for your attempt

Many map updates accompany few decisions.

Compare with a possible solution
Order lines
500/5 = 100 per second.
Allocation
30×900=27,000 attempts; test contention for one unit separately.

Apply to your project

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

Step 4: a location change expresses new intent. Which conditions distinguish it from a retry?