Skip to content

Limit the concurrency of AWS calls to avoid throttling#12

Open
KensoDev wants to merge 2 commits into
slok:masterfrom
KensoDev:feature/limit-calls
Open

Limit the concurrency of AWS calls to avoid throttling#12
KensoDev wants to merge 2 commits into
slok:masterfrom
KensoDev:feature/limit-calls

Conversation

@KensoDev

Copy link
Copy Markdown

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