throttler icon indicating copy to clipboard operation
throttler copied to clipboard

use `sliding window` algorithm for rate limiting

Open melonges opened this issue 7 months ago • 0 comments

Is there an existing issue that is already proposing this?

  • [X] 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 avatar Jul 29 '24 17:07 melonges