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

Limit the concurrency of AWS calls to avoid throttling #12

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

Conversation

KensoDev
Copy link

This problem is probably exposed only at our scale but I think it's a fairly reasonable feature to add anyway.

We have 12 clusters, each cluster has between 6-45 services.

Since the call to DescribeService can only accept 10 items, it needs to be called many times over in order to describe all of our services.

We keep getting throttled by Amazon saying and failing both the exporter and other perhaps more important parts of our system.

Allowing a limit in the channel concurrency will make the calls block until other calls return and remove the actual throttling since the system won't be calling AWS api so many times.

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