RE: responses from disabled servers

2015-10-15 Thread Lukas Tribus
Hi David,


> I just want to say first of all that haproxy is incredibly useful and
> I've enjoyed working with it tremendously. Thank you!
>
> My question is if a server is disabled because of a failed http health
> check and there are requests in flight, will the requests from the
> disabled app be returned to the client?

Yes, the response will be returned. We don't kill because of a failed
health check.



> We are artificially marking servers as down in the event that the
> server is going into maintenance mode and are trying to avoid
> losing at requests.

Note that there is a proper way to do it, checkout:
set server / state [ ready | drain | maint ]

http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#9.2-set%20server



Regards,

Lukas

  


responses from disabled servers

2015-10-15 Thread David Martin
I just want to say first of all that haproxy is incredibly useful and
I've enjoyed working with it tremendously.  Thank you!

My question is if a server is disabled because of a failed http health
check and there are requests in flight, will the requests from the
disabled app be returned to the client?  We are artificially marking
servers as down in the event that the server is going into maintenance
mode and are trying to avoid losing at requests.