System Design Atlas

Warehouse fulfilment and dynamic route planning

03 / 10Worked example

Scale estimates

Which load describe the mean value, test peak and the hotspot at the picking order?

The commitment for picking order E-36 is checked under an explicitly assumed scale. 57600 events are spread over 8 operating hours. A test peak of 100 events per second and the hotspot “50 allocations to a piece in the same storage location” test different properties than the mean.

Starting point Picking requires an allocation and physical evidence.

Assumptions for the example case

Own fictitious example design. A warehouse with integer quantities, manual picking and a heuristic route recommendation. A route plan is marked as requiring rechecking at age 60 seconds and older; confirmed picks remain valid evidence. All figures and test goals are illustrative assumptions.

Baseline load, peak load and domain hotspot

Daily load, peak and hotspot

57,600 / 8 h
100/s peak
5 - 3 = 2 pieces

The three quantities require separate tests.

Day bar 57600 events / 8 h, top column 100/s, magnifying glass cutout: 50 allocations to a piece at the same storage location. No common linear process chain.

Reproducible test profile calculations

  1. 01

    Average event rate

    2 events/s

    57600 ÷ (8 × 3600 seconds)

    For the designBase load for transport and shipment 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

    56.25 MiB/day

    57600 × 1024 bytes ÷ 1048576

    For the designMetadata budget for stock at the storage location, allocations, picks and handovers; document content, indices, replicas and backups are added.

  4. 04

    Domain hotspot

    50 allocations to one item in the same storage location

    Separate concurrency or ordering test for the same business identity.

    For the designWith location stock of 1 item and open allocation of 0, two allocations compete for the last item. In either winning order, exactly one wins: stock remains 1, open allocation becomes 1 and newly available stock is 0. The losing order receives no partial allocation. Only confirmed picking changes both stock and open allocation to 0 together.

The last item determines the conflict test

The last item determines the conflict test

The last item determines the conflict test.

50 allocations to one item in the same storage location

An average of 2 events/s says little about 50 allocations competing for one item at the same location. The exercise specifies the input and expected result.

Alternative considered
A test with only 2 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
57600 ÷ (8 × 3600) = 2 events/s. 100 × 900 = 90000 events.
Domain hotspot
For stock at the storage location 1 piece and open allocation 0, two allocations compete for the last piece. In both winning orders, exactly one wins: space remains 1, open allocation becomes 1, newly available is 0. The unsuccessful contract shall not be sub-alloted. Only the confirmed pick sets the space available and open allocation together to 0. The average rate alone cannot prove this commitment.

Apply to your project

Which single item concentrates the load more than the daily mean value for warehouse orders?

Next: Picking binds storage location and actual amount.