Skip to content

itsamine27/ratelimiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project delivers a custom rate-limiting middleware for use with the Tower ecosystem in Rust, including frameworks like Axum. The middleware is designed to enforce per-user quotas, allowing up to 5 requests per minute per unique user.

Each user is identified via a token x-forwarded-for header, and the middleware efficiently tracks request counts in a rolling time window.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages