Skip to content
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

How to set the max number of concurrent Lambda executions? #264

Open
moltar opened this issue May 15, 2022 · 0 comments
Open

How to set the max number of concurrent Lambda executions? #264

moltar opened this issue May 15, 2022 · 0 comments

Comments

@moltar
Copy link

moltar commented May 15, 2022

https://github.com/cdk-patterns/serverless/blob/main/the-scalable-webhook/README.md

Now we have our messages in a queue but we need to subscribe to the queue and insert the records into the DB. To do this we create a throttled lambda where we set the max number of concurrent executions to whatever scale we are happy with. This should be less than the max connections on our DB and should take into account any other Lambdas running in this account.

How does one achieve that?

Thanks

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

No branches or pull requests

1 participant