System Design Atlas

Construction change orders, drawing revisions and cost impact

08 / 10Worked example

Bottlenecks and trade-offs

Which measurements distinguish business waiting time from technical bottlenecks when approving drawing changes?

The sequence is defined; now examine its possible bottlenecks. Long processing times may result from a missing drawing reference, pending second approval or slow document retrieval. Measure state age and technical retrieval duration separately. The following measures are initial decisions to test; their benefits have yet to be measured.

Starting point Approval and drawing changes follow a definite order.

Assumptions for the example case

Original fictional design: an internal approval workflow for a change order with frozen drawings and costs. The illustrative internal threshold is 500000 cents. Up to and including this amount, one approver is sufficient; above it, this case requires a second approver. All figures and test targets are illustrative assumptions.

Trace symptoms to their causes

Branched diagnostic tree

Drawing retrieval missingSignal
Hash and archive responseMeasurement
Platform operationsResponsible
Cost discrepancySignal
Units and sumMeasurement
Cost controlResponsible
Consent missingSignal
bound revisionMeasurement
ApproversResponsible

Signal, measurement and responsible role remain connected for each cause.

Long processing times may result from a missing drawing reference, pending second approval or slow document retrieval. Measure state age and technical retrieval duration separately.

Measure before making changes

SymptomValidationTargeted action
Long processing times may result from a missing drawing reference, pending second approval or slow document retrievalCheck source freshness, the business reason for waiting and processing time separately.Address the evidenced cause first, then retest the same case.
Two approvals and one drawing change on the same change orderMeasure the duration of the atomic decision and concurrent access.Move lengthy work outside the commit; preserve the business invariant in the concurrency test.
Stale display despite stored evidenceCompare the authoritative version with the projection version.Rebuild the projection; continue deciding state changes from the authoritative state.

Long processing times may result from a missing drawing reference, pending second approval or slow document retrieval

Validation
Check source freshness, the business reason for waiting and processing time separately.
Targeted action
Address the evidenced cause first, then retest the same case.

Two approvals and one drawing change on the same change order

Validation
Measure the duration of the atomic decision and concurrent access.
Targeted action
Move lengthy work outside the commit; preserve the business invariant in the concurrency test.

Stale display despite stored evidence

Validation
Compare the authoritative version with the projection version.
Targeted action
Rebuild the projection; continue deciding state changes from the authoritative state.

Separate pending business review from retrieval latency

Separate pending business review from retrieval latency

Separate pending business review from retrieval latency.

Long processing times may result from a missing drawing reference, pending second approval or slow document retrieval. Measure state age and technical retrieval duration separately.

Long processing times may result from a missing drawing reference, pending second approval or slow document retrieval. Measure state age and technical retrieval duration separately. The exercise specifies the input and expected result.

Alternative considered
Adding compute capacity indiscriminately does not resolve missing business evidence.
Trade-off
Multiple measurement points and separate causes increase the diagnostic effort.
Reassess
Use measurements after the targeted change to decide whether further scaling is needed.

Try it yourself

Name two different causes of delay in this case. Choose a measurement for each and justify the first action.

A hint for your attempt

Record the business reason for waiting, source age and technical compute time separately.

Compare with a possible solution
Case-related diagnosis
Long processing times may result from a missing drawing reference, pending second approval or slow document retrieval. Measure state age and technical retrieval duration separately. First distinguish these causes using their own timestamps and states.
Hotspot
Measure concurrent access and commit duration for two approvals and one drawing change on the same change order. Move lengthy external work outside the transaction, then repeat the same concurrency test.

Apply to your project

Which similar display could have two different causes in your project?

Next: project roles govern document access and decisions.