Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use sliding window algorithm for rate limiting #2066

Open
1 task done
melonges opened this issue Jul 29, 2024 · 0 comments
Open
1 task done

use sliding window algorithm for rate limiting #2066

melonges opened this issue Jul 29, 2024 · 0 comments

Comments

@melonges
Copy link
Contributor

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

it seems to me that in such a critical module there is no place to use setTimeout

Describe the solution you'd like

implementation of the sliding window

Teachability, documentation, adoption, migration strategy

No response

What is the motivation / use case for changing the behavior?

using algorithm that does not require a lot of memory and without using setTimeout

melonges added a commit to melonges/throttler that referenced this issue Jul 29, 2024
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

No branches or pull requests

1 participant