Building a Self-Hosted Live Streaming CDN for HLS with OpenResty Edge
Deep technical walkthrough of building a two-tier HLS live CDN with OpenResty Edge: playlist vs segment cache rules, origin shielding, and stale-proxy-cache to suppress origin stampedes.
Link
Related resources
- Fastly Streaming Configuration GuidelinesConcrete CDN cache configuration rules for streaming: live manifest TTL under half the segment duration, shield vs edge segment TTLs, and o…
- Achieving 3-Second Latency: LL-HLS and LL-DASH Optimization with CDNEngineering deep-dive on a chunked-proxy CDN module that relays origin bytes mid-fetch, and why proxy_cache_lock plus proxy_buffering break…
- Akamai EdgeWorkers — Manifest and Playlist PersonalizationGuide to rewriting HLS/DASH manifests in edge JavaScript for rendition filtering, audio-language localization, live program replacement and…
- Apache Traffic Control — open source CDN control planeDocumentation for Apache Traffic Control (originally Comcast): Traffic Router, Monitor, Ops and Portal components, the CDN health protocol…
- RICHTER: Hybrid P2P-CDN Live Streaming with Online LearningIEEE paper combining P2P, CDN, edge and NFV resources for live streaming, using a Self-Organizing-Map online learning approach to cut optim…
- Theta EdgeCloud Architecture OverviewDocs for a distributed edge GPU marketplace for video and AI workloads, describing multi-shard topology and efficiency_score-based job rout…
- Livepeer: Benchmark Transcoding GuideDocumentation for livepeer_bench, covering real-time segment/duration ratio methodology and tuning concurrent transcode sessions on orchest…
- OCI Media Services Overview (Oracle Cloud)Oracle Cloud docs for Media Flow (transcoding, ABR ladder, transcription) and Media Streams (HLS packaging and CDN origin) media pipelines.
- Streaming Media from Backblaze B2Practical guide to serving video from B2 object storage, including the byte-range gotcha where the Native API breaks Safari while the S3-co…
- ApsaraVideo Media Processing (MPS) Development GuideAlibaba Cloud MPS developer docs covering the job/queue/workflow/template model, Narrowband HD encoding, and APIs like SubmitJobs and AddMe…
- Quantum StorNext 7 Tiering Features ExplainedTechnical walkthrough of StorNext File System Pooling versus Storage Manager tiering for media workflows, including the sntier CLI, from a…
- Using Apache Traffic Control — CDN caching internals (ApacheCon slides)Conference slides on real cache-tier efficiency for video CDNs: volume sizing, cache-key and query-parameter handling, long-tail popularity…
- EBU Media eXchange Layer (MXL) — Project PageEBU's official MXL landing page describing the Dynamic Media Facility approach of specifying by implementation for cloud-native live produc…
- MXL — Media eXchange Layer SDK (EBU Dynamic Media Facility)Open source SDK for exchanging uncompressed media grains between processes via shared memory and across hosts via RDMA, targeting software-…
- Building a Petabyte-Scale Video Archive with Fixed-Cost CephArchitecture write-up on tiering a video archive in one Ceph cluster: hot pool with 2x replication plus an archive pool using 5+2 erasure c…