Skip to content

[Draft] Adding concurrency options to launch command #1560

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

LucindaX
Copy link

@LucindaX LucindaX commented Jul 30, 2025

We've encountered issues while using the launch command to do with the number of requests it's making. Upon inspection of the code, we've figured out that there is no limit on the stack concurrency. As in scepter will run concurrent threads to create the stacks as much as the number of stacks are available in a batch.

Stack concurrency is determined by dependency. In case of stacks that have little to no dependencies, with large number of stacks, that could mean unlimited number of threads running concurrently, which had the adverse affect of bringing down our localstack server used for testing.

We've created a patch to be able to add an option to hard limit concurrency on the launch command. We hope this could be carried over to all relevant commands. We're still new users of sceptre, so we're unfamiliar with what other changes need to be done.

Pending :

  • Adding tests

@LucindaX LucindaX changed the title Adding concurrency options to launch command [Draft] Adding concurrency options to launch command Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant