harshraj22 / harshraj22/Dis-Sim
Improve Subscription Based Rate Limiter
Open
enhancement
- Dominant language
- Python
- Stars
- 10
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Current implementation (sliding logs) stores the timestamps for each requests. This would eat up a lot of memory if the window length is large and so is the number of allowed requests per window length.
Consider using better algorithms like token bucket approach and leaky bucket approach
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.