System Design Atlas

Warehouse fulfilment and dynamic route planning

08 / 10Worked example

Bottlenecks and trade-offs

Which measurements differ between business waiting times and technical bottlenecks in storage orders?

The sequence stands; now we examine their possible bottlenecks. Long journeys and high waiting times are various bottlenecks. Path length in meters is examined against the order of the place; blocking time is measured on the quantity allocation commit. The following measures are start-up decisions with a need for testing, not already measured improvements.

Starting point Repeating a scan returns the same pick record.

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.

Trace symptoms to their causes

Diagnostic tree

ShortageSignal
Examining physical locationMeasurement
Stock clarificationResponsible
Follow-up orderSignal
Check residual requirementsMeasurement
Order planningResponsible
Delivery stalledSignal
Measure outbox ageMeasurement
Platform operationsResponsible

Signal, measurement and role remain connected for each cause.

Long walking distances and high lock wait times are different bottlenecks. Assess route length in metres against the order of locations; measure lock duration at the quantity-allocation commit.

Measure before making changes

SymptomValidationTargeted action
Long distances and high waiting times are various bottlenecksCheck source freshness, the business reason for waiting and processing time separately.Address the evidenced cause first, then retest the same case.
50 allocations to one item in the same storage locationMeasure the duration of the atomic decision and concurrent access.Move lengthy work outside the commit; preserve the business invariant in the concurrency test.
Stale display despite stored evidenceCompare the authoritative version with the projection version.Rebuild the projection; continue deciding state changes from the authoritative state.

Long distances and high waiting times are various bottlenecks

Validation
Check source freshness, the business reason for waiting and processing time separately.
Targeted action
Address the evidenced cause first, then retest the same case.

50 allocations to one item in the same storage location

Validation
Measure the duration of the atomic decision and concurrent access.
Targeted action
Move lengthy work outside the commit; preserve the business invariant in the concurrency test.

Stale display despite stored evidence

Validation
Compare the authoritative version with the projection version.
Targeted action
Rebuild the projection; continue deciding state changes from the authoritative state.

Optimise route length and lock duration separately

Optimise route length and lock duration separately

Optimise route length and lock duration separately.

Long walking distances and high lock wait times are different bottlenecks. Assess route length in metres against the order of locations; measure lock duration at the quantity-allocation commit.

Long journeys and high waiting times are various bottlenecks. Path length in meters is examined against the order of the place; blocking time is measured on the quantity allocation commit. The exercise specifies the input and expected result.

Alternative considered
Adding compute capacity indiscriminately does not resolve missing business evidence.
Trade-off
Multiple measurement points and separate causes increase the diagnostic effort.
Reassess
Use measurements after the targeted change to decide whether further scaling is needed.

Try it yourself

Name two different causes of delay in this case. Choose a measurement for each and justify the first action.

A hint for your attempt

Record the business reason for waiting, source age and technical compute time separately.

Compare with a possible solution
Case-related diagnosis
Long journeys and high waiting times are various bottlenecks. Path length in meters is examined against the order of the place; blocking time is measured on the quantity allocation commit. The first step separates these causes based on their own timestamps and conditions.
Hotspot
For 50 allocations to a piece in the same storage location, competing accesses and commit duration are measured. Long external work is removed from the transaction; then the same concurrency test is repeated.

Apply to your project

Which similar display could have two different causes in your project?

Next: inventory correction gets its own authorization.