Show HN: Distributed Rate Limiter – 50K+ RPS, Redis-Backed, Production-Ready

Hi HN! I built a distributed rate limiter using the token bucket algorithm with Redis backing.

Key highlights: • 50,000+ requests/second throughput with <2ms P95 latency • Redis-backed distributed state for multi-instance deployments • 18 REST API endpoints for rate limiting, config, and monitoring • 265+ tests including load tests and integration tests • Docker/Kubernetes ready with comprehensive documentation

Built with Java 21 + Spring Boot. Perfect for protecting APIs, microservices, or SaaS platforms from abuse.

The pain point I solved: existing solutions were either too simple (in-memory only) or too complex (enterprise-only). This fills the gap with a production-ready, easy-to-deploy solution.

Try it: Download the JAR, start Redis, and you're rate limiting in 30 seconds.

Would love feedback on the API design and performance characteristics!

GitHub: https://github.com/uppnrise/distributed-rate-limiter

URL: github.com
0 comments