002medium
Rate Limiter
Designing a distributed rate limiter end to end — the five algorithms and when each is right, atomic token buckets in Redis, the two-tier local/central hybrid, hot-key sharding, per-route fail-open policy, and multi-region limit slicing.