How It Works
The Fair Scheduler provides dynamic and fair CPU allocation between multiple applications running on the same shared cloud resource. Its main goals are:- Maximum Resource Utilization - When one application is inactive, another can use the unused CPU cycles, increasing overall efficiency
- Starvation Prevention - No application will be completely deprived of CPU access, even under heavy load from others, ensuring basic responsiveness
- Predictable Performance - Maintaining stability and performance for all applications despite competition for limited resources
Example: 0.5 CPU Plan
Consider a namespace with a 0.5 CPU plan running two applications. Both apps have access to the full 0.5 CPU - here’s how the scheduler handles different scenarios:
The key insight: applications can burst to use the full CPU allocation when others don’t need it, but when demand exceeds supply, the scheduler fairly distributes resources.
Learn more
Fair Scheduler deep dive
A visual explainer of how CPU is shared across your apps.
The economics of flat-rate hosting
Why a fixed plan beats per-service billing for always-on apps.

