Add rate limiting to a FastAPI service: a global per-minute limit and a per-endpoint per-second limit, both as fixed windows, rejecting with 429 when either is hit.
Add rate limiting to a FastAPI service: a global per-minute limit and a per-endpoint per-second limit, both as fixed windows, rejecting with 429 when either is hit.
The discussion opens with the full question.