returned for Tags:"Rate-Limiting"
C# client-side rate limiting utility.
* Easy to use
* Fully asynchronous: lower resource usage than thread sleep
* Cancellable via CancellationToken
* Thread safe so you can share time contraints object to rate limit diferent threads using the same resource
* Composable: ability to...
Rate Limiting (debounce, throttle) for C# Portable Class Library
This library provides an implementation of a token bucket algorithm which is useful for providing rate limited access to a portion of code. The implementation provided is that of a "leaky bucket" in the sense that the bucket has a finite capacity and any added tokens that would exceed this capacity...
A request limiter based on the Leaky Bucket algorithm
Owin middleware that implements the leaky bucket algorithm for request throttling.
Rate limiting action filter for Web Api
Contains the rate limiting action filter which works with Domain.RateLimiting.Core
Contains the core abstractions and classes for rate limiting.
Simple caching for .NET applications
ASP.NET Core rate limiting middleware
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...
WebApiThrottle message handler and action filter are designed for controlling the rate of requests that clients can make to an API based on IP address, client API key and request route. WebApiThrottle works with ASP.NET Web API hosted is IIS, Owin with IIS and Owin self-hosted.
MvcThrottle filter is designed for controlling the rate of requests that clients can make to a website based on IP address, request route, user-agent and client identity. You can set multiple limits for different scenarios like allowing an IP to make a maximum number of calls per second, per minute,...
The BrakePedal.Redis package contains an implementation of a Redis BrakePedal repository which uses StackExchange.Redis (https://github.com/StackExchange/StackExchange.Redis) for use with the BrakePedal library.
353 total downloads
This is Jack Leitch's RateGate code with a couple improvements specifically around thread saftety and long interval times (e.g. > 24.9 days).
Better rate limiting for projects written in the .NET Framework
Brake Pedal is a general purpose throttling library. The library provides the following features:
- Time based throttling: limit X number of requests over Y time period.
- Locking: block requests after X attempts over Y time period for Z time period.
- Decoupled storage: you can use the bundled...
6,663 total downloads
This is a C# port of modified version of Guava RateLimiter. See project site for further details.
Currency conversion using the fixer.io API
The BrakePedal.Http package provides code to use the BrakePedal library in a Web API application as an attribute, handler, or filter.