An emergency-dispatch console for the municipality needs bidirectional, low-latency updates between browsers and the cloud backend as unit statuses change. Which integration mechanism best fits?
Select an answer to reveal the explanation.
Short Explanation
Dispatchers need a live two-way pipe, not a once-a-day email. WebSockets keep a connection open so the browser and backend can push updates both ways with low lag. That is the go-to pattern for interactive consoles like this.
Full Explanation
An emergency-dispatch console for the municipality that needs bidirectional, low-latency updates between browsers and the cloud backend as unit statuses change is best fit by WebSockets for interactive bidirectional communication with the browsers. Persistent sockets support live dispatch UIs where delayed polling is operationally unacceptable. Once-daily email digests summarizing all status changes are far too slow for emergency operations. Synchronous SOAP batch jobs that block until every unit replies add latency and coupling unsuitable for interactive consoles. Pull-only REST polling every fifteen minutes from each browser tab consumes resources and still presents stale unit status to dispatchers. Exam caveat: WebSockets require authentication on connect, connection lifecycle management, and often a REST complement for non-interactive civic APIs; they are not a universal replacement for all integrations. Operational check: open an authenticated WebSocket from a test console, push unit status changes from the backend, measure end-to-end latency, validate reconnect and backlog behavior, and document socket endpoints and auth in the emergency-dispatch runbook. In municipal cloud operations, record the chosen control and the rejected alternatives in the change or incident ticket so future on-call staff understand which failure modes were avoided for city services. Re-validate after the next maintenance window that the same decision still holds under current provider limits, identity bindings, and application versions used by the civic platform team.