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

[indexer_autoscaler_lambda] tune Lambda reserved concurrency instead of ESM concurrency #7

Conversation

akumar1214
Copy link
Collaborator

@akumar1214 akumar1214 commented Oct 29, 2024

Since we're hard limited to a maximum concurrency of 1000 on the event source mapping but not on the reserved concurrency on the Lambda itself, this updates the autoscaler to tune the reserved concurrency on the Lambda instead of the concurrency on the ESM.

This also adds a maximum concurrency value since now it's possible for the max to be over 1000, as set by the client.

How tested?

  • test in a production instance during a live backfill which scaled above 1000 and didn't go over the set maximum of 2500

@akumar1214 akumar1214 force-pushed the akumar/autoscaler-tune-lambda-concurrency branch from ebabcf7 to 6fda08f Compare October 29, 2024 23:30
…a instead of updating the concurrency on the ESM
@akumar1214 akumar1214 force-pushed the akumar/autoscaler-tune-lambda-concurrency branch from 6fda08f to 31737fb Compare October 30, 2024 17:09
@akumar1214 akumar1214 closed this Oct 31, 2024
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