pybreaker
pybreaker copied to clipboard
Python implementation of the Circuit Breaker pattern.
Currently, there's no expire time on the keys created on Redis. I'm concerned about orphan keys during the lifetime of the application. A full clean can be performed from time...
Hi All, it would be nice if function `is_system_error` can work with `self._exceptions` as well. I am about to implement ES circuit breaker for just one exception (ES BROKEN CONNECTION)...
Fixes https://github.com/danielfm/pybreaker/issues/55
It might happen that a particular subsystem only partially fails. For example, a specific call to an external service might be broken, while other calls still work. In that case,...
I'm trying use the decorator to monitoring two functions saving the state in redis, but when the first function is ok and the second function is failed, and i make...
Locking the thread at the moment of calling the decorated function will lead to performance degradation in the multithread setup. I think it worth mentioning the issue in the description....
If you want to maintain support for older versions of Python, you could change the download source for those versions to python.org directly instead of the seemingly now missing files...
I wrote a custom CircuitBreakerStorage class for a different cache backend than Redis, and I'd like to test it using CircuitBreakerStorageBasedTestCase. But the tests module is not included in setup....
The `CircuitBreakerStorage` is a great way to share state across multiple servers. But is the lock effective for that?