aspnetcore-redis-rate-limiting icon indicating copy to clipboard operation
aspnetcore-redis-rate-limiting copied to clipboard

Set up a Redis backplane for ASP.NET Core multi-node deployments, using the built-in Rate Limiting support that's part of .NET 7 and .NET 8.

Results 51 aspnetcore-redis-rate-limiting issues
Sort by recently updated
recently updated
newest added

Fix issue in RedisTokenBucketRateLimiter similar to https://github.com/cristipufu/aspnetcore-redis-rate-limiting/issues/61 The current implementation always returns TimeSpan.Zero for [RateLimiter.IdleDuration](https://learn.microsoft.com/en-us/dotnet/api/system.threading.ratelimiting.ratelimiter.idleduration?view=aspnetcore-7.0#system-threading-ratelimiting-ratelimiter-idleduration). When using a partitioned rate limiter this means the rate limiters created for the partitions...

The current implementation always returns `TimeSpan.Zero` for [RateLimiter.IdleDuration](https://learn.microsoft.com/en-us/dotnet/api/system.threading.ratelimiting.ratelimiter.idleduration?view=aspnetcore-7.0#system-threading-ratelimiting-ratelimiter-idleduration). When using a partitioned rate limiter this means the rate limiters created for the partitions [never get cleaned up](https://github.com/dotnet/runtime/blob/c3859ad70b3d5d02b252d07c904160eada32d653/src/libraries/System.Threading.RateLimiting/src/System/Threading/RateLimiting/DefaultPartitionedRateLimiter.cs#LL229C17-L229C17) and will accumulate....

This should fix #36 I had to slightly change some Lua scripts to take into account the permitCount value.

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.8.0 to 17.9.0. Release notes Sourced from Microsoft.NET.Test.Sdk's releases. v17.9.0 What's Changed Remove dependency on Nuget.Frameworks by @​nohwnd in microsoft/vstest#4693 Add platform guard by @​dotMorten in microsoft/vstest#4737...

dependencies

Hi, Will it be possible to manage chained limiters in future releases? Thanks in advance.

Bumps [xunit.assert](https://github.com/xunit/xunit) from 2.6.1 to 2.6.6. Commits f03fe09 v2.6.6 280a0cb Update build to use .NET SDK 8 and C# 12 (#2863) fdf75ab #2334: Add assembly-level support for BeforeAfterTestAttribute (v2) ba06476...

dependencies

Bumps [xunit](https://github.com/xunit/xunit) from 2.6.1 to 2.6.6. Commits f03fe09 v2.6.6 280a0cb Update build to use .NET SDK 8 and C# 12 (#2863) fdf75ab #2334: Add assembly-level support for BeforeAfterTestAttribute (v2) ba06476...

dependencies

Bumps [StackExchange.Redis](https://github.com/StackExchange/StackExchange.Redis) from 2.7.4 to 2.7.17. Release notes Sourced from StackExchange.Redis's releases. 2.7.17 What's Changed Fix: #2321: Honor disposition of select command in Command Map for transactions (#2322 by @​slorello89)...

dependencies

Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore) from 8.0.0 to 8.0.1. Release notes Sourced from Microsoft.AspNetCore.Mvc.Testing's releases. .NET 8.0.1 Release Commits 8e941eb Merged PR 35709: [internal/release/8.0] Update dependencies from dnceng/inter... 580b6a8 Merge in 'release/8.0' changes...

dependencies

Bumps [Microsoft.EntityFrameworkCore.Sqlite](https://github.com/dotnet/efcore) from 8.0.0 to 8.0.1. Release notes Sourced from Microsoft.EntityFrameworkCore.Sqlite's releases. .NET 8.0.1 Release Commits 423b1a0 [internal/release/8.0] Update dependencies from dnceng/internal/dotnet-runtime 4c95cef [internal/release/8.0] Update dependencies from dnceng/internal/dotnet-runtime 04c2fa5 [internal/release/8.0]...

dependencies