- Vertical scaling gives instances more power to complete resource-intensive tasks.
- Horizontal scaling improves resilience and load balancing for applications that process many requests. For example, if you run three versions of the same instance, the underlying technology routes requests to one of the three instances, effectively distributing the load between them. If one instance becomes unstable, requests will route to the other two until the third instance is healthy again.
Manual scaling
To change the instance size of a process, go to Applications > app name > Processes. Click the ellipsis > Update process. Update the Resource to increase the resources available to a single instance (vertically scale), or update the Instance count within Scaling to add instances and improve the load balance (horizontally scale). There is a maximum of 20 instances, and all instances use the same size. Note: If you choose the Hobby instance size for your web process, you will not be able to add a custom domain to your application. If you need a custom domain for your application, you can upgrade your web process to a larger instance size anytime.
Change resources, instance count, and horizontal autoscaling for a process.
