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 1 instance. You cannot scale a process to 0.
  • SQLite & Backups: If you use Litestream backups, the web process 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.