php-http / httplug

HTTPlug, the HTTP client abstraction for PHP
http://httplug.io
MIT License
2.57k stars 39 forks source link

Circuit Breaker #125

Closed B-Galati closed 6 years ago

B-Galati commented 7 years ago
Q A
Bug? no
New Feature? yes

Hello !

What about implementing a circuit breaker feature on top of httplug ? We could have one library that manage circuit breaker feature and use that library in httplug.

It looks like it's something missing from php libraries. I found multiple one but they look non-maintained.

Thanks for your feedback ;-)

Nyholm commented 7 years ago

Hey. That sounds like an great idea for a plugin. Please send a PR and I'll be happy to review it.

B-Galati commented 7 years ago

@Nyholm Ok, I'll try !

Nyholm commented 7 years ago

Any updates on this?

B-Galati commented 7 years ago

I will never have the time to implement this and I now think that it can be better to let a proxy manage that kind of logic (traefik for example)

B-Galati commented 6 years ago

Tolerance looks like a great library ;-)

joelwurtz commented 6 years ago

Closing this also as this is rather old, we are not opposed to the idea, so if anyone wants to implement it, feel free to do it.