Netflix/Live Streaming

4 posts

netflix3 min readCurated summary

The Human Infrastructure: How Netflix Built the Operations Layer Behind Live at Scale

Netflix’s live-streaming growth required more than resilient technology—it demanded a dedicated human and physical operations layer. In three years, Netflix expanded from one live show per month to roughly 70 events in March 2026, including a World Baseball Classic game watched concurrently by more than 9.6 million accounts. The company evolved from engineers operating improvised setups to specialized teams, permanent facilities, and standardized broadcast procedures designed for continuous global scale. ## From Improvised Launches to Global Scale - Netflix’s first live events in March 2023 were operated by the engineers who built the streaming pipeline. - There was no dedicated operations team, formal command center, or live-specific incident response process. - Engineers monitored dashboards on laptops, coordinated through Slack, and troubleshot while millions of members watched. - Temporary control rooms were assembled in conference rooms, while larger events used rented broadcast facilities and equipment. - By March 2026, Netflix was operating 24/7 from facilities in Los Gatos and Los Angeles, with international coverage from Tokyo. - The company streamed approximately 70 events in that month—nearly as many as it had streamed throughout all of 2024. ## The Broadcast Operations Center - The Broadcast Operations Center (BOC) is Netflix’s physical command center for live events. - It receives the fully produced feed from a venue and hands it off to Netflix’s streaming infrastructure. - BOC responsibilities include: - Signal ingest and inspection - Audio and video conditioning - Closed-caption validation - Graphics insertion - Advertising management - A hub-and-spoke design, dual internet circuits, and SMPTE 2022-7 seamless switching reduce dependence on venue-specific infrastructure. - Centralizing these functions makes live events more repeatable and resilient. ## Protecting the Venue Signal - Netflix requires three completely independent transmission paths for every show-critical feed. - Approved contribution methods are prioritized as follows: - Dedicated video fiber - Single-feed satellite links - Dedicated enterprise-grade internet - SRT contribution systems - Production trucks must use redundant routers and transmission hardware, including separate router line cards. - Transmission equipment requires two independent power sources, UPS battery protection, and surge conditioning. - Before each event, operators conduct FACS/FAX facilities checks, including: - Audio/video synchronization tests - Latency and quality testing - Closed-caption verification - Backup switcher validation ## The Evolution of Netflix’s Operations Teams ### Phase 1: All-Hands Engineering - Core software engineers configured, launched, monitored, and dismantled every live event. - This approach worked for early broadcasts but could not scale as event volume increased. - Requiring developers to manually operate each show limited their ability to build new platform capabilities. ### Phase 2: Specialized Engineering Teams - Streaming Operations Engineers (SOEs) took responsibility for configuring and supporting events on the live-streaming pipeline. - SOEs became the first escalation point, allowing core developers to focus on platform development. - Broadcast Operations Engineers (BOEs) were later added to manage physical broadcast facilities and hardware. - BOEs oversee facility-related issues and support all shows running during a shift. ### Phase 3: The Co-Pilot Control Room - Dedicated Broadcast Control Operators (BCOs) assumed responsibility for operating the audio and video feeds. - Two BCOs worked together in a “first captain/second captain” model similar to a pilot and co-pilot. - This arrangement provided strong focus and execution quality for one or two events per day. - It became too space- and labor-intensive when Netflix began targeting up to ten simultaneous events. Netflix’s experience shows that live streaming at global scale depends on integrating broadcast discipline with software-engineering expertise. The key recommendation is to treat operations, redundancy, facilities, and specialized human roles as core parts of the product—not as temporary support added after the technology is built.

Read original(opens in new tab)
netflix3 min readCurated summary

Smarter Live Streaming at Scale: Rolling Out VBR for All Netflix Live Events

Netflix switched all Live events from Constant Bitrate (CBR) to capped Variable Bitrate (VBR), using AWS Elemental MediaLive’s QVBR setting. VBR allocates bits according to scene complexity, reducing delivery costs and improving playback quality, but its unpredictable spikes and dips invalidate traditional capacity-planning assumptions. Netflix addressed this by reserving delivery capacity according to each stream’s nominal bitrate rather than its current traffic level. ## Why Netflix Moved Live Streaming from CBR to VBR - CBR delivers streams near a fixed target, making server capacity and traffic patterns easy to predict. - However, CBR wastes bits on simple scenes and may provide insufficient bits for complex action. - VBR targets consistent visual quality instead: - Simple scenes use substantially fewer bits. - Complex scenes receive higher bitrate to prevent artifacts. - Netflix’s tests found: - Approximately 15% fewer bytes transferred on average. - Around 10% less traffic during the peak minute. - About 5% fewer rebuffers per hour. - Lower average traffic improves Open Connect scalability and can reduce startup delays and playback interruptions. ## Why VBR Creates Stability Risks - VBR bitrate can remain well below its nominal target during simple scenes, sometimes using only 2 Mbps for a 5 Mbps stream. - Delivery systems may interpret these low-traffic periods as spare server capacity and route additional sessions to the server. - When complex content appears—such as fights, confetti, rapid camera movement, or detailed crowds—bitrate can quickly rise to 6–8 Mbps or more. - If too many sessions were admitted during the low-bitrate period, aggregate traffic can exceed link or NIC capacity, causing: - Higher latency - Packet loss - Playback stalls - Quality downshifts ## Making Capacity Planning Aware of VBR - Netflix changed traffic-steering decisions so they no longer rely solely on current throughput. - Each stream reserves capacity based on its nominal bitrate, even when its current bitrate is much lower. - This treats every stream as capable of quickly returning to its expected capacity level. - The approach prevents servers from being overfilled during low-complexity scenes and keeps delivery behavior consistent across CBR and VBR. ## Matching VBR Bitrates to CBR Quality - Identical nominal bitrates do not produce identical behavior: - CBR remains clustered around its target with frequent small variations. - VBR spends far less on simple scenes and increases bitrate only when complexity demands it. - Netflix therefore needed to revisit which nominal VBR bitrates correspond to the quality previously delivered by CBR, rather than assuming the same configured bitrate would provide equivalent results. Netflix’s rollout shows that VBR is more than an encoder setting: it requires coordinated changes to bitrate ladders, capacity reservations, and traffic steering. With those safeguards, VBR can deliver comparable or better quality while using significantly less network capacity.

Read original(opens in new tab)
netflixOriginal article

Netflix Live Origin. Xiaomei Liu, Joseph Lynch, Chris Newton | by Netflix Technology Blog | Dec, 2025 | Netflix TechBlog (opens in new tab)

The Netflix Live Origin is a specialized, multi-tenant microservice designed to bridge the gap between cloud-based live streaming pipelines and the Open Connect content delivery network. By operating as an intelligent broker, it manages content selection across redundant regional pipelines to ensure that only valid, high-quality segments are distributed to client devices. This architecture allows Netflix to achieve high resilience and stream integrity through server-side failover and deterministic segment selection. ### Multi-Pipeline and Multi-Region Awareness * The origin server mitigates common live streaming defects, such as missing segments, timing discontinuities, and short segments containing missing video or audio samples. * It leverages independent, redundant streaming pipelines across different AWS regions to ensure high availability; if one pipeline fails or produces a defective segment, the origin selects a valid candidate from an alternate path. * Implementation of epoch locking at the cloud encoder level allows the origin to interchangeably select segments from various pipelines. * The system uses lightweight media inspection at the packager level to generate metadata, which the origin then uses to perform deterministic candidate selection. ### Stream Distribution and Protocol Integration * The service operates on AWS EC2 instances and utilizes standard HTTP protocol features for communication. * Upstream packagers use HTTP PUT requests to push segments into storage at specific URLs, while the downstream Open Connect network retrieves them via GET requests. * The architecture is optimized for a manifest design that uses segment templates and constant segment durations, which reduces the need for frequent manifest refreshes. ### Open Connect Streaming Optimization * While Netflix’s Open Connect Appliances (OCAs) were originally optimized for VOD, the Live Origin extends nginx proxy-caching functionality to meet live-specific requirements. * OCAs are provided with Live Event Configuration data, including Availability Start Times and initial segment numbers, to determine the legitimate range of segments for an event. * This predictive modeling allows the CDN to reject requests for objects outside the valid range immediately, reducing unnecessary traffic and load on the origin. By decoupling the live streaming pipeline from the distribution network through this specialized origin layer, Netflix can maintain a high level of fault tolerance and stream stability. This approach minimizes client-side complexity by handling failovers and segment selection on the server side, ensuring a seamless experience for viewers of live events.

netflixOriginal article

Behind the Streams: Real-Time Recommendations for Live Events Part 3 | by Netflix Technology Blog | Netflix TechBlog (opens in new tab)

Netflix manages the massive surge of concurrent users during live events by utilizing a hybrid strategy of prefetching and real-time broadcasting to deliver synchronized recommendations. By decoupling data delivery from the live trigger, the system avoids the "thundering herd" effect that would otherwise overwhelm cloud infrastructure during record-breaking broadcasts. This architecture ensures that millions of global devices receive timely updates and visual cues without requiring linear, inefficient scaling of compute resources. ### The Constraint Optimization Problem To maintain a seamless experience, Netflix engineers balance three primary technical constraints: time to update, request throughput, and compute cardinality. * **Time:** The specific duration required to coordinate and push a recommendation update to the entire global fleet. * **Throughput:** The maximum capacity of cloud services to handle incoming requests without service degradation. * **Cardinality:** The variety and complexity of unique requests necessary to serve personalized updates to different user segments. ### Two-Phase Recommendation Delivery The system splits the delivery process into two distinct stages to smooth out traffic spikes and ensure high availability. * **Prefetching Phase:** While members browse the app normally before an event, the system downloads materialized recommendations, metadata, and artwork into the device's local cache. * **Broadcasting Phase:** When the event begins, a low-cardinality "at least once" message is broadcast to all connected devices, triggering them to display the already-cached content instantaneously. * **Traffic Smoothing:** This approach eliminates the need for massive, real-time data fetches at the moment of kickoff, distributing the heavy lifting of data transfer over a longer period. ### Live State Management and UI Synchronization A dedicated Live State Management (LSM) system tracks event schedules in real time to ensure the user interface stays perfectly in sync with the production. * **Dynamic Adjustments:** If a live event is delayed or ends early, the LSM adjusts the broadcast triggers to preserve accuracy and prevent "spoilers" or dead links. * **Visual Cues:** The UI utilizes "Live" badging and dynamic artwork transitions to signal urgency and guide users toward the stream. * **Frictionless Playback:** For members already on a title’s detail page, the system can trigger an automatic transition into the live player the moment the broadcast begins, reducing navigation latency. To support global-scale live events, technical teams should prioritize edge-heavy strategies that pre-position assets on client devices. By shifting from a reactive request-response model to a proactive prefetch-and-trigger model, platforms can maintain high performance and reliability even during the most significant traffic peaks.