Autoscaling
Automatic increase or decrease of the number of running service instances based on load.
Why
- To handle peaks without manual intervention;
- To avoid paying for idle capacity during off-peak hours;
- To maintain stable response latency.
How It Works
Monitoring tracks metrics — CPU load, queue length, number of requests. When thresholds are exceeded, new instances are launched; when load drops, excess instances are shut down.
In LLM Inference
For model serving, scaling is important not only by CPU but also by GPU: one GPU serves a limited number of parallel generations.