Thanks Cyril, but no luck, I still see no connection reuse. For every new connection from the same client, haproxy make a new connection to the server and terminates it right after.
Lukas, as per the documentation, the 1.5 dev version does support server side pooling. http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4.2-option%20h ttp-keep-alive """ Setting "option http-keep-alive <http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#option%20http -keep-alive>" enables HTTP keep-alive mode on the client- and server- sides. This provides the lowest latency on the client side (slow network) and the fastest session reuse on the server side at the expense of maintaining idle connections to the servers. In general, it is possible with this option to achieve approximately twice the request rate that the "http-server-close <http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#option%20http -server-close>" option achieves on small objects. There are mainly two situations where this option may be useful : - when the server is non-HTTP compliant and authenticates the connection instead of requests (eg: NTLM authentication) - when the cost of establishing the connection to the server is significant compared to the cost of retrieving the associated object from the server. """ On 11/30/14 4:58 PM, "Cyril Bonté" <cyril.bo...@free.fr> wrote: >Hi all, > >Le 30/11/2014 11:54, Lukas Tribus a écrit : >> Hi Sachin, >> >> >>> Hi, >>> >>> We have SSL backends which are remote, so we want to >>> use http-keep-alive to pool connections >> >> Connection pooling/multiplexing is simply not (yet) supported. >> Its is therefor expected behavior that 1 frontend connection >> equals 1 backend connection. > >Sachin, as your configuration seems to not provide any sticky sessions >(cookies, load balancing algorithm, nor stick tables), I believe y'oure >in round robin. >You can try to add "option prefer-last-server", this will try to reuse >server connection for a same client connection. > >http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#option%20pref >er-last-server > > >-- >Cyril Bonté