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:
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
This package is not used by any popular GitHub repositories.