System Design Atlas

Newsroom publishing with approvals and usage rights

07 / 10Worked example

Critical flow

What destination evidence clarifies a possibly already completed publication?

We track the error point through the architecture: the delivery network accepts V-3, but the response is missing. Publication remains pending and is reconciled by version and digest. When usage rights expire, the origin is blocked and cache invalidation is tracked; successful invalidation requires separate evidence. Durable acceptance, actual effect and response are considered separately.

Starting point Track editorial decisions and delivery evidence separately.

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.

Failure point in the sequence

Publication commit, loss of response and end of rights

The order remains open until version and digest are matched; End of Rights starts a second proof.

Editorial interface
Editorial API
Version/rights store
Publication worker
Origin
Delivery network
  1. 01 Editorial interface → Editorial APIPublish V-3
  2. 02 Editorial API → Version/rights storeCommit the publication command
  3. 03 Publication worker → Version/rights storeRead the approved command and digest
  4. 04 Publication worker → OriginPublish V-3 + digest
  5. 05 Origin → Delivery networkReleased version
  6. 06 Delivery network · Local processingAnswer is lost
  7. 07 Editorial API → Delivery networkCompare version + digest
  8. 08 Origin · Local processingR-121: blocking origin
  9. 09 Origin → Delivery networkTrack invalidation

Result: Publication and cache invalidation each have an evidenced status.

V-3 remains pending until its digest is reconciled; the origin is blocked from 18:00 UTC, and cache invalidation success is confirmed separately.

V-3 is already delivered. Check version and digest at the destination. A retry does not produce a different version.

Effect, response and recovery

Specific error
The delivery network accepts V-3, but the response is missing. Publication remains pending and is reconciled by version and digest. When usage rights expire, the origin is blocked and cache invalidation is tracked; successful invalidation requires separate evidence.
Before and after commit
Commit durably completes the local change. Before commit, the old state remains valid; afterwards, an identical retry returns the stored outcome. Reconcile the external effect using its existing reference.
Retry behaviour
Send publication order for N-121 and V-3 twice: same publication. The same key with a new version is rejected. A duplicate rights-expiry message produces one withdrawal and a tracked invalidation job.

Reconcile after response loss

Reconcile after response loss

Check the version and digest at the destination.

V-3 is already delivered.

A retry does not produce a different version.

Alternative considered
Creating a new publication command after timeout duplicates the history.
Trade-off
Reconciliation requires destination metadata.
Reassess
Delivery service changes its status interface.

Terms in this step

Reconcile after response loss
A retry does not produce a different version.

Try it yourself

V-3 may be delivered, answer missing. Which query clarifies the order?

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
Request target status by publication reference, version and digest.
Second part of the solution
Appropriate proof confirms the same publication. A new order or loading of the current text would change the original intention.

Apply to your project

Which corresponding assumption in your project would you check first? Consider this trigger: delivery service changes its status interface.

Step 8: Inspect cache age.