1 comments

  • uppnrise 3 days ago ago

    Hi HN! Just released v1.2.0 of a distributed rate limiting service I've been building.

    Key features:

    • 5 rate limiting algorithms (Token Bucket, Sliding Window, Fixed Window, Leaky Bucket, Composite) • Redis backend for distributed state with atomic operations • New Web Dashboard for real-time monitoring • Geographic rate limiting with CDN support • REST API with 18 endpoints

    Performance: 50K+ req/s, P95 < 2ms, ~100MB for 1M buckets

    Built with Java 21 + Spring Boot. Includes comprehensive docs, client examples (Java/Python/Node/Go), Kubernetes manifests, and 265+ tests.

    The Composite Rate Limiter is particularly interesting - it lets you combine multiple algorithms (e.g., API call limits + bandwidth limits) with configurable logic (AND, OR, weighted average, etc.).

    Would love feedback on the implementation!