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
The high-volume position stream feeds the map; assignment attempts contend only in the incident datastore.
Illustrative load and domain calculations
- 01
Position-update stream
100 positions/s500 units /5 s
For the designMap updates must not block assignment commits.
- 02
Test peak
27,000 assignment attempts30/s × 900 s
For the designAlso test two concurrent assignments of the same unit.
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?