What is Rate Limiting?

Rate limiting controls how many requests a client can make to an API or service within a given time window. It prevents abuse, ensures fair usage, and protects backend resources from being overwhelmed. Think of it as a bouncer at a club: only a certain number of people get in per minute.

Why You Need It

Without rate limiting, a single misbehaving client can degrade performance for everyone. Common scenarios:

A buggy client sends thousands of requests per second.