Jump to text
On this page
Copy and source
Published source confirmed at last check

Source changed 2026-11-23 00:01:58 UTC · snapshot created 2026-11-23 00:02:28 UTC · last check 2026-11-23 09:15:10 UTC

SYSE.6:4.4.4 - Software case: booking equipment without distributing the reservation invariant

A small field-service organization needs equipment booking, a searchable catalogue and inspection reports. The stipulated current conditions are one development team, a common weekly release, moderate booking load, and a promise that one available kit cannot be committed to two crews. Inspection photographs arrive in bursts; search results may lag by a minute, but confirming a booking must use current authoritative availability. These are constructed decision inputs, not measured production results.

Candidate A has one application deployment with separate catalogue, reservation and inspection modules, a controlled shared transaction for the booking invariant, and a queued image-processing worker. Module interfaces prevent an inspection-screen change from reaching into reservation internals. Candidate B splits catalogue, reservation and inspection into independently deployed services with owned storage, keeping the reservation authority in one service. Both can use ports and adapters for external maintenance reports.

A saves distributed-operation work while meeting the team’s common release arrangement. The queued worker can scale for photograph processing without partitioning booking state. B could release inspection changes separately, but the current team does not need that freedom; it must nevertheless design version compatibility, message recovery, replicated search data and tracing. Splitting availability and reservation into separately updated stores without a coordination mechanism would create a third, currently inadmissible candidate: a favourable latency estimate cannot compensate for an unsupported booking promise.

For these inputs the decision retains A, with enforced internal interfaces, one authoritative reservation operation and bounded search freshness. It accepts the shared application release and application-process failure scope. The decision requires workload evidence before asserting response-time adequacy. A plugin mechanism would be considered if separately supplied inspection algorithms became a recurring variation; a pipeline is useful for the photographs, not automatically for the entire booking interaction.

Now change the premise. Inspection is maintained by another provider, must be released several times a day, and processes untrusted large files; its execution failures must not stop booking. A separate inspection service or isolated worker with a versioned result contract becomes a stronger candidate. Compare a separation of inspection that supplies those properties with B’s wider partition. Retain reservation authority and its still-valid invariant argument; define how delayed or rejected inspection results affect booking. The new preference follows from release and failure conditions, not from team count alone. Actual isolation, compatible updates and resource limits need implementation evidence.

An unlike use changes the choice again: an offline inspection desktop tool accepts third-party file readers but has no independent service operators. A stable core with compatible plugins and an isolation mechanism for untrusted readers may address its variation. A network service per reader would add an availability condition the offline use cannot meet.