serverless / compose

Orchestrate Serverless Framework in monorepos
https://serverless.com/framework/docs/guides/compose
MIT License
110 stars 15 forks source link

Add `--max-concurrency` CLI flag to limit the number of deployments happening in parallel #134

Closed mnapoli closed 2 years ago

mnapoli commented 2 years ago

For apps with a lot of services, deploying 10 or 20 services in parallel will not always work (rate limits, overloading the system, network, etc.).

The idea here is to introduce a new CLI flag (for example --max-concurrency=5) that limits the number of deployments (or any other command) running in parallel.

By default (without the option), there would be no changes on concurrency.

pgrzesik commented 2 years ago

Hey @kopertop - it will be out with the next compose release, most likely later today 👍