3 ms·
I see you mention circuit breakers. I think they deserve more thorough coverage because 1) you really need them in a lot of applications, and 2) they're not in
by davidw 7y ago
I see you mention circuit breakers.
I think they deserve more thorough coverage because 1) you really need them in a lot of applications, and 2) they're not in OTP, so picking one (especially if you're not really an Erlang expert) and employing it in the right way are a bit trickier.
A simple example of an application that probably needs a circuit breaker is a web application that can keep running even if the database is not available, even if all it does is return an error message to the browser.
- yawaramin 7y agoDon't circuit breakers arise naturally from configuring supervisors in a particular way? I.e. supervisor failover after a certain number/period of retries.
- davidw 7y agoNot really, otherwise no one would have written things like this: https://github.com/jlouis/fuse https://github.com/jlouis/fuse