Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #393: add circuit breaker for network failures #416

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

magiconair
Copy link
Contributor

@magiconair magiconair commented Dec 29, 2017

This patch adds a circuit breaker monitor which issues route table
fragments to delete routes for which the circuit breaker is open.

The current implementation supports only the HTTP path. TCP and WS will
follow.

The integration test isn't testing the behavior automatically yet
but can be used to eyeball the behavior. This needs to be improved.

Also missing is the code to GC the circuit breakers that aren't
tripped over time but that should be easy to implement in this
code.

Fixes #393

route del * * http://host:port will delete all routes for that
destination
This patch adds a circuit breaker monitor which issues route table
fragments to delete routes for which the circuit breaker is open.

The current implementation supports only the HTTP path. TCP and WS will
follow.

The integration test isn't testing the behavior automatically yet
but can be used to eyeball the behavior. This needs to be improved.

Also missing is the code to GC the circuit breakers that aren't
tripped over time but that should be easy to implement in this
code.

Fixes #393
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant