ECS Probe - Rate Limit #2844
Labels
chore
Related to fix/refinement/improvement of end user or new/existing developer functionality
ecs
Pertains to integration with Amazon Elastic Container Service
help-wanted
An issue that would be good for non-maintainers to attempt
I think scope is polling ECS too often and this could trigger rate limiting issues. Unfortunately, I could not find the exact rate for ECS, but I had problems with that API already in the past when implementing some event based actions.
If you have many failed task which keeps polling from ECS instead of cache at the current rate, times the number of nodes in the cluster in a cluster with 4+ nodes I have experienced hitting the rate limit with rotating tasks or similar
As a suggestion scope could cache the failed hit count and if it reaches X stop polling for some time.
The text was updated successfully, but these errors were encountered: