ejsmont-artur / php-circuit-breaker

PHP implementation of circuit breaker pattern.
MIT License
169 stars 29 forks source link

Mysql adapter #12

Open MrMoronIV opened 5 years ago

MrMoronIV commented 5 years ago

Is there a specific reason why there is no mysql storage adapter? I would like to have a central point where all webservers could store and retrieve their circuit breaker information instead of having it local.

I noticed another package not supporting this out of the box as well so am curious if this is a bad idea or not.

TheAliAbbasi commented 4 years ago

Hey @MrMoronIV Actually the reason behind this package and this pattern is to decide whether to call the service or if it's having a failure. APC and Memcached are both in-memory and have a big advantage (in terms of response time and the load it can handle) over any relational db even if you're using memory as db engine.