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
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by harshraj22 and has received 1 comments.