Skip to content

implement rate limiting middleware with Redis caching#11

Open
Friizy56 wants to merge 5 commits into
mahakagarwal7:mainfrom
Friizy56:rate-limit
Open

implement rate limiting middleware with Redis caching#11
Friizy56 wants to merge 5 commits into
mahakagarwal7:mainfrom
Friizy56:rate-limit

Conversation

@Friizy56
Copy link
Copy Markdown
Collaborator

@Friizy56 Friizy56 commented Feb 4, 2026

  • Add configurable rate limit middleware with window-based tracking
  • Integrate Redis for distributed rate limit counters
  • Apply 5 req/15min per IP for /auth endpoint
  • Apply 10 req/hour per user for /sessions endpoint
  • Return 429 status with retry-after header on limit exceeded

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