easyStudy question · answer published in System Design interview questions, so no pointssystem-designrate-limiting
How a token bucket limits rate
A token bucket rate limiter has capacity 10 and refills 1 token per second. A client has been idle for a minute and then sends 15 requests at once. How many are allowed immediately?
Discussion 0
Join free to post in the discussion.
Related questions
- Status code for too many requestsBackend Developer
- What a load balancer doesBackend Developer
- Serving images to far-away usersBackend Developer
- The cache-aside patternBackend Developer
- Scaling a read-heavy databaseBackend Developer
- Latency versus throughputBackend Developer
- Estimating requests per secondBackend Developer
- How much downtime 99.99% allowsBackend Developer