System Design Atlas

Predictive machine maintenance

03 / 10Worked example

Scale estimates

What loads do the mean, test peak and hotspot describe for maintenance findings?

The promise for maintenance finding B-30 is examined under an explicitly assumed magnitude. 864000 events are spread over 24 operating hours. A test peak of 100 events per second and the hotspot “100 identical measurement window deliveries for the same machine” test different properties than the mean value.

Starting point Measurement quality is part of the finding.

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.

Baseline load, peak load and domain hotspot

Load and data quality separated

864,000 / 24 hoursDaily volume for storage and background processing
100/s for 900 sTest peak for measurement ingestion
594 / 600 = 99 %Completeness check after deduplication

Daily amount and peak check capacity; 594 unique values check the completeness rule.

Separate views show 864000 events / 24 h, a peak of 100/s, and the hotspot of 100 identical measurement-window deliveries for the same machine.

Reproducible test profile calculations

  1. 01

    Average event rate

    10 events/s

    864000 ÷ (24 × 3600 seconds)

    For the designBase load for feature and model processing; long business waiting times are not included.

  2. 02

    Assumed test peak

    100 events/s

    100 × 900 seconds = 90000 events in the 15-minute test

    For the designThis deliberately higher test load checks response time and backlog. It is an assumption, rather than a peak measured in production.

  3. 03

    Raw data per day

    210.94 MiB/day

    864000 × 256 bytes ÷ 1048576

    For the designMetadata budget for measurement windows, model references, findings and maintenance evidence; document contents, indices, replicas and backups are added.

  4. 04

    Domain hotspot

    100 identical measurement window feeds for the same machine

    Separate concurrency or ordering test for the same business identity.

    For the designApproval and dismissal both expect version 2: in either order, one commit wins; the losing decision receives a conflict and creates no maintenance order.

Test measurement rate and concurrent finding updates separately

Test measurement rate and concurrent finding updates separately

Test measurement rate and concurrent finding updates separately.

100 identical measurement window feeds for the same machine

An average of 10 events/s says little about 100 identical measurement-window deliveries for the same machine. The exercise specifies the input and expected result.

Alternative considered
A test with only 10 events/s does not capture the concentrated contention.
Trade-off
The separate hotspot profile requires controlled ordering in addition to the 90000-event test.
Reassess
Measured real peaks above 100 events/s change the load profile.

Try it yourself

Calculate mean rate and number of events in the 15-minute peak test. In addition, explain what the hotspot test proves.

A hint for your attempt

Convert operating hours into seconds first; the peak test lasts 900 seconds.

Compare with a possible solution
Calculation
864000 ÷ (24 × 3600) = 10 events/s. 100 × 900 = 90000 events.
Domain hotspot
Approval and dismissal both expect version 2: in either order, one commit wins; the losing decision receives a conflict and creates no maintenance order. The average rate alone cannot prove this commitment.

Apply to your project

Which single item concentrates the load more than the daily mean value when required for maintenance?

Next: Approval identifies the measurement window and model revision.