How can I increase the number of simultaneous deployments?

(Ryan Rousseau) #1

If you’re running into a bottleneck with deployment tasks being queued, there are a few options that you can try.

Increase Server Task Cap

The first option to check is your server task cap. This is the number of tasks that the Octopus server will execute at once. This page has instructions on how to change the task cap.

There will be a limit on how many tasks your server can run based on its specs. You’ll have to experiment with the task cap value to see what works best for your server.

High Availability

If you’ve reached the limit of what one Octopus server can handle, you might consider using High Availability mode where multiple server nodes are clustered together. Each node will have its own task cap, increasing the number of tasks that can run simultaneously.

Bypassing the Tentacle Mutex

By default, a tentacle will only run one task at a time. You can change this behavior with a special variable, but this requires caution if your projects will conflict with each other on the same machine.