System Design Atlas

Live and on-demand video streaming

03 / 10Worked example

Scale and contention

What delivery load do ten thousand concurrent viewers generate?

The requirements are tested under a concrete, fictitious scale: 10,000 simultaneous spectators at an average of 3 Mbit/s. Mean, peak and contention are considered separately.

Starting point Include a segment only after confirmed object finalisation.

Assumptions for the example case

Fictitious example design: a live channel followed by an on-demand archive; three quality levels; six-second segments; time-limited playback rights. Figures and quality targets are illustrative test assumptions. Rights acquisition, global rights advice, full DRM implementation and interactive video conferencing are outside scope.

Throughput and the contended resource

Media rate, segment calls and channel hour

10,000 × 3 Mbit/s30 Gbit/s
10,000 ÷ 6 s≈ 1,667 requests/s
(1+3+6) × 3.600 ÷ 84,500 MB/h
1 Mbit/s3 Mbit/s6 Mbit/s
Segment S-120Identical digest once; different digest quarantined

30 Gbit/s dominates delivery; segment contention remains a metadata and immutability problem.

10,000 people watch the same channel. Plan 30 Gbit/s delivery separately from the control API. Media bytes dominate throughput.

Reproducible test profile calculations

  1. 01

    Average load

    10,000 simultaneous viewers at an average of 3 Mbit/s

    10,000 × 3 Mbit/s = 30 Gbit/s media delivery

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

  2. 02

    Peak test

    10,000 ÷ 6 s = approximately 1,667 segment requests/s in total, with one active variant per viewer

    (1 + 3 + 6) Mbit/s × 3,600 s ÷ 8 = 4,500 MB per channel hour without overhead

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

Test concurrency separately

Test oracle
Two transcoders submit S-120 in the same generation. Test both completion orders: an identical digest is published once; different digests trigger quarantine, with no overwriting winner.

Calculate media throughput

Calculate media throughput

Plan 30 Gbit/s delivery separately from the control API.

10,000 people watch the same channel.

Media bytes dominate throughput.

Alternative considered
API request counts alone underestimate the load.
Trade-off
The delivery network needs its own operations.
Reassess
Measured cache hit rates or viewer distribution change the profile.

Terms in this step

Calculate media throughput
Media bytes dominate throughput.

Try it yourself

Calculate delivery throughput and segment requests for 10,000 viewers, 3 Mbit/s and six-second segments.

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
10,000 × 3 Mbit/s = 30 Gbit/s. 10,000 divided by six seconds gives approximately 1,667 segment requests/s.
Second part of the solution
The delivery network carries this media load. The small number of editorial changes does not determine its required capacity.

Apply to your project

Which corresponding assumption would you check first in your project when measured cache hit rates or viewer distribution change?

Step 4 examines: Address immutable segments.