The overall architecture
The map is a derived view. Which conditions preserve the authoritative assignment?
Position updates do not change unit allocation.
Starting point Withdrawal remains pending until matching evidence exists.
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.
Map alongside the authoritative datastore
Map alongside the authoritative datastore
Assignments and acknowledgements use the API and incident datastore; positions follow a separate timestamped read path.
Responsibilities within the application
Modules inside the dispatch API
Four responsibilities share the incident datastore within the same API process.
Runtime components and authoritative data
- Runtime boundary
- Dispatch interface → dispatch API → relational incident datastore. Transmission worker → external training radio gateway; responses → API and the same datastore. Position adapter → map projection; the map interface reads the projection with timestamps. Situation management and assignment are API modules, rather than separate deployments.
- Module responsibilities
- Situation management: versions incident reports and location corrections. Availability view: shows state and freshness. Assignment: allocates a unit to an incident. Acknowledgement reconciliation: connects acceptance, rejection and completion.
The map is a derived view.
The API manages assignments; the projection provides the overview.
Position updates do not change unit allocation.
The API, transmission worker, and position adapter run separately. Situation management and allocation belong to the API; the relational data store maintains the assignment.
- Alternative considered
- Assigning from map state may use stale information.
- Trade-off
- The two views must be understandable.
- Reassess
- New map features do not change the decision contract.
Try it yourself
Separate processes and modules.
A hint for your attempt
Position updates do not change unit allocation.
Compare with a possible solution
- Processes
- The API, transmission worker and position adapter run separately.
- Modules
- Situation management and assignment belong to the API; the relational datastore maintains allocation.
Apply to your project
What is the equivalent of a derived map view in your project?