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

Difference between DefaultVolumeThreshold and DefaultErrorPercentThreshold #54

Open
debraj-manna opened this issue Sep 28, 2016 · 0 comments

Comments

@debraj-manna
Copy link

This is not a bug but more of a query. I could find any other channel so posting it here.

Can you please explain what is the difference between DefaultVolumeThreshold and DefaultErrorPercentThreshold? What is the time window used for both?

Let's say I have set DefaultVolumeThreshold to 10 , DefaultErrorPercentThreshold to 5 and rolling time window of 1 second. In 1 second let's say all 6 requests failed will the circuit open as it is crossing the DefaultErrorPercentThreshold? What will be behavior other way around if I set DefaultVolumeThreshold to 5 and DefaultErrorPercentThreshold to 10 and all 6 requests failed? Will the circuit open in this case?

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

No branches or pull requests

1 participant