You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to this thread Netflix/Hystrix#805 and for my own understanding, wouldn't it be more adequate to rely on HystrixCommands (instead of HystrixObservableCommands) in BookDbCommands, therefore leveraging the thread isolation from Hystrix (instead of using Ratpack execControl) since all commands are blocking?
I'm not sure I'm clear, but I'd like to have your insights on this!
Thanks,
BQ.
The text was updated successfully, but these errors were encountered:
ghost
changed the title
(question/comment)
(question/comment) HystrixCommand instead of HystrixObervableCommand ?
Jul 16, 2015
We want to ensure that the blocking commands are scheduled using Ratpack's execution model so that the request lifecycle is properly maintained. Additionally, Ratpack takes extra measures to ensure that resources are utilized very effectively, so introducing another thread pool into the mix will only cause contention.
For RxJava (which Hystrix uses), Ratpack provides a scheduler, allowing observables to use the execution. This means that the steps taking prior to and after the blocking calls are made on the execution's computation thread pool, giving the most efficient resource utilization.
Hi,
According to this thread Netflix/Hystrix#805 and for my own understanding, wouldn't it be more adequate to rely on HystrixCommands (instead of HystrixObservableCommands) in BookDbCommands, therefore leveraging the thread isolation from Hystrix (instead of using Ratpack execControl) since all commands are blocking?
I'm not sure I'm clear, but I'd like to have your insights on this!
Thanks,
BQ.
The text was updated successfully, but these errors were encountered: