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 #13

Merged
merged 2 commits into from
Nov 12, 2024

Conversation

akumar1214
Copy link
Collaborator

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 d6a04f1 to 303f029 Compare October 31, 2024 18:19
…a instead of updating the concurrency on the ESM
@akumar1214 akumar1214 force-pushed the akumar/autoscaler-tune-lambda-concurrency branch from 303f029 to e032ddc Compare November 6, 2024 00:46
@akumar1214 akumar1214 merged commit 81c3701 into main Nov 12, 2024
10 checks passed
@akumar1214 akumar1214 deleted the akumar/autoscaler-tune-lambda-concurrency branch November 12, 2024 19:49
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.

2 participants