-
Notifications
You must be signed in to change notification settings - Fork 21
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
Handling for Rate Limiter errors - Too many requests
#71
Comments
|
|
Maybe I'm missing something obvious, but is there a reason to implement this on a per-service level, instead of just putting it in the base class? |
Per-service level implementation was a temporary solution to get the integration tests working. #90 aims to enable users to choose and handle the retry for common use cases. Implementing it in the |
I think many consumers of the API won't be thinking about retry handling, so even if we expose methods and tools to enable it they may not use them. Also, I think the situation where a user specifically wants to not retry (especially on 429s) is by far less common. Given these two things, I think building this into the base class as the default behavior (with the capability to disable) would be an ideal scenario and make more users successful. I'm happy to do said implementation if others are onboard with the idea. |
That is a valid point, I am good with implementing a default retry behavior in |
SystemLink Enterprise's services implement rate limiters to limit the client's requests per second. Whenever a client crosses the rate limiter, the client experiences
Too many requests
error. Currently, the clients do not have any support for a back-off-retry mechanism to simplify the usage.The text was updated successfully, but these errors were encountered: