Bottlenecks and trade-offs
How do you distinguish an increased false alarm component from a growing computing backlog?
With the sequence defined, examine its possible bottlenecks. A rising false-alarm rate requires labelled feedback after maintenance review; a large computation backlog requires runtime measurements. More worker processes do not automatically improve model quality. The following measures are start-up decisions with a need for testing, not already measured improvements.
Starting point One approval commit creates one maintenance order.
Assumptions for the example case
Own fictitious example design. Fictional suggestions for a single machine based on vibration trends, with human approval of work orders. Measurement windows last 60 seconds and are closed on the left, open on the right; a measurement at exactly 60 seconds belongs in the next window. All figures and test goals are illustrative assumptions.
Trace symptoms to their causes
Branched diagnostic tree
Measurement separates competing causes before a role acts.
Measure before making changes
| Symptom | Validation | Targeted action |
|---|---|---|
| Check model quality | Fictional test set: 20 of 100 findings verified by domain reviewers for the same model revision are confirmed false alarms, or 20%. Queue age and job duration remain normal. Group labelled feedback by machine, measurement window and model revision; first review data quality and the threshold with maintenance staff. Additional workers do not correct this quality problem. | Repeat the measurement with the same input state and preserve the domain invariant. |
| Locate the computation backlog | Fictional measurement: the oldest waiting measurement window is 120 seconds old instead of 10 seconds; individual jobs still take 2 seconds, and all workers are busy. This suggests insufficient processing capacity at the increased arrival rate. Measure arrivals against completions and increase capacity within defined limits; then recheck queue age and verify exactly one finding per window and model revision. | Repeat the measurement with the same input state and preserve the domain invariant. |
| 100 identical measurement window feeds for the same machine | 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. |
Check model quality
- Validation
- Fictional test set: 20 of 100 findings verified by domain reviewers for the same model revision are confirmed false alarms, or 20%. Queue age and job duration remain normal. Group labelled feedback by machine, measurement window and model revision; first review data quality and the threshold with maintenance staff. Additional workers do not correct this quality problem.
- Targeted action
- Repeat the measurement with the same input state and preserve the domain invariant.
Locate the computation backlog
- Validation
- Fictional measurement: the oldest waiting measurement window is 120 seconds old instead of 10 seconds; individual jobs still take 2 seconds, and all workers are busy. This suggests insufficient processing capacity at the increased arrival rate. Measure arrivals against completions and increase capacity within defined limits; then recheck queue age and verify exactly one finding per window and model revision.
- Targeted action
- Repeat the measurement with the same input state and preserve the domain invariant.
100 identical measurement window feeds for the same machine
- 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.
False alarm rates require confirmed feedback
False alarm rates require confirmed feedback.
A rising false-alarm rate requires labelled feedback after maintenance review; a large computation backlog requires runtime measurements. More worker processes do not automatically improve model quality.
A rising false-alarm rate requires labelled feedback after maintenance review; a large computation backlog requires runtime measurements. More worker processes do not automatically improve model quality. 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
Investigate two independent symptoms: increased false alarm and increasing computing backlog. Name each measured value, distinguishing observation and first measure.
A hint for your attempt
Record the business reason for waiting, source age and technical compute time separately.
Compare with a possible solution
- Check model quality
- Fictional test set: 20 of 100 findings verified by domain reviewers for the same model revision are confirmed false alarms, or 20%. Queue age and job duration remain normal. Group labelled feedback by machine, measurement window and model revision; first review data quality and the threshold with maintenance staff. Additional workers do not correct this quality problem.
- Locate the computation backlog
- Fictional measurement: the oldest waiting measurement window is 120 seconds old instead of 10 seconds; individual jobs still take 2 seconds, and all workers are busy. This suggests insufficient processing capacity at the increased arrival rate. Measure arrivals against completions and increase capacity within defined limits; then recheck queue age and verify exactly one finding per window and model revision.
Apply to your project
Which similar display could have two different causes in your project?