System Design Atlas

Live and on-demand video streaming

09 / 10Worked example

Operations and security

Why does a protected segment retrieval have to be authorized despite a cached manifest?

Measurements need assigned roles, responses and auditable evidence. Media operations owns domain investigation under the role contract; technical recovery is coordinated with platform operations where specified.

Starting point Measure ingestion age, segment completion and delivery failures separately.

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.

Signal, ownership and resolution

Ingestion, segment sequence and rights operations

Ingestion interruptedSignal
Ingestion interrupted → Media operationscheck
Media operationsDiscontinuity published
S-120 is missingSignal
S-120 is missing → Media operationscheck
Media operationsObject or visible gap
Playback right expiredSignal
Playback right expired → Platform operationscheck
Platform operationsRequest rejected

Each path ends with valid sequence, released manifest or demonstrably denied access.

A manifest was cached before rights expired. Authorise protected segment requests at the delivery edge. An old manifest does not extend R-61.

Access and recovery

Object-level authorisation
Viewers receive only the objects needed for their own task. Every change is checked server-side against the role and specific object. Media operations receives documented investigation permissions.
Evidence rather than assumption
Segment bytes are uploaded, but the completion event is lost. The worker checks the existing digest and resumes publication. The manifest is updated only after object finalisation is confirmed; a missing segment remains visible as a gap.
Operating agreement
Agree retention periods, on-call coverage, recovery time and acceptable data loss before live operation. Test restoration from backup using the open case from step 7. Keep sensitive payloads out of operational logs.

Check rights on retrieval

Check rights on retrieval

Authorise protected segment requests at the delivery edge.

A manifest was cached before rights expired.

An old manifest does not extend R-61.

Alternative considered
Checking only at playback start permits later requests after expiry.
Trade-off
Authorization requires an agreed cache contract.
Reassess
Rapid blocking requirements need stricter revocation latency.

Terms in this step

Check rights on retrieval
An old manifest does not extend R-61.

Try it yourself

A cached manifest is available, but R-61 has expired. Specify the check and expected outcome for the next segment request.

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
The delivery edge validates the protected request against the current rights context.
Second part of the solution
The old manifest does not extend the right; the request is rejected. Rights caching and clock rules must preserve this outcome.

Apply to your project

Which corresponding assumption would you check first in your project when rapid blocking needs stricter revocation latency?

Step 10 examines: Test gaps and rights expiry.