redis_rate
redis_rate copied to clipboard
Rate limiting for go-redis
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/go-redis/redis_rate). ## Config Migration Needed - [ ]...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/stretchr/testify](https://redirect.github.com/stretchr/testify) | `v1.8.1` -> `v1.10.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/go-redis/redis/v8](https://togithub.com/go-redis/redis) | require | patch | `v8.11.4` -> `v8.11.5` | ---...
Perhaps this is an implementation issue. See the following file which shows the per second rate not working. If you set the rate limiter to 100 per second and you...
Fixed key prefix limits the project potential in a complex situation
I was wondering if there is any data on latency benchmarks on the redis_rate client that is publicly available From the code, any `Allow()` call in rate limiter runs `evalsha`,...
The current structure is ``` type Result struct { Limit *Limit Allowed bool Remaining int RetryAfter time.Duration ResetAfter time.Duration } ``` It would be nice if the structure also returned...
Q1: why does the code in function allown: ``` if remaining < 0 then local reset_after = tat - now local retry_after = diff * -1 return { 0, --...
Add go 1.15, 1.16 and 1.17 to the build matrix
At any point if we want to clear data (that is created and used by rate_limit) from redis, how to do it? something like : ` rateLimiter.Clear("key")` or ` rateLimiter.Flush()`