RateLimiters
RateLimiters copied to clipboard
Token bucket and leaky token bucket implementations in .NET
The waiting time is beyond the scope of the program Hello. Faced a problem: There are requests, with a call speed limit per second (30 in 1 second, 10 in...
Hi, I have these requirements: 1. I can submit three requests, before I get throttled. 2. To get the one request back, I must wait ten seconds. What code do...
Hi, I am using your tool to throttle orders from Amazon. Here are the parameters: ``` //Loop through them calling GetOrder, since GetOrder has a max request quota of 6...
[Instead of](https://github.com/robertmircea/RateLimiters/blob/master/src/Bert.RateLimiters/StepUpLeakyTokenBucket.cs#L19) tokens = stepTokens; should it be: tokens = bucketTokenCapacity; similar to [the StepDownLeakyTokenBucket](https://github.com/robertmircea/RateLimiters/blob/master/src/Bert.RateLimiters/StepDownTokenBucket.cs)? It might just be that I don't really understand the difference or how to use...
Hey I'v found your port of TokenBucket algorithm interesting (even that in the end i'v used another\simpler implementation). Just one thing i'v noticed. Locks in the TokenBucket base class are...