System Design Atlas

Newsroom publishing with approvals and usage rights

03 / 10Worked example

Scale and contention

Which delivery burden generates a highly requested urgent message?

The requirements are checked under a concrete, fictitious scale: 200 articles per day. Mean, peak and contention are considered separately. The new version V-4 competes with the release of the previous version V-3.

Starting point Require distinct identities for the two-person review.

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.

Throughput and the contended resource

Editorial activity and peak delivery load

200 ÷ 28,800 s = 0.00694/s50,000/min = 833.33 requests/s50,000 × 300 KiB = 14.31 GiB/min
Approval of V-3binds only V-3
optimistic version headExactly one first commit
Amendment V-4The V-3 is obsolete.

The publication rate is low; the urgent message shifts the burden to origin, network and invalidation.

Breaking news has little writing and much reading load. Test 833.33 requests/s as a separate media profile. Editorial activity rates do not determine content-delivery capacity.

Reproducible test profile calculations

  1. 01

    Average load

    200 articles/day

    200 ÷ 28,800 s = 0.00694 publications/s in 8 hours

    For the designThe rate describes the assumed total volume; response time still requires measurement.

  2. 02

    Peak test

    Breaking news with 50,000 requests/min = 833.33 requests/s

    50,000 × 300 KiB = 15,000,000 KiB = around 14.31 GiB per minute of requests

    For the designThe additional quantity calculation defines a separate check of resource or retention needs.

Test concurrency separately

Test oracle
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.

Calculate read load separately

Calculate read load separately

Test 833.33 requests/s as a separate media profile.

Breaking news has little writing and much reading load.

Editorial activity rates do not determine content-delivery capacity.

Alternative considered
Counting articles per day alone understates peaks.
Trade-off
Caches need their own test.
Reassess
Real peaks exceed the assumption.

Terms in this step

Calculate read load separately
Editorial activity rates do not determine content-delivery capacity.

Try it yourself

Calculate the request rate and payload volume for 50,000 requests/min at 300 KiB each.

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
50,000 divided by 60 gives 833.33 retrievals/s.
Second part of the solution
50,000 times 300 KiB gives 15,000,000 KiB or about 14.31 GiB per minute; this applies to the delivery path.

Apply to your project

Which corresponding assumption in your project would you check first? Consider this trigger: Real peaks exceed the assumption.

Step 4: Include the version in the command.