System Design Atlas

Omnichannel customer service

08 / 10Worked example

Bottlenecks and trade-offs

Which measurements distinguish business waiting times and technical bottlenecks in customer concerns?

With the sequence defined, we can examine its potential bottlenecks. A long case duration may reflect waiting for a specialist team, a customer message or channel status. Separate waiting reasons support an appropriate response instead of blanket technical escalation. The following measures are start-up decisions with a need for testing, not already measured improvements.

Starting point Resolve uncertain delivery using the same reference.

Assumptions for the example case

Own fictitious example design. A service case via e-mail and chat with human confirmed knowledge suggestions. A send command without evidenced status is added to the investigation list from 120 seconds. All figures and test goals are illustrative assumptions.

Trace symptoms to their causes

Branched diagnostic tree

Uncertain customer identitySignal
Check source identifierMeasurement
Service teamResponsible
Domain question pendingSignal
Check handoff stateMeasurement
Specialised teamResponsible
Provider status is missingSignal
Reconcile the provider referenceMeasurement
Platform operationsResponsible

Signal, measurement and responsible role remain connected for each cause.

A long case duration may reflect waiting for a specialist team, a customer message or channel status. Separate waiting reasons support an appropriate response instead of blanket technical escalation.

Measure before making changes

SymptomValidationTargeted action
Long case duration while waiting for a specialist team, customer message or channel statusCheck source freshness, the business reason for waiting and processing time separately.Address the evidenced cause first, then retest the same case.
Two parallel responses to the same service caseMeasure 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 case duration while waiting for a specialist team, customer message or channel status

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.

Two parallel responses to the same service case

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.

Waiting reasons distinguish technical delays from business delays

Waiting reasons distinguish technical delays from business delays

Waiting reasons distinguish technical delays from business delays.

A long case duration may reflect waiting for a specialist team, a customer message or channel status. Separate waiting reasons support an appropriate response instead of blanket technical escalation.

A long case duration may reflect waiting for a specialist team, a customer message or channel status. Separate waiting reasons support an appropriate response instead of blanket technical escalation. 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
A long case duration may reflect waiting for a specialist team, a customer message or channel status. Separate waiting reasons support an appropriate response instead of blanket technical escalation. The first step separates these causes based on their own timestamps and conditions.
Hotspot
For two parallel responses to the same service case, 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, knowledge suggestions have sources and release.