Domain.RateLimiting.Redis
5.0.4-alpha
provides a distributed Redis implementation of the IRateLimitingCacheProvider from the Domain.RateLimiting.Core package meaning that it can be used from multiple servers which is more suiting to real production environments. This is the package that keeps track of the call count per time window and gives a go or no go based on the number of calls made so far. The libraries in this repo provide distributed implementations of rate limiting using Redis for the following algorithms:
* SteppingTimeWindow
* SlidingTimeWindow
* LeakyBucket
You can even add your own implementation by implementing the IRateLimitingCacheProvider.
Install-Package Domain.RateLimiting.Redis -Version 5.0.4-alpha
dotnet add package Domain.RateLimiting.Redis --version 5.0.4-alpha
<PackageReference Include="Domain.RateLimiting.Redis" Version="5.0.4-alpha" />
paket add Domain.RateLimiting.Redis --version 5.0.4-alpha
Dependencies
-
.NETFramework 4.5.2
- Domain.RateLimiting.Core (>= 5.0.3-alpha)
- StackExchange.Redis (>= 1.2.3)
-
.NETStandard 1.5
- Domain.RateLimiting.Core (>= 5.0.3-alpha)
- NETStandard.Library (>= 1.6.1)
- StackExchange.Redis (>= 1.2.3)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
5.0.4-alpha | 492 | 7/27/2018 |
5.0.3-alpha | 636 | 7/13/2018 |
5.0.2-alpha | 368 | 5/21/2018 |
5.0.1-alpha | 362 | 5/17/2018 |
4.0.3-alpha | 388 | 5/3/2018 |
4.0.2-alpha | 366 | 5/2/2018 |
4.0.1-alpha | 356 | 5/1/2018 |
1.0.1-alpha | 480 | 11/17/2017 |