Best practice for handling rate limits #39
Unanswered
iserialize
asked this question in
Q&A
Replies: 1 comment
-
With some testing, i think one of the issues may be that if i run the routine couple of times, the rate limit counter hasnt reset on the api hence subsequent runs will have less of a runway to run on. Any recommendations on how to best deal with this scenario? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have bit of code which i have added aiometer. What iam trying to understand is how best to optimize it to get the maximum performance. The API iam calling has a rate limit of 300 requests per minute hence setting the max_per_second to 5 (if i understand this correctly) should be within the limits however, i hit 429's even then. My code is below:
Any feedback would be helpful.
Beta Was this translation helpful? Give feedback.
All reactions