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

Force-enable host-based circuits #243

Conversation

michaelkipper
Copy link

What

This PR allows SEMIAN_CIRCUIT_BREAKER_FORCE_HOST to force-enable host-based circuits.

Why

To deploy #227 on core, we want to enable host-based circuits on a single node, so we can observe their behaviour through a Rails console.

cc: @Shopify/servcomm

@michaelkipper michaelkipper force-pushed the mkipper/global-circuit-breaker-simple-integer branch from 5a83daf to c2721ba Compare July 2, 2019 18:50
ext/semian/sliding_window.c Outdated Show resolved Hide resolved
ext/semian/sliding_window.c Outdated Show resolved Hide resolved
ext/semian/sliding_window.c Outdated Show resolved Hide resolved
ext/semian/semian.c Outdated Show resolved Hide resolved
@michaelkipper michaelkipper force-pushed the mkipper/global-circuit-breaker-simple-integer branch from 7a73849 to 926074d Compare July 3, 2019 20:03
Copy link

@thegedge thegedge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like the most sane way to roll this out on a per-host basis 👍

lib/semian.rb Outdated Show resolved Hide resolved
lib/semian.rb Show resolved Hide resolved
Copy link
Contributor

@csfrancis csfrancis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is so much nicer than the C implementation!

lib/semian.rb Outdated Show resolved Hide resolved
@michaelkipper michaelkipper merged commit 9fb115a into mkipper/global-circuit-breaker Jul 4, 2019
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

3 participants