Vertical Scaler
Overview
The Vertical Scaler is an automatic resource allocation algorithm that dynamically adjusts the number of workers for applications based on their Event Loop Utilization (ELU) metrics. It intelligently balances computational resources across multiple applications while respecting system constraints.
How It Works
Event Loop Utilization (ELU)
The algorithm uses ELU as its primary health metric. ELU measures how busy the Node.js event loop is:
- 0.0 = Event loop is completely idle
- 1.0 = Event loop is fully saturated
ELU values are collected continuously from all workers and averaged over a configurable time window to smooth out temporary spikes and make stable scaling decisions.