Four ways to say no.
Each algorithm below enforces the same limit differently, and the shape of its available quota gives it away. Send some traffic and watch. Everything runs in this page — the production version is a FastAPI service with concurrency-safe Redis or in-memory storage, over here.
Available quota
Last 30 seconds
0sent
0allowed
0rejected
0%rejection rate
available quota
allowed
rejected · 429
| time | outcome | quota left |
|---|
How each one decides
Same traffic, four different rules.