System Design Atlas

Construction change orders, drawing revisions and cost impact

03 / 10Worked example

Scale estimates

What loads do the average, test peak and hotspot describe for the change order?

Test the guarantee for change order N-32 at an explicitly assumed scale. There are 720 events over 8 operating hours. A test peak of 4 events per second and a hotspot of two approvals and one drawing change on the same change order test different properties from the average load.

Starting point The cost threshold explicitly defines equality.

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.

Baseline load, peak load and domain hotspot

Separate load and amount checks

720 / 8 hDaily volume
4/s peakTest peak
20 × 25,000 = 500,000 centsAmount and limit check

Daily volume and peak test capacity; the calculation in cents checks the amount and approval threshold.

Daily-load bar: 720 events over 8 h. Peak column: 4/s. Hotspot detail: two approvals and one drawing change on the same change order. These are separate load views.

Reproducible test profile calculations

  1. 01

    Average event rate

    0.025 events/s

    720 ÷ (8 × 3600 seconds)

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

  2. 02

    Assumed test peak

    4 events/s

    4 × 900 seconds = 3600 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

    2.81 MiB/day

    720 × 4096 bytes ÷ 1048576

    For the designMetadata budget for change-order revisions, drawing references, approvals and cost records. Document contents, indexes, replicas and backups require additional storage.

  4. 04

    Domain hotspot

    Two approvals and one drawing change on the same change order

    Separate concurrency or ordering test for the same business identity.

    For the designA new drawing revision and approval both expect version 6. If the drawing change wins, the old approval request is invalidated. If approval wins, it binds the old scope; the new drawing creates a new change order requiring review and leaves the approval unchanged.

Test document size and concurrent approvals separately

Test document size and concurrent approvals separately

Test document size and concurrent approvals separately.

Two approvals and one drawing change on the same change order

An average of 0.025 events/s says little about two approvals and a drawing change on the same change order. The exercise specifies the input and expected result.

Alternative considered
A test with only 0.025 events/s does not capture the concentrated contention.
Trade-off
The separate hotspot profile requires controlled ordering in addition to the 3600-event test.
Reassess
Real peaks measured above 4 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
720 ÷ (8 × 3600) = 0.025 events/s. 4 × 900 = 3600 events.
Domain hotspot
A new drawing revision and approval both expect version 6. If the drawing change wins, the old approval request is invalidated. If approval wins, it binds the old scope; the new drawing creates a new change order requiring review and leaves the approval unchanged. The average rate alone cannot verify this guarantee.

Apply to your project

Which individual entity concentrates more load than the daily average suggests when approving drawing changes?

Next: approval specifies three concrete content references.