System Design Atlas

Mining operations with intermittent connectivity

03 / 10Worked example

Scale estimates

Which loads do the average, test peak and hotspot describe in this work-order scenario?

The guarantee for work order A-35 is tested at an explicitly assumed scale. 17,280 events are spread over 24 operating hours. A test peak of 200 events per second and a hotspot in which one gateway uploads 1000 buffered events after reconnecting test different properties from the average.

Starting point Outdated zone information is visibly marked.

Assumptions for the example case

A fictional example design for offline documentation of previously authorised routine work, with separate safety procedures. Zone information is marked stale from age 300 seconds; this does not authorise entry or work. All figures and test targets are illustrative assumptions.

Baseline load, peak load and domain hotspot

Compare load profiles separately

17,280 / 24 h
200/s restart
One event sequence per device

Daily volume, test peak and domain hotspot each require a separate test.

Daily volume: 17280 events / 24 h; peak: 200/s; hotspot: one gateway uploads 1000 buffered events after reconnecting. These are separate load views rather than one linear process.

Reproducible test profile calculations

  1. 01

    Average event rate

    0.2 events/s

    17280 ÷ (24 × 3600 seconds)

    For the designBase load for synchronization processing; long business waiting times are not included.

  2. 02

    Assumed test peak

    200 events/s

    200 × 900 seconds = 180000 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

    16.88 MiB/day

    17280 × 1024 bytes ÷ 1048576

    For the designMetadata budget for work order revisions, device event sequences and resolution records; document contents, indexes, replicas and backups add further storage.

  4. 04

    Domain hotspot

    One gateway uploads 1000 buffered events after reconnecting

    Separate concurrency or ordering test for the same business identity.

    For the designThe central change and offline completion both use revision 2. If completion wins, it is recorded and the change conflicts. If the change wins, the late completion opens an investigation case; the actual report is preserved rather than discarded as though the action never happened.

Reconnection determines the peak load profile

Reconnection determines the peak load profile

Reconnection determines the peak load profile.

One gateway uploads 1000 buffered events after reconnecting

An average of 0.2 events/s says little about one gateway uploading 1000 buffered events after reconnecting. The exercise specifies the input and expected result.

Alternative considered
A test with only 0.2 events/s does not capture the concentrated contention.
Trade-off
The dedicated hotspot profile requires a controlled sequence in addition to the 180000-event test.
Reassess
Measured real peaks above 200 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
17280 ÷ (24 × 3600) = 0.2 events/s. 200 × 900 = 180000 events.
Domain hotspot
The central change and offline completion both use revision 2. If completion wins, it is recorded and the change conflicts. If the change wins, the late completion opens an investigation case; the actual report is preserved rather than discarded as though the action never happened. The average rate alone cannot prove this guarantee.

Apply to your project

Which single entity concentrates load more than the daily average when reconciling underground work orders?

Next, each device has its own event namespace.