Python variable-sized load limiter
Project description
Py Load Limiter
A highly configurable, feature-packed, variable-request-sized load limiter python module.
Features
- Sliding window/buckets algorithm
- Limit amount of 'load' instead of simply limiting the number of requests by allowing load-aware requests
- Use with direct apis, as context manager or as decorator
- Support for automatic retry, delay or timeout on load requests
- Automatically compute TTA (time-to-availability) to easily give clients an amount of time to wait before resubmissions
- Configurable penalties for over-max-load requests and for uncompliant clients who do not respect the required delays
- Composite load limiter to allow for complex load limiting with a single instance (eg. long-time rate limiting together with burst protection)
- Configurable window fragmentation for optimal smoothness vs performance tuning
- Pluggable and customizable storage adapters to allow for easy persistence
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyloadlimiter-0.1b0.tar.gz
(9.5 kB
view details)
Built Distribution
File details
Details for the file pyloadlimiter-0.1b0.tar.gz
.
File metadata
- Download URL: pyloadlimiter-0.1b0.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 658dfb2b9c31896c463b090eb88857139e64f587248005a9ab44af398189a767 |
|
MD5 | 89d52c370b661b80f58ac2b8c7566727 |
|
BLAKE2b-256 | 5c33e28c690b15185465bcfa244c34188018de3d4eea3edad33e2f82a3cb2e42 |
File details
Details for the file pyloadlimiter-0.1b0-py3-none-any.whl
.
File metadata
- Download URL: pyloadlimiter-0.1b0-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7fed2b8440ab2d840e7db54e50e6eae3babf1771a46bef6c8731637cff47a45 |
|
MD5 | 532befa00d4fd25be01f98056acf5091 |
|
BLAKE2b-256 | fbaeae50b73c8c05055284c1e75547ee2cdc507a064454c47906b86c9db88bef |