NewTech··9 min
Rate Limiting: The Algorithm Is the Easy Part
Everyone compares token bucket to sliding window and stops there. The decisions that actually determine whether a rate limiter works are what you key it on, whether your Retry-After header is quietly scheduling a thundering herd, and whether a client that gets a 429 can safely retry at all.
api designrate limitingbackend