Download the PHP package aportela/simple-throttle without Composer
On this page you can find all versions of the php package aportela/simple-throttle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download aportela/simple-throttle
More information about aportela/simple-throttle
Files in aportela/simple-throttle
Download aportela/simple-throttle
More information about aportela/simple-throttle
Files in aportela/simple-throttle
Vendor aportela
Package simple-throttle
Short Description Custom php throttle system
License AGPL-3.0-only
Homepage https://github.com/aportela/simple-throttle
Package simple-throttle
Short Description Custom php throttle system
License AGPL-3.0-only
Homepage https://github.com/aportela/simple-throttle
Please rate this library. Is it a good library?
Informations about the package simple-throttle
simple-throttle
This is a simple approach to implement exponential backoff for retrying operations that may fail intermittently, such as network requests (API calls?) or file access. While there are more robust and optimized solutions out there, this is just a lightweight strategy I use in some of my personal projects when I need to handle temporary failures without overcomplicating things. It’s not meant for production-grade systems, just a basic solution for my use cases.
Requirements
- mininum php version 8.4
Install (composer) dependencies:
Code example:
All versions of simple-throttle with dependencies
PHP Build Version
Package Version
The package aportela/simple-throttle contains the following files
Loading the files please wait ...