Skip to content

Add per-IP rate limiting to gateway via Zuul pre-filter - #100

Open
Ikram-4 wants to merge 1 commit into
sqshq:masterfrom
Ikram-4:rate-limiter
Open

Add per-IP rate limiting to gateway via Zuul pre-filter#100
Ikram-4 wants to merge 1 commit into
sqshq:masterfrom
Ikram-4:rate-limiter

Conversation

@Ikram-4

@Ikram-4 Ikram-4 commented May 31, 2026

Copy link
Copy Markdown
  • TokenBucketRateLimiter: in-memory token bucket per client IP
  • RateLimitZuulFilter: rejects POST /accounts/** with 429 when rate exceeds configured thresholds
  • RateLimitProperties: configurable capacity, refill rate, idle cleanup (default: 20 burst / 5 req per second)
  • Config: enabled by default in shared/gateway.yml, toggle with ratelimit.enabled=false

- TokenBucketRateLimiter: in-memory token bucket per client IP
- RateLimitZuulFilter: rejects POST /accounts/** with 429 when
  rate exceeds configured thresholds
- RateLimitProperties: configurable capacity, refill rate, idle
  cleanup (default: 20 burst / 5 req per second)
- Config: enabled by default in shared/gateway.yml, toggle with
  ratelimit.enabled=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant