Download the PHP package xp-forge/ratelimit without Composer
On this page you can find all versions of the php package xp-forge/ratelimit. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download xp-forge/ratelimit
More information about xp-forge/ratelimit
Files in xp-forge/ratelimit
Download xp-forge/ratelimit
More information about xp-forge/ratelimit
Files in xp-forge/ratelimit
Vendor xp-forge
Package ratelimit
Short Description Rate limiting
License BSD-3-Clause
Homepage http://xp-framework.net/
Package ratelimit
Short Description Rate limiting
License BSD-3-Clause
Homepage http://xp-framework.net/
Please rate this library. Is it a good library?
Informations about the package ratelimit
Rate limiting
A rate limiting can be used to limit the rate at which physical or logical resources are accessed, e.g. to protect them from intentional or unintentional overuse.
Restricting usage
Imagine you don't want to run more than two tasks per second:
Restricting bandwidth
You can implement bandwidth throttling by acquiring a permit for each byte:
Rate-limiting users
Implement a filter like the following:
Further reading
- RateLimiter - discovering Google Guava by Tomasz Nurkiewicz
- Guava's RateLimiter class - which is what this project was inspired from.
All versions of ratelimit with dependencies
PHP Build Version
Package Version
The package xp-forge/ratelimit contains the following files
Loading the files please wait ....