Open acbeni opened 6 years ago
resilience4j seems like a promising choice https://github.com/resilience4j/resilience4j
I once used hystrix as a circuit breaker https://github.com/Netflix/Hystrix and really liked it.
Yep it's the most famous one but resilience4j i think is more lightweight. still its good that you mentioned it @katmatt to make a small comparative study before choosing one 👍
After examining the choice, it seems a bit more constraining and also it means more dependencies for our API, and if a client wants it, it's a matter of creating a new decorator. i would rather let it as simple as it is right now. WDYT @katmatt ?
Sometimes when badly implemented some clients try to repeatedly reconnect to our backend even though receiving same error over and over, we can protect ourselves from this by adding a circuit breaker to our API