|Info||View files (4)||Download .zip||Reputation||Support forum||Blog|
|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2013-04-13 (1 year ago)||Not yet rated by the users||Total: 278||All time: 6,674 This week: 2,464|
|php-circuit-breaker 1.0||BSD License||5.0||PHP 5, Systems administration|
It can keep track of the status of services like databases or remote Web services to determine if they can be accessed normally or they are down for some reason.
The class uses the APC extension to store cached values of the status the services, so applications avoid trying again while the services are down until they are not brought up again.
The class can be configured to try a given number of times until the service being tested is considered to be down.
A timeout period can be configured after which a failed service should get only one more chance to become available.
|Install with Composer|
Prize: One subscription to the PDF edition of the PHP Architect magazine
|Circuit breaker is method to prevent excessive use of resources that may not be available for some serious reason.
This class provides a PHP implementation of this circuit breaker method.
|Version Control||Unique User Downloads||Download Rankings|
|This week:||0||This week:||2,464|