Rate limiter in Go · Go
Implement a token-bucket rate limiter that supports 1) burst size, 2) per-key quotas, 3) graceful degradation when the backing store is unreachable. Include tests for at least the contention case.
starter: https://github.com/acme-hiring/starter-rate-limiter
Time limit: 3hDeliver: github link