Scaling
Scale your application processes up or down to meet demand.
slasha scale
Set the number of running containers for any process defined in your Procfile (e.g., web, worker).
# Scale the web process to 2 instances
slasha scale web=2
# Scale multiple processes at once
slasha scale web=3 worker=2
Scaling Rules:
- Minimum Count: Every process must have at least
1instance. You cannot scale a process to0. - SQLite & Backups: If you use Litestream backups, the
webprocess is locked to 1 instance to protect your database.
Scaling happens instantly on your latest active deployment. Slasha will start or stop containers and update the load balancer automatically.