Hi Lukas,

On Fri, Aug 30, 2013 at 10:27:34AM +0200, Lukas Tribus wrote:
> > Is there a way to redispatch the requests to other servers ignoring the
> > persistence on queue timeout?
> 
> No; after a queue timeout (configurable by "timeout queue"), haproxy will
> drop the request.
> 
> Think of what would happen when we redispatch on queue timeout:
> 
> The request would wait seconds for a free slot on the backend and only
> then be redispatched to another server. This would delay many requests
> and hide the problem from you, while your customers furiously switch
> to a competitor.

It could be even worse if you do so with caches : this will end up mixing
objects among all nodes when one cache takes a long time to respond,
resulting in a lower hit rate, so a higher general load increasing this
problem, and you could very well end up killing the whole farm in a domino
effect.

Willy


Reply via email to