ThrottlingSuite 1.0.0.2
dotnet add package ThrottlingSuite --version 1.0.0.2
NuGet\Install-Package ThrottlingSuite -Version 1.0.0.2
<PackageReference Include="ThrottlingSuite" Version="1.0.0.2" />
paket add ThrottlingSuite --version 1.0.0.2
#r "nuget: ThrottlingSuite, 1.0.0.2"
// Install ThrottlingSuite as a Cake Addin #addin nuget:?package=ThrottlingSuite&version=1.0.0.2 // Install ThrottlingSuite as a Cake Tool #tool nuget:?package=ThrottlingSuite&version=1.0.0.2
The library contains multiple controller types implementing different throttling strategies:
Linear throttling - limits the number of calls by enforcing specified delay between consequent requests;
Short Average - limits the number of calls by specified number of requests per configured duration; it does not limit overall number of requests, but rather assures blocking excessive requests; this strategy is very helpful to cut the requests flooding caused by such user behaviors as multi-click or hard click on F5 button;
Long Average - limits the number of calls by specified number of requests per configured duration; this strategy limits an overall number of calls within long time duration; this is also known as applying penalty to the client for excessive application use.
Each throttling controller uniquely determines the client making requests. It does not purely rely on client IP address allowing multiple clients from the same network concurrently making requests to the IIS.
The Throttling Suite allows setting multiple controllers within the application and applying each to a pre-filtered traffic. The filters are also configurable.
The Throttling Suite provides two modes: real blocking mode when request is blocked with 429 HTTP Status code and log-only mode whether it logs blocking information to IIS log, but allows request to continue. The log-only mode is very useful when there is a need to determine the most appropriate throttling configuration parameters.
The code is highly optimized having very low memory impact and taking less than 0.3 ms to run on a regular development laptop.
As an extra functionality it provides with real-time snapshot of current throttling status for all controllers. The snap-shot is available online as a JSON output. It requires configuration to assure authorized used as desired by an application.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0.2 | 1,990 | 1/20/2013 |
Please visit https://throttlingsuite.codeplex.com/documentation for assistance with configuration and registering HTTP status 429 in IIS. It provides you with examples and rules used by Throttling Suite and its Controllers.
The Throttling Suite DLL with TRACE is available at https://throttlingsuite.codeplex.com/ should you require to analyze the TRACE output.