System Design Atlas

Water leak detection and repair orders

08 / 10Worked example

Investigating bottlenecks

Which timestamp shows how current the network observation actually is?

The failure sequence shows where load and retries interact. The diagnostic plan treats measured waiting time, processing duration and business conflicts separately.

Starting point Synchronise the work record once and keep follow-up inspection open.

Assumptions for the example case

This fictional worked design assumes a bounded metering zone, minute-by-minute flow readings, manual confirmation of findings and one active repair order per confirmed finding. Numbers and quality targets are illustrative test assumptions. Automatic valve control, full hydraulic simulation and drinking water quality assessment are outside scope.

Diagnose the limiting resource

Investigate ingestion backlog and abnormal zones separately

Reconnect wave2000 values/s
Ingestion ageQueue + Processing
Cluster of suspected leaksN-111
Quality controlvalid + district version

2,000 readings/s explain technical delay; a cluster of V-111 requires checking measurement quality and zone assignment.

The suspected leak worker receives old readings quickly. Separate measurement age from ingestion throughput. Fast ingestion does not prove a current network view.

From signal to action

SignalValidationReaction
Locate measurement gapsThe suspected leak worker receives old readings quickly.Separate measurement age from ingestion throughput.
Conflicts on the shared entityTwo control room operators confirm the same finding and start R-111 concurrently. Either commit order creates one work order; the second request reads the existing assignment.Count expected conflicts separately from technical errors.
Peak test profile exceededAfter reconnection, 2,000 × 60 readings in 60 s = 2,000 readings/sDevice timestamps are unreliable.

Locate measurement gaps

Validation
The suspected leak worker receives old readings quickly.
Reaction
Separate measurement age from ingestion throughput.

Conflicts on the shared entity

Validation
Two control room operators confirm the same finding and start R-111 concurrently. Either commit order creates one work order; the second request reads the existing assignment.
Reaction
Count expected conflicts separately from technical errors.

Peak test profile exceeded

Validation
After reconnection, 2,000 × 60 readings in 60 s = 2,000 readings/s
Reaction
Device timestamps are unreliable.

Locate measurement gaps

Locate measurement gaps

Separate measurement age from ingestion throughput.

The suspected leak worker receives old readings quickly.

Fast import does not prove a current network view.

Alternative considered
Worker latency alone overlooks stale measurements.
Trade-off
Two timestamps remain visible.
Reassess
Device timestamps are unreliable.

Terms in this step

Locate measurement gaps
Fast import does not prove a current network view.

Try it yourself

Ingestion is fast, but readings are one hour old. Which display is misleading, and which measurement is needed?

A hint for your attempt

Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.

Compare with a possible solution
First part of the solution
A green import latency alone suggests a current network view that does not exist.
Second part of the solution
Display the measurement age from the measurement time and the current time; reception time remains a separate transport value.

Apply to your project

Which corresponding assumption in your project would you check first? Consider this trigger: Device timestamps are unreliable.

Step 9 examines: assign responsibility for remedial work.