thrift-pool-client icon indicating copy to clipboard operation
thrift-pool-client copied to clipboard

Add active failure recovery option to reduce app failures

Open aronica opened this issue 7 years ago • 1 comments

FailoverCheckingStrategy currently relies on cache expire of google guava, the thrift server may still be abnormal after the cache is expired, next time the application request will failed.

aronica avatar Apr 11 '17 10:04 aronica

You're right. The current strategy is a very simple one without any active checking strategy. I've made an independent failover strategy here: https://github.com/PhantomThief/simple-failover-java

and yet to be ported to this project.

PhantomThief avatar Apr 11 '17 13:04 PhantomThief