Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

circuit breaker for failed nodes #19

Closed
thraxil opened this issue Sep 6, 2011 · 0 comments
Closed

circuit breaker for failed nodes #19

thraxil opened this issue Sep 6, 2011 · 0 comments

Comments

@thraxil
Copy link
Owner

thraxil commented Sep 6, 2011

apply the circuit breaker pattern to handling of failed nodes to prevent thundering herd problems. Basically, if pinging (or writing to a node) fails, we set its last_failed and wait announce_frequency seconds to try pinging again. If it fails a second ping, we wait 2 * announce_frequency seconds before making the next attempt, then 3 * announce_frequency times, and so on.

@thraxil thraxil closed this as completed Jun 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant