How Rate Limiting Actually Works
This post goes through all of it. First the idea, then the five algorithms with small examples, then the limits real systems use (Stripe, GitHub, AWS, NGINX), and then the two limiters I run in my own projects, Edward and Agentic Chat, with what is good and what is not.