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

Config sync hits some amazon limit #254

Open
chris-olszewski opened this issue Jun 13, 2017 · 5 comments
Open

Config sync hits some amazon limit #254

chris-olszewski opened this issue Jun 13, 2017 · 5 comments
Labels
Milestone

Comments

@chris-olszewski
Copy link
Contributor

I have a project with 12 functions and I get a TooManyRequestsException: Rate exceeded on a bunch of the Lambda API calls. Easy fix is to turn down the concurrency on the Promise.map call.

@chris-olszewski chris-olszewski added this to the 4.0 milestone Jun 13, 2017
@chris-olszewski
Copy link
Contributor Author

From amazon:

- Describe actions, such as ListAliases, ListFunctions etc -- these functions simply retrieve cached data, so they have the highest retry limits.
- Modify actions, such as CreateFunction, CreateAlias, etc -- these functions create or modify resources so they have a lower request limit than describe actions.

They suggested to implement retry exponential retry behavior like this

@reconbot
Copy link
Contributor

reconbot commented Jun 14, 2017 via email

@chris-olszewski
Copy link
Contributor Author

I've been playing around with maxRetries and retryDelayOptions in AWS.config seems to help slightly docs. I can get the concurrency up to 3 without errors now (up from 2), but this requires fairly insane backoff options of allowing 10 retries with each retry being delayed one second per retry attempt. This actually slows down the sync.

@reconbot
Copy link
Contributor

What about no concurrency? Since this is probably account wide and not per user we might want to be conservative.

@ndastur
Copy link

ndastur commented Mar 31, 2018

Hi guys, is there a fix for this. Bit of a blocker for shep if maximum number of functions is limited to 10 or so??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants