mediumStudy question · answer published in REST API interview questions, so no pointsrate-limitingapi-design
Token bucket rate limiter
You rate-limit an API with a token bucket: capacity 10 tokens, refilled at 1 token per second. A client has been idle for a minute and then sends 15 requests at once. What happens?
Discussion 0
Join free to post in the discussion.
Related questions
- Status code for too many requestsBackend Developer
- Response for a successful DELETEBackend Developer
- A product page removed for goodBackend Developer
- Signing up with a taken usernameBackend Developer
- Calling DELETE on a read-only routeBackend Developer
- A client posts XML to a JSON APIBackend Developer
- URL for one productBackend Developer
- Telling the client where the new item livesBackend Developer