-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add and test rate limiting field to Proxy backend collection #1190
Comments
@jykae, will you take this task? We can work together on this. |
@NNN yes, I assign myself. |
Depends #622 |
Rate limits in Umbrella: http://api-umbrella.readthedocs.io/en/latest/api-consumer/rate-limits.html Default limit is 1,000 requests per hour |
Tested default rate limits with disabled API key:
|
When rate limit hits zero, we get HTTP status 429 as stated in documentation:
|
When new custom rate limit (10 requests per hour) is set, it resets the rate limiting counters.
|
Made upstream issue about inconsistency in Umbrella Admin API documentation, NREL/api-umbrella#274 Got working somehow, by guessing & trying. |
@Nazarah: reference API Umbrella UI |
scenario 2 help text: |
@jykae Could you take this task? It's a high priority one and we would like someone who is around in the office. |
(Description updated due to multiproxy development) Rate limiting setting is one of the key settings API owner needs in order to control the traffic to the API. Make sure it works correctly in Apinf - to the extent that API Umbrella supports it. Add the field to the new Proxy Backends collection
Potential user stories
Definition of done
Wireframe
Scenario 1: API owner sets default request rate of API-Umbrella Proxy
Scenario 2: API Owner customizes Request Rate Limits based on API key or specific IP Address. There can be multiple customizations and may vary by durations (seconds/minutes/hours etc.). Owner can select a customized settings as primary.
Scenario 3: API owner sets unlimited API calls
The text was updated successfully, but these errors were encountered: