Designing a Rate Limiter in Python
Implement a sliding-window rate limiter with Redis and FastAPI middleware that enforces 100 requests per minute per API key.
Jan 20, 2025
Read more
Implement a sliding-window rate limiter with Redis and FastAPI middleware that enforces 100 requests per minute per API key.
Diagnose and fix unbounded memory growth in a Python microservice using tracemalloc, replacing an unbounded module-level set with Redis TTL …