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
Signal, measurement and responsible role remain connected for each cause.
Measure before making changes
| Symptom | Validation | Targeted action |
|---|---|---|
| Long processing times may result from a missing drawing reference, pending second approval or slow document retrieval | Check 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 order | Measure 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 evidence | Compare 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.
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?