Skip to content

Independent architecture study

Keeping the match in play

Global Sports Streaming Platform on AWS

Kick-off concentrates viewers, access checks and video requests into the same moment. This independent sports streaming study uses a Manchester United themed scenario to separate subscriber access, live video delivery and operational analytics without claiming a club engagement.

An independent architecture study based on public AWS guidance. A design exercise, not a client engagement.

Workload
Subscription and pay-per-view live football with match replays
Constraint
Simultaneous audience arrival, changing connections and territorial rights
Approach
Managed encoding, packaged video, edge caching and separate viewer analytics
  • 500,000Concurrent viewersDesign target. The supplied study’s peak audience target, not a measured audience or demonstrated capacity.
  • <3 secondsPlayback startDesign target. Time to first frame on a 10 Mbps connection in the study assumptions, not end-to-end broadcast delay.

What makes this difficult

  • Everyone arrives together

    Kick-off can make many viewers request the same fresh video segment before edge caches have it, concentrating demand on the packaging origin.

  • Access covers the whole stream

    Checking a subscription before playback is insufficient unless subsequent manifests and video segments also carry the authorisation required by the delivery layer.

  • The connection keeps changing

    A viewer may move between strong and weak connectivity during play, so aligned video renditions must let the player change quality without restarting.

Follow a live match

The stadium feed becomes playable segments while the viewer takes a separate entitlement path before requesting video from the edge.

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  1. 01

    Turn the feed into playable video

    Sends the livefeedStadium encoderTransports thesignalMediaConnectBuilds videoqualitiesMediaLivePackages livesegmentsMediaPackage

    The contribution feed reaches managed transport and redundant encoding pipelines. MediaLive creates aligned quality renditions, then MediaPackage prepares the manifests and segments used by players.

    Illustrative example Illustrative example: the live match is available in alternative video qualities.

  2. 02

    Check whether this viewer may watch

    Checks viewingrightsVimondRequestsplaybackViewer player

    The player asks Vimond to check the subscription or match purchase and territory. An authorised session receives access material covering the protected playback requests.

    Illustrative example Illustrative example: an eligible viewer receives time-limited playback access.

  3. 03

    Deliver segments close to viewers

    Packages livesegmentsMediaPackageServesauthorised videoCloudFrontRequestsplaybackViewer player

    The player requests authorised video from CloudFront. Cached segments return from the edge, while cache misses reach MediaPackage through Origin Shield to reduce repeated origin fetches.

    Illustrative example Illustrative example: the next segment plays at a quality suited to the connection.

  4. 04

    Collect playback health separately

    RequestsplaybackViewer playerAccepts playereventsAPI GatewayWrites playereventsLambdaBuffers playereventsKinesis

    The player reports heartbeats and playback problems through API Gateway and an ingestion function. Kinesis buffers the events for processing independently of video delivery.

    Illustrative example Illustrative example: a buffering event enters the analytics stream.

  5. 05

    Retain evidence for later analysis

    Buffers playereventsKinesisProcesses eventbatchesLambdaStores replayand auditS3

    A consumer function processes event batches and writes raw records to the audit archive. Consumer lag is monitored so delayed analytics does not go unnoticed.

    Illustrative example Illustrative example: player events are archived against the match.

  6. 06

    Keep the match available afterwards

    Packages livesegmentsMediaPackageServesauthorised videoCloudFrontRequestsplaybackViewer playerStores replayand auditS3

    A harvest job writes the completed match to object storage. CloudFront uses the replay origin for later authorised requests, allowing live encoding to stop between events.

    Illustrative example Illustrative example: an authorised viewer starts the archived match.

  • Request
  • Data
  • Later, queued
  • Control

The hard part

Many edge misses, fewer origin fetches

A fresh segment can be missing from several edge caches at once. Origin Shield adds a shared cache between those locations and MediaPackage, allowing matching requests to reuse a cache fill. This reduces duplicated origin work, but effective reuse depends on consistent cache keys and appropriate differences between live manifest and immutable segment caching.

Requests freshsegmentCloudFront edgeRequests samesegmentCloudFront edgeShares the cachefillOrigin ShieldSupplies thesegmentMediaPackage
Illustrative: matching requests from separate edge locations share an origin cache fill.

Why this design

  1. Use managed live processing

    Chosen
    Use MediaLive with redundant pipelines and MediaPackage for the live origin.
    Because
    The broadcast needs an explicit recovery path when an input or encoding pipeline fails during play.
    Cost
    Managed processing introduces channel and packaging charges as well as service-specific operating procedures.
    Reconsider when
    A simpler video service may be sufficient when the event has modest production requirements and fewer delivery controls.
  2. Separate subscriber logic from delivery

    Chosen
    Use Vimond for subscriber access and CloudFront for protected video delivery.
    Because
    Purchases, subscriptions and territorial entitlements change independently of video encoding and cache behaviour.
    Cost
    The integration must keep token scope, player requests, expiry and rights rules consistent across both systems.
    Reconsider when
    An established subscriber platform may justify retaining its entitlement service while using the same video infrastructure.
  3. Buffer analytics outside playback

    Chosen
    Send player events through an ingestion API into Kinesis for asynchronous processing.
    Because
    Analytics consumers need to handle bursts and retries without becoming dependencies of each video segment request.
    Cost
    Stream capacity, consumer concurrency, event retention and lag require separate sizing and monitoring.
    Reconsider when
    Periodic aggregate reports may be enough when live operational insight does not justify detailed event processing.

Cost and operating assumptions

  • Video delivered

    Viewer watch time, selected bitrates and audience geography drive edge transfer, with request charges and protection options adding to delivery cost.

  • Live processing

    Encoding renditions, redundant pipelines, packaging and the complete rehearsal and broadcast window determine active processing charges.

  • Operational analytics

    Player events, CDN logs, stream throughput and consumer processing grow with audience activity and the detail retained.

  • Replay and product layer

    Replay storage, replication, retrieval, DRM and Vimond licensing contribute beyond the live encoding and delivery services.

Assumptions behind the numbers

The source contains inconsistent event windows and cost calculations, so no total is carried forward; pricing depends on usage, region and options, including watch time, bitrate mix and licensing.

How it stays reliable

  • Rehearse the loss of a feed

    Test contribution and encoding failover before the match, including what viewers see while the packaging origin switches inputs.

  • Prepare for kick-off

    Load-test delivery and analytics ramp-up, check quotas and establish stream capacity before the audience arrives rather than assuming on-demand mode removes burst limits.

  • Test the complete playback session

    Verify manifests, segments, token expiry, DRM and territory checks on supported players, including reconnects and quality changes.

  • Separate broadcast and analytics alarms

    Monitor video availability alongside consumer lag and processing failures, so a healthy stream does not conceal missing operational evidence.

When this is a poor fit. A poor fit for occasional small broadcasts that do not need a separate subscriber platform, detailed rights controls or a custom live analytics pipeline.

Full technical write-upService-by-service detail, the architecture diagram, Well-Architected review and the original cost table.