Skip to main content

Scaling

Auto-scaling Configuration​

runtime:
scaling:
enabled: true
min_replicas: 2
max_replicas: 50
target_cpu: 70
target_memory: 80
scale_up_cooldown: 60
scale_down_cooldown: 300
`

## Scaling Metrics

| Metric | Description |
|--------|-------------|
| **CPU Utilization** | Average CPU usage across executors |
| **Memory Usage** | Memory consumption percentage |
| **Queue Depth** | Number of pending tasks |
| **Data Volume** | Input data size |

## See Also

- [Resource Management](/docs/runtime/resource-management)
- [Caching](/docs/runtime/caching)