ulule / limiter

Dead simple rate limit middleware for Go.
MIT License
2.08k stars 150 forks source link

Limiter v4 Checklist #92

Open novln opened 4 years ago

novln commented 4 years ago

This is a checklist of refactoring, enhancements and/or features that I would like to take in the next major version of limiter:

alter123 commented 3 years ago
  • Change rate limit dynamically

To extend this further, I would suggest having configurable limits based on endpoint level can also be provided, for e.g., if I've 10 endpoints, and I want to limit only 3 endpoints and all of them can have different limits. According to current implementations I possibly have to create a sub router or tweak the middleware implementation accordingly.