System Design Atlas

Mining operations with intermittent connectivity

02 / 10Worked example

Requirements

Which business rule protects the work order, and how is the agreed boundary tested?

The system boundary leads to business rules and measurable goals. The central invariant for work order A-35 is that an offline report records a claimed action against the received revision and grants no new safety authorisation or work permission. An invariant must hold after every completed operation. Quality goals describe measurable operational behaviour.

Starting point Offline storage records the assigned revision.

Assumptions for the example case

A fictional example design for offline documentation of previously authorised routine work, with separate safety procedures. Zone information is marked stale from age 300 seconds; this does not authorise entry or work. All figures and test targets are illustrative assumptions.

Business guarantee and measurable limit

Guarantee and validation gates

1
Work order A-35Assigned work order revision and state
2
Device G-35Signed, monotonically increasing device event sequence
3
Zone information Z-35Separate safety information with its own age
Exact limitZone information stale from 300 s · no entry permission

An offline report records an action against the received revision and grants no authorisation.

An offline report records a claimed action against the received work order revision; it grants no new safety authorisation or work permission.

Business requirements (functional)

Further reading
Durable commitment
An offline report records a claimed action against the received work order revision; it grants no new safety authorisation or work permission.
Evidence and closure
Cancellation is delivered and acknowledged before confirmed local execution.

Operational goals (non-functional)

Further reading
Local processing
Illustrative target: 95% of local commands complete within 800 milliseconds in a 15-minute profile at 200 commands/s. External processing and human waiting time are measured separately.
Observable limit
Zone information is marked stale from age 300 seconds; this does not authorise entry or work. The boundary test checks the rule defined for this example; operational evidence remains outstanding.

Outdated zone information is visibly marked

Outdated zone information is visibly marked

Outdated zone information is visibly marked.

An offline report records a claimed action against the received work order revision; it grants no new safety authorisation or work permission.

Zone information is marked stale from age 300 seconds; this does not authorise entry or work. The exercise specifies the input and expected result.

Alternative considered
A response-time target alone leaves invalid business states unchecked.
Trade-off
Strict validation can pause an operation for investigation.
Reassess
Measured processing times or new contracts with the local gateway require a fresh review of the targets.

Try it yourself

Separate the business invariant from the 800-millisecond target. Explain the exact limit in this case.

A hint for your attempt

Completing an operation quickly but incorrectly does not satisfy the business guarantee.

Compare with a possible solution
Business rule
An offline report records a claimed action against the received work order revision; it grants no new safety authorisation or work permission. The counterexample test checks the permitted state.
Operations and boundary
The 800-millisecond target applies to 95% of local commands in the assumed peak profile. Zone information is marked stale from age 300 seconds; this does not authorise entry or work.

Apply to your project

Which rule of your project remains binding even with slow processing?

Next, reconnection determines the peak load profile.