Distributed Rate Limiter – Production-Ready Token Bucket Implementation
Posted3 months ago
github.comTechstory
supportivepositive
Debate
0/100
Rate LimitingDistributed SystemsOpen-Source
Key topics
Rate Limiting
Distributed Systems
Open-Source
A production-ready distributed rate limiter implementation is shared on GitHub, with the community showing interest and support.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
N/A
Peak period
1
Start
Avg / period
1
Key moments
- 01Story posted
Oct 10, 2025 at 12:48 PM EDT
3 months ago
Step 01 - 02First comment
Oct 10, 2025 at 12:48 PM EDT
0s after posting
Step 02 - 03Peak activity
1 comments in Start
Hottest window of the conversation
Step 03 - 04Latest activity
Oct 10, 2025 at 12:48 PM EDT
3 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45540986Type: storyLast synced: 11/20/2025, 5:30:06 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
Key characteristics: - 50,000+ RPS with <2ms P95 latency - Redis-backed token bucket algorithm with atomic Lua scripts - 18 REST endpoints for management, monitoring, and benchmarking - Automatic failover to in-memory backend (fail-open strategy) - Per-key and pattern-based configuration (user:, api:premium:)
What makes it different from existing solutions: - Production-first approach (complete K8s manifests, monitoring, runbooks) - Built-in load testing and performance regression detection - Comprehensive client examples in 5 languages - 265+ tests including concurrent and integration testing - Operational simplicity (single JAR, Docker, or K8s deployment)
The project documents architectural decisions in ADR format and includes everything needed for production deployment. MIT licensed.
Technical details and performance benchmarks in the README.
GitHub: https://github.com/uppnrise/distributed-rate-limiter