On Wed, Sep 23, 2015 at 3:15 PM, Pradeep Jindal <[email protected]> wrote: > Hi, > > Does anyone know of a way to keep connections alive on the server side > irrespective of whether clients close them or not? > > HAProxy keeps a connection alive to the server only if the corresponding > client side connection is still up. So, essentially server side keepalive is > only supported if client side keepalive is also there otherwise, haproxy > closes the server side connection as soon as the client closes it. > > It'll be useful, in HTTP mode, to keep server side connections alive so that > those can be used a firehouse pipes to the backend servers and requests can > be round-robin over those kept alive connections accordingly. > > - Pradeep Jindal
Hi Pradeep, http-reuse implemented might help a bit your case: http://cbonte.github.io/haproxy-dconv/snapshot/configuration-1.6.html#http-reuse That said, what you want might be a real connection pool, which doesn't exist yet in HAProxy. Baptiste

