System Design Atlas

Service marketplace

08 / 10Worked example

Bottlenecks and trade-offs

Which metric does not explain a double order?

A common dashboard must not mix the paths.

Starting point Compare latency and invariant testing.

Assumptions for the example case

Illustrative design: 10,000 searches and 1,000 new requests per day, averaging five offers per request; a peak of 25 searches/s; and 20 concurrent award attempts against the same request. Payment, service delivery and warranty are outside the scope.

Diagnostic path

Diagnostic pathway · Linking symptom, cause and intervention

SymptomTwo concurrent awards or an offer withdrawn in the meantime
Correlate
SignalVersion conflicts, stale published requests and pending notifications
provide evidence
CauseRead the technical condition, version and handover track together.
Targeted action
ReactionReturn the current state, preserve order uniqueness and continue pending delivery under the same key

Measurement and technical progression limit the cause before capacity or rules are changed.

The symptom and domain history guide a targeted action.

Measurement-based decisions

Search path slow

Measure query latency and result count

Read load stays outside award transactions

Trade-off
Additional telemetry
Reassess
When the search architecture changes
409 rate rises

Correlate request versions and competing commands

Conflicts can be an expected business outcome

Trade-off
More history and context
Reassess
When the abandonment rate is unusual

Terms in this step

Correlation
Links a technical measurement to a business identity.

Try it yourself

Assign 409 rate and p95 to the appropriate path.

A hint for your attempt

A conflict can be correct.

Compare with a possible solution
409
Award contention.
p95
Response time of the named endpoint.

Apply to your project

Define a diagnostic pair for auctions.

Operations connects signals with actions.