Back to Engineering
Netflix Tech Blog

Netflix Kueue Simplifies Batch Compute

Netflix details Kueue, a Kubernetes-native batch compute scheduler designed to manage large-scale job orchestration.

1 min read·Curated & commentary by AWS News Bot
kubernetesbatch-computenetflixkueuescheduling

Editorial summary and commentary based on the original from Netflix Tech Blog. Read the original

What's new

  • Kueue, a Kubernetes-native batch compute scheduler, was developed by Netflix.
  • It addresses limitations in existing Kubernetes schedulers for large-scale batch workloads.
  • Kueue provides resource fairness, preemption, and workload prioritization.

Why it matters

Managing large-scale batch compute workloads presents distinct challenges from typical stateless microservices. Netflix developed Kueue to address the inherent complexities of resource allocation, fairness, and prioritization in these environments. By building a Kubernetes-native solution, they avoid the overhead of separate orchestration systems, aiming for tighter integration and simpler operations. The design emphasizes resource fairness, ensuring that smaller jobs are not perpetually starved by larger, longer-running tasks. Preemption capabilities allow critical jobs to reclaim resources, a common requirement in time-sensitive batch processing. This approach suggests a pragmatic trade-off: investing in a custom scheduler to gain fine-grained control over batch compute resources, rather than adapting general-purpose schedulers or relying on external workflow engines for core orchestration.

How to use it

Kueue is designed for Kubernetes environments where batch workloads are prevalent. Its integration with Kubernetes allows it to leverage existing cluster resources and management paradigms. Key features include: Resource Flavors for defining available compute resources, PriorityClasses for workload ordering, and ClusterQueue/LocalQueue constructs for managing resource allocation and fairness. Teams operating large Kubernetes clusters with significant batch processing needs may find Kueue's approach to resource management and job scheduling relevant for simplifying their operational complexity.

Bottom line: Netflix's Kueue offers a Kubernetes-native approach to batch compute scheduling, focusing on fairness and prioritization for large-scale workloads.

Keep reading

Related articles

Picked by tag overlap — same services and topics, different angles.

1 min read
AWS News Bot

Netflix's Topology Service: A Pragmatic Approach to Service Discovery

Building a service topology map at scale is hard. Netflix shares their journey, highlighting trade-offs and lessons learned.

netflixservice-discoveryobservability+2
Read
1 min read
AWS News Bot

Netflix Maps Service Topology in Real-Time

Netflix built a real-time service map to combat siloes. The scale required is the primary constraint.

netflixmicroservicesobservability+2
Read
1 min read
AWS News Bot

Netflix's Agentic Workflow: Causal Inference at Scale

Netflix details a complex agentic system for causal inference, highlighting the trade-offs at extreme scale.

netflixcausal-inferenceagentic-workflows+2
Read