-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Limit total global Hystrix threads #297
Comments
Agreed, thanks for posting this. Hopefully @KoltonAndrus and I can get to this in Hystrix 1.4 in the near future. |
I see a couple of options for addressing this problem.
My preference is Option 2, as not all applications will want to opt-in to this behavior, and it doesn't add any cognitive load to Hystrix-core. Thoughts? /cc @mikeycohen @benjchristensen @KoltonAndrus ? |
I agree with option 2. |
Punting to 1.4.x |
I just implemented a middle-ground between options 1+2 above. There is now a static method ( This doesn't affect any core Hystrix behavior, but makes it easier to build a custom strategy in any application which consumes Hystrix. |
Systems can sprial out of control with hystrix threads as the number of hystrix commands increase. During periods of latency, multiple pools may be affected, causing rapid runnable thread expansion. We should be able to cap total hystrix threads.
The text was updated successfully, but these errors were encountered: