Hi,

I implemented a load balancer using camel and its failover and round robin
features.
Everythink works perfectly well.

But now Im trying to improve my load balancer in a way, that it keeps track
of the unavailable endpoints.

Currently, my balancing routine looks like this:
     *from("startpoint").loadBalance().failover(3, false,
true).to("endpoint1", "endpoint2");*

Now, the problem is, that if one of the endpoints becomes unavailable, the
routine doesnt become aware of that and keeps trying to contact the every
endpoint. With a maximumFailoverAttempt of 3 this means, that every second
request becomes very slow.

Is there a way to make camel remember the unavailable endpoint.
It would be perfect, if camel could assaign a timeout to an unavailable
endpoint and not contact that one any longer, until the timeout has passed.

I've read, that the circuit breaker load balancer offers such a feature.
But I dont know how to combine that with my already pretty well working
failover load balancer.

Can you guys help me?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Loadbalancing-with-failover-but-remembering-the-unavailable-endpoint-tp5793144.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to