Skip to content

Implement rate limiting per user and per API key #424

@Smartdevs17

Description

@Smartdevs17

Description

No rate limiting exists making the API vulnerable to abuse. Implement distributed rate limiting with per-user and per-key counters.

Acceptance Criteria

  • Sliding window rate limiter using Redis
  • Per-API-key and per-user rate limits
  • Tier-based limits (free, pro, enterprise)
  • Rate limit headers (X-RateLimit-Remaining, X-RateLimit-Reset)
  • Graceful 429 with Retry-After
  • Rate limit analytics dashboard

Technical Scope

  • backend/services/
  • src/middleware/
  • Edge: distributed counter accuracy, clock skew, rate limit bypass via multiple keys

Metadata

Metadata

Assignees

No one assigned

    Labels

    200-points200 point issueStellar WaveIssues in the Stellar wave programdrips-waveIssues in the Drips Wave programhighHigh complexity issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions