[Webinar] AI-Powered Personalization with Oracle XStream CDC Connector | Register Now

Presentation

Rule Based Asset Management Workflow Automation at Netflix

« Current 2023

At Netflix, we deal with millions of digital assets every day. Hours of video clips, along with audio, text and image assets are ingested for various purposes. Several workflows are then executed on them; such as inspection, transcoding, editing, logging, etc. These assets can also be used in machine learning workflows, either to train these models, or to get content insights. Not all workflows are applicable to all assets, and some workflows depend on other workflows to run. Additionally, new workflows are introduced regularly, and they need to be executed on existing assets, as well.

We implemented a workflow rule engine that allows users to define rules and conditions to specify the applicable workflows for assets, based on their types, metadata and states. In order to make this system scalable and fault tolerant, we utilize Kafka to send out events on asset state changes (on create, update, workflow completion, etc.) with minimal information in the payload (asset id and version). The rule engine then enriches this payload by fetching additional metadata, evaluates it against the workflow rules, triggers applicable workflows based on the outcome, and monitors their results by listening to the workflow events.

By using a highly available Kafka setup, we can easily scale, handle ETL cases such as migrations, replay messages if needed without impacting asset ingestions.

Related Links

How Confluent Completes Apache Kafka eBook

Leverage a cloud-native service 10x better than Apache Kafka

Confluent Developer Center

Spend less on Kafka with Confluent, come see how