Entertainer.newsEntertainer.news
  • Home
  • Celebrity
  • Movies
  • Music
  • Web Series
  • Podcast
  • OTT
  • Television
  • Interviews
  • Awards

Subscribe to Updates

Get the latest Entertainment News and Updates from Entertainer News

What's Hot

Footballer Michael Ballack tearfully breaks his silence 5 years after the tragic death of his son Emilio, 18

March 6, 2026

How To Change Your Appearance

March 6, 2026

Is ‘Grey’s Anatomy’ Setting Up Jules Millin’s Departure Next? (VIDEO)

March 6, 2026
Facebook Twitter Instagram
Friday, March 6
  • About us
  • Advertise with us
  • Submit Articles
  • Privacy Policy
  • Contact us
Facebook Twitter Tumblr LinkedIn
Entertainer.newsEntertainer.news
Subscribe Login
  • Home
  • Celebrity
  • Movies
  • Music
  • Web Series
  • Podcast
  • OTT
  • Television
  • Interviews
  • Awards
Entertainer.newsEntertainer.news
Home Rebuilding Netflix Video Processing Pipeline with Microservices | by Netflix Technology Blog | Jan, 2024
Web Series

Rebuilding Netflix Video Processing Pipeline with Microservices | by Netflix Technology Blog | Jan, 2024

Team EntertainerBy Team EntertainerJanuary 10, 2024Updated:January 11, 2024No Comments10 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr WhatsApp VKontakte Email
Rebuilding Netflix Video Processing Pipeline with Microservices | by Netflix Technology Blog | Jan, 2024
Share
Facebook Twitter LinkedIn Pinterest Email


Netflix Technology Blog
Netflix TechBlog

Liwei Guo, Anush Moorthy, Li-Heng Chen, Vinicius Carvalho, Aditya Mavlankar, Agata Opalach, Adithya Prakash, Kyle Swanson, Jessica Tweneboah, Subbu Venkatrav, Lishan Zhu

That is the primary weblog in a multi-part sequence on how Netflix rebuilt its video processing pipeline with microservices, so we will preserve our speedy tempo of innovation and constantly enhance the system for member streaming and studio operations. This introductory weblog focuses on an outline of our journey. Future blogs will present deeper dives into every service, sharing insights and classes realized from this course of.

The Netflix video processing pipeline went reside with the launch of our streaming service in 2007. Since then, the video pipeline has undergone substantial enhancements and broad expansions:

  • Beginning with Commonplace Dynamic Vary (SDR) at Commonplace-Definitions, we expanded the encoding pipeline to 4K and Excessive Dynamic Vary (HDR) which enabled assist for our premium providing.
  • We moved from centralized linear encoding to distributed chunk-based encoding. This structure shift drastically decreased the processing latency and elevated system resiliency.
  • Shifting away from using devoted cases that have been constrained in amount, we tapped into Netflix’s inner trough created because of autoscaling microservices, resulting in important enhancements in computation elasticity in addition to useful resource utilization effectivity.
  • We rolled out encoding improvements similar to per-title and per-shot optimizations, which supplied important quality-of-experience (QoE) enchancment to Netflix members.
  • By integrating with studio content material techniques, we enabled the pipeline to leverage wealthy metadata from the inventive facet and create extra partaking member experiences like interactive storytelling.
  • We expanded pipeline assist to serve our studio/content-development use instances, which had totally different latency and resiliency necessities as in comparison with the standard streaming use case.

Our expertise of the final decade-and-a-half has bolstered our conviction that an environment friendly, versatile video processing pipeline that permits us to innovate and assist our streaming service, in addition to our studio companions, is essential to the continued success of Netflix. To that finish, the Video and Picture Encoding group in Encoding Applied sciences (ET) has spent the previous few years rebuilding the video processing pipeline on our next-generation microservice-based computing platform Cosmos.

Reloaded

Beginning in 2014, we developed and operated the video processing pipeline on our third-generation platform Reloaded. Reloaded was well-architected, offering good stability, scalability, and an inexpensive stage of flexibility. It served as the inspiration for quite a few encoding improvements developed by our group.

When Reloaded was designed, we targeted on a single use case: changing high-quality media information (also called mezzanines) obtained from studios into compressed belongings for Netflix streaming. Reloaded was created as a single monolithic system, the place builders from numerous media groups in ET and our platform associate group Content material Infrastructure and Options (CIS)¹ labored on the identical codebase, constructing a single system that dealt with all media belongings. Through the years, the system expanded to assist numerous new use instances. This led to a big improve in system complexity, and the restrictions of Reloaded started to point out:

  • Coupled performance: Reloaded was composed of quite a few employee modules and an orchestration module. The setup of a brand new Reloaded module and its integration with the orchestration required a non-trivial quantity of effort, which led to a bias in direction of augmentation moderately than creation when growing new functionalities. For instance, in Reloaded the video high quality calculation was carried out contained in the video encoder module. With this implementation, it was extraordinarily troublesome to recalculate video high quality with out re-encoding.
  • Monolithic construction: Since Reloaded modules have been typically co-located in the identical repository, it was simple to miss code-isolation guidelines and there was fairly a little bit of unintended reuse of code throughout what ought to have been sturdy boundaries. Such reuse created tight coupling and decreased growth velocity. The tight coupling amongst modules additional pressured us to deploy all modules collectively.
  • Lengthy launch cycles: The joint deployment meant that there was elevated concern of unintended manufacturing outages as debugging and rollback may be troublesome for a deployment of this dimension. This drove the method of the “launch prepare”. Each two weeks, a “snapshot” of all modules was taken, and promoted to be a “launch candidate”. This launch candidate then went by way of exhaustive testing which tried to cowl as giant a floor space as potential. This testing stage took about two weeks. Thus, relying on when the code change was merged, it may take anyplace between two and 4 weeks to succeed in manufacturing.

As time progressed and functionalities grew, the speed of recent function contributions in Reloaded dropped. A number of promising concepts have been deserted owing to the outsized work wanted to beat architectural limitations. The platform that had as soon as served us effectively was now changing into a drag on growth.

Cosmos

As a response, in 2018 the CIS and ET groups began growing the next-generation platform, Cosmos. Along with the scalability and the steadiness that the builders already loved in Reloaded, Cosmos aimed to considerably improve system flexibility and have growth velocity. To attain this, Cosmos was developed as a computing platform for workflow-driven, media-centric microservices.

The microservice structure supplies sturdy decoupling between providers. Per-microservice workflow assist eases the burden of implementing advanced media workflow logic. Lastly, related abstractions permit media algorithm builders to deal with the manipulation of video and audio indicators moderately than on infrastructural issues. A complete record of advantages supplied by Cosmos may be discovered within the linked weblog.

Service Boundaries

Within the microservice structure, a system consists of quite a few fine-grained providers, with every service specializing in a single performance. So the primary (and arguably a very powerful) factor is to determine boundaries and outline providers.

In our pipeline, as media belongings journey by way of creation to ingest to supply, they undergo quite a few processing steps similar to analyses and transformations. We analyzed these processing steps to determine “boundaries” and grouped them into totally different domains, which in flip grew to become the constructing blocks of the microservices we engineered.

For instance, in Reloaded, the video encoding module bundles 5 steps:

1. divide the enter video into small chunks

2. encode every chunk independently

3. calculate the standard rating (VMAF) of every chunk

4. assemble all of the encoded chunks right into a single encoded video

5. combination high quality scores from all chunks

From a system perspective, the assembled encoded video is of main concern whereas the inner chunking and separate chunk encodings exist so as to fulfill sure latency and resiliency necessities. Additional, as alluded to above, the video high quality calculation supplies a very separate performance as in comparison with the encoding service.

Thus, in Cosmos, we created two impartial microservices: Video Encoding Service (VES) and Video High quality Service (VQS), every of which serves a transparent, decoupled operate. As implementation particulars, the chunked encoding and the assembling have been abstracted away into the VES.

Video Providers

The method outlined above was utilized to the remainder of the video processing pipeline to determine functionalities and therefore service boundaries, resulting in the creation of the next video services².

  1. Video Inspection Service (VIS): This service takes a mezzanine because the enter and performs numerous inspections. It extracts metadata from totally different layers of the mezzanine for downstream providers. As well as, the inspection service flags points if invalid or surprising metadata is noticed and supplies actionable suggestions to the upstream group.
  2. Complexity Evaluation Service (CAS): The optimum encoding recipe is very content-dependent. This service takes a mezzanine because the enter and performs evaluation to know the content material complexity. It calls Video Encoding Service for pre-encoding and Video High quality Service for high quality analysis. The outcomes are saved to a database to allow them to be reused.
  3. Ladder Technology Service (LGS): This service creates a whole bitrate ladder for a given encoding household (H.264, AV1, and many others.). It fetches the complexity knowledge from CAS and runs the optimization algorithm to create encoding recipes. The CAS and LGS cowl a lot of the improvements that now we have beforehand introduced in our tech blogs (per-title, cell encodes, per-shot, optimized 4K encoding, and many others.). By wrapping ladder era right into a separate microservice (LGS), we decouple the ladder optimization algorithms from the creation and administration of complexity evaluation knowledge (which resides in CAS). We count on this to provide us higher freedom for experimentation and a quicker fee of innovation.
  4. Video Encoding Service (VES): This service takes a mezzanine and an encoding recipe and creates an encoded video. The recipe contains the specified encoding format and properties of the output, similar to decision, bitrate, and many others. The service additionally supplies choices that permit fine-tuning latency, throughput, and many others., relying on the use case.
  5. Video Validation Service (VVS): This service takes an encoded video and a listing of expectations concerning the encode. These expectations embrace attributes specified within the encoding recipe in addition to conformance necessities from the codec specification. VVS analyzes the encoded video and compares the outcomes in opposition to the indicated expectations. Any discrepancy is flagged within the response to alert the caller.
  6. Video High quality Service (VQS): This service takes the mezzanine and the encoded video as enter, and calculates the standard rating (VMAF) of the encoded video.

Service Orchestration

Every video service supplies a devoted performance they usually work collectively to generate the wanted video belongings. At present, the 2 foremost use instances of the Netflix video pipeline are producing belongings for member streaming and for studio operations. For every use case, we created a devoted workflow orchestrator so the service orchestration may be personalized to finest meet the corresponding enterprise wants.

For the streaming use case, the generated movies are deployed to our content material supply community (CDN) for Netflix members to eat. These movies can simply be watched tens of millions of occasions. The Streaming Workflow Orchestrator makes use of nearly all video providers to create streams for an impeccable member expertise. It leverages VIS to detect and reject non-conformant or low-quality mezzanines, invokes LGS for encoding recipe optimization, encodes video utilizing VES, and calls VQS for high quality measurement the place the standard knowledge is additional fed to Netflix’s knowledge pipeline for analytics and monitoring functions. Along with video providers, the Streaming Workflow Orchestrator makes use of audio and timed textual content providers to generate audio and textual content belongings, and packaging providers to “containerize” belongings for streaming.

For the studio use case, some instance video belongings are advertising clips and each day manufacturing editorial proxies. The requests from the studio facet are typically latency-sensitive. For instance, somebody from the manufacturing group could also be ready for the video to assessment to allow them to resolve the taking pictures plan for the subsequent day. Due to this, the Studio Workflow Orchestrator optimizes for quick turnaround and focuses on core media processing providers. At the moment, the Studio Workflow Orchestrator calls VIS to extract metadata of the ingested belongings and calls VES with predefined recipes. In comparison with member streaming, studio operations have totally different and distinctive necessities for video processing. Due to this fact, the Studio Workflow Orchestrator is the unique person of some encoding options like forensic watermarking and timecode/textual content burn-in.



Source link

Blog Jan Microservices Netflix pipeline processing Rebuilding Technology VIDEO
Share. Facebook Twitter Pinterest LinkedIn Tumblr WhatsApp Email
Previous ArticleHow to Watch ESPN Deportes Online Without Cable – Billboard
Next Article Ferrari
Team Entertainer
  • Website

Related Posts

Is ‘Grey’s Anatomy’ Setting Up Jules Millin’s Departure Next? (VIDEO)

March 6, 2026

LITTLE HOUSE ON THE PRAIRIE Series Renewed for Season 2 at Netflix Ahead of the Season 1 Premiere — GeekTyrant

March 4, 2026

Optimizing Recommendation Systems with JDK’s Vector API | by Netflix Technology Blog | Mar, 2026

March 3, 2026

Stellan Skarsgård Video Interview On ‘Sentimental Value’, Oscars And More

March 2, 2026
Recent Posts
  • Footballer Michael Ballack tearfully breaks his silence 5 years after the tragic death of his son Emilio, 18
  • How To Change Your Appearance
  • Is ‘Grey’s Anatomy’ Setting Up Jules Millin’s Departure Next? (VIDEO)
  • DJ Mac “WYFL” Riddim Interview: ‘Manifestation Is Real’

Archives

  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021

Categories

  • Actress
  • Awards
  • Behind the Camera
  • BollyBuzz
  • Celebrity
  • Edit Picks
  • Glam & Style
  • Global Bollywood
  • In the Frame
  • Insta Inspector
  • Interviews
  • Movies
  • Music
  • News
  • News & Gossip
  • News & Gossips
  • OTT
  • Podcast
  • Power & Purpose
  • Press Release
  • Spotlight Stories
  • Spotted!
  • Star Luxe
  • Television
  • Trending
  • Uncategorized
  • Web Series
NAVIGATION
  • About us
  • Advertise with us
  • Submit Articles
  • Privacy Policy
  • Contact us
  • About us
  • Disclaimer
  • Privacy Policy
  • DMCA
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact us
Copyright © 2026 Entertainer.

Type above and press Enter to search. Press Esc to cancel.

Sign In or Register

Welcome Back!

Login to your account below.

Lost password?