Netflix is transitioning its extensive streaming job infrastructure to the open-source Apache Flink Autoscaler. This move impacts more than 30,000 streaming jobs operating across multiple AWS regions. The decision follows an evaluation of their previous cluster-level autoscaling method, which proved less effective for complex, stateful data pipelines.
Since 2017, Netflix has utilized Apache Flink, developing its initial autoscaler around 2019. This system used cluster-level telemetry to adjust the total number of TaskManagers, achieving a 25% to 45% reduction in resource usage. However, its limitation was scaling at the cluster level, meaning all operators within a job shared the same scaling decision. This approach was not ideal for stateful pipelines with diverse processing needs across different operators.
The Apache Flink Autoscaler addresses this by estimating each operator's true processing rate from throughput and busy time, then calculating required parallelism for individual vertices. This method is detailed in FLIP-271, which focuses on autoscaling for heterogeneous streaming jobs. One Netflix team reported a 58% reduction in annualized Flink compute expenditure, resulting in approximately $1.1 million in annual savings.
Netflix integrated the new autoscaler with its internal control plane, rather than deploying it via the Flink Kubernetes Operator. This integration involved using a Spring Boot service with Temporal workflows to manage autoscaling decisions for individual jobs. Additionally, Netflix modified JobManager metric collection to support jobs with up to 3,000 subtasks, added server-side metric filtering, preserved forward connected subgraphs during scaling, and incorporated handling for sink backpressure.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Netflix is migrating over 30,000 streaming jobs to the open-source Apache Flink Autoscaler, moving away from its previous cluster-level autoscaling solution. This change addresses limitations in handling complex, stateful pipelines with varied operator processing requirements, leading to significant cost reductions.