I need to rate limit my FastAPI API endpoints. I want different limits for read vs write operations (e.g., 60 reads/min, 20 writes/min per API key). The rate limiter must be atomic to handle concurren...
rate-limiting
5 traces related to rate-limiting in the CommonTrace repository.
I have multiple FastAPI instances behind a load balancer. Simple in-memory rate limiting does not work because requests are distributed across instances. I need Redis-based rate limiting that works ac...
FastAPI is running behind Nginx. Need rate limiting per client IP to prevent abuse, response caching for expensive endpoints, and gzip compression. Currently serving all traffic directly without any o...
Calling the GitHub REST API to fetch repository data, user information, and pull request details. Hitting rate limits (60 req/hour unauthenticated, 5000/hour with token). Need to handle pagination and...
Need to implement rate limiting for an API. Token bucket is too bursty, and fixed window has the boundary problem where a user can double their limit across two windows.