System Design Atlas

Newsroom publishing with approvals and usage rights

08 / 10Worked example

Investigating bottlenecks

Which measurement detects a version that is outdated at the delivery edge?

The failure sequence shows where load and retries interact. The diagnostic plan treats measured waiting time, processing duration and business conflicts separately.

Starting point Check the version and digest at the destination.

Assumptions for the example case

Own fictitious example draft: A news article with text and an image; two-person approval; limited-time image right; versioned publication and correction. Figures and quality goals are illustrative test assumptions. Outside are legal advice, automated verification of source truth and comprehensive advertising sales.

Diagnose the limiting resource

Distinguish peak requests from version conflicts

Breaking news833.33 requests/s
Network loadOrigin + Cache Measure
Conflict of releaseV-3 against V-4
Version validationCorrect rejection

833.33 Retrievals/s burden the delivery; a release conflict protects the bound version status.

Origin shows correction, readers see old version. Measure version at origin and edge separately. Invalidation is specifically assessed.

From signal to action

SignalValidationReaction
Investigate cache ageOrigin shows correction, readers see old version.Measure versions separately at the origin and edge.
Conflicts on the shared entityApproval of V-3 competes with a text change that creates a new version. If approval wins, it applies only to V-3. If the change wins, approval with the outdated expected version fails. No new version inherits F-121.Count expected conflicts separately from technical errors.
Peak test profile exceededBreaking news with 50,000 requests/min = 833.33 requests/sCorrection latency exceeds the agreement.

Investigate cache age

Validation
Origin shows correction, readers see old version.
Reaction
Measure versions separately at the origin and edge.

Conflicts on the shared entity

Validation
Approval of V-3 competes with a text change that creates a new version. If approval wins, it applies only to V-3. If the change wins, approval with the outdated expected version fails. No new version inherits F-121.
Reaction
Count expected conflicts separately from technical errors.

Peak test profile exceeded

Validation
Breaking news with 50,000 requests/min = 833.33 requests/s
Reaction
Correction latency exceeds the agreement.

Investigate cache age

Investigate cache age

Measure versions separately at the origin and edge.

Origin shows correction, readers see old version.

Invalidation is specifically assessed.

Alternative considered
More editorial workers don’t change old caches.
Trade-off
Measurement requires several delivery points.
Reassess
Correction latency exceeds the agreement.

Terms in this step

Investigate cache age
Invalidation is specifically assessed.

Try it yourself

Origin shows correction, readers see V-3. Which two places are compared and what follows?

A hint for your attempt

Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.

Compare with a possible solution
First part of the solution
Compare version and digest at origin and at representative delivery edges.
Second part of the solution
Check the invalidation of the old cache stock; additional editorial workers do not fix outdated edge objects.

Apply to your project

Which corresponding assumption in your project would you check first? Consider this trigger: correction latency exceeds the agreement.

Step 9: Verify rights expiry.