hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Smith <randomdev4+ht...@gmail.com>
Subject Implementing failover
Date Mon, 07 Dec 2015 12:12:47 GMT
Hi,

I'm not too keen on spending hours re-inventing the wheel, so I wanted
to find out what the consensus was on the most efficient way to handle
failover.

By failover I mean ....

Attempt to transact with server http://1.example.com
<1.example.com does not respond, or responds with http code <200||>300 >
Attempt to transact with server http://2.example.com

I am aware there is HttpRequestRetryHandler, but as far as I'm aware
this only applies to requests to the same server ?


How have others taken care of the same problem ?

Thanks !

Tim.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message