Streaming Video Encoding & Packaging Pipeline  ·  View 07 of 22  ·  Structure

Layered Architecture

Eight layers, with the recipe plane highlighted because it holds the authoritative artefact.

Editable source SVG draw.io All views
Supply & intake Delivery intake Integrity verify Deep probe Conformance policy Remediation Recipe plane Shot & complexity analysis Ladder solver Codec & device policy Recipe store immutable, pinned Control plane Job & chunk-task store Spanner Lane scheduler Quotas & spend ceilings Progress & lineage API Execution Batch encode fleet Spot VMs On-demand fleet warm, latency-bound Decoder sandbox Stitch & boundary verify Assurance Perceptual scoring Structural checks Decoder matrix Blocking gate Human sample queue Package & protect Segmenter Common encryption Key broker Manifest builder Publication & lifecycle Atomic manifest swap Demand tiering Eviction & regeneration Takedown & revocation Storage & telemetry Master store dual-region archive Rendition store content-addressed Score & telemetry store Audit log append-only accepted source recipe digest chunk tasks renditions gate-passed candidate regenerate Layered Architecture Interface / broker Application we own Decision point Data store Security / platform Person or role synchronous event / async The recipe plane is highlighted because it, not the rendition store, holds the authoritative derived artefact. v 1.0 · owner Media Platform Architecture

Why the recipe plane is its own layer

  • It is the only derived artefact that is not regenerable: lose it and you have a master and no idea how the published bytes were made.
  • Putting it above the control plane rather than inside it is what lets a job be re-run, a region be rebuilt and an encoder be upgraded without any of them touching the decision.
  • Everything below Execution is replaceable. Everything in and above the recipe plane is custody.

Two execution paths, one layer

  • Batch and on-demand encoders share the layer and the code, and share no capacity (ADR-08). The layer boundary is about responsibility, not about a deployment unit.

Deliberate omission

  • Seven edges are drawn out of roughly forty. Every layer writes to the audit log and emits telemetry; drawing that would make the view unreadable and tell a reader nothing.