On-demand and live video streaming platform with ingest, transcoding, DRM licensing, CDN delivery, ABR manifests, and playback analytics.
Single service handles upload, simple transcode trigger, and serving via origin; metadata in one DB.
What was missing: Edge/CDN, caching, async processing, and service isolation.
Why that's risky: SPOF and poor QoE under load.
What gets added: Nothing yet (MVP).
Trade-offs: Fast to build but not production ready.
Add CDN for global delivery, edge ingress, and throttling before origin.
What was missing: Global delivery and ingress protection.
Why that's risky: Origin overload and poor latency.
What gets added: CDN, edge, and rate limiting.
Trade-offs: Cache invalidation and signed URL management.
Scale origin/API and cache hot manifests/entitlements.
What was missing: Horizontal scale and hot-path caching.
Why that's risky: Origin bottlenecks and slow startup.
What gets added: Origin LB, replicas, and manifest cache.
Trade-offs: Cache invalidation and consistency management.
Introduce domain services and queue-driven transcoding/packaging.
What was missing: Domain isolation and background processing for heavy work.
Why that's risky: Origin/CPU saturation on synchronous paths.
What gets added: Ingest, manifest, origin services; queue + transcoder/thumbnail workers.
Trade-offs: More services and operational complexity.
Add DRM license service and live streaming ingest/segmenter while preserving VOD pipeline.
What was missing: DRM licensing and live ingest path.
Why that's risky: Content leakage and poor live QoE without dedicated flows.
What gets added: License service, live segmenter, and reinforced pipeline with queues.
Trade-offs: DRM key management and extra operational overhead.
Add regional origins and monitoring while preserving the full pipeline.
What was missing: Regional origins and robust observability.
Why that's risky: Single-region failures and poor incident visibility.
What gets added: Regional origins, DB replica, and monitoring/tracing.
Trade-offs: Cross-region consistency and operational complexity.
Use a CDN with pre-warmed caches for hot content, cache manifests/entitlements, and prioritize delivering the first few segments from the closest edge. Keep manifests small and enable HTTP/2 or HTTP/3 for parallel fetches.
Produce jobs per rendition and codec to a queue; workers autoscale with queue depth. Ensure idempotent outputs using deterministic keys. Use spot/low-cost instances as workers with checkpointing for long encodes, and store artifacts in object storage.
Use DRM with short-lived licenses, signed URLs/cookies on the CDN, and entitlement checks cached for seconds. Keys stay in a KMS; services use least-privilege to request decryption operations.
Send client-side playback events to an ingestion endpoint that writes to a durable queue. Batch-process with workers to aggregate QoE metrics and store rollups for dashboards and alerting.
You're in the middle of an interview session. Leaving now will end your current attempt.
Explore concept overviews, real-system examples, key tradeoffs, and interview talking points for each roadmap section.
You've conquered this phase. These are the skills you now own: