Hi Malcolm,

On Thu, Mar 19, 2009 at 11:42:31AM +0000, Malcolm Turnbull wrote:
> Possibly a stupid question but:
> Can Haproxy work as a TCP-multiplexer i.e. combine requests into one
> connection to a server?
> Or would that be related to using keep-alive?

It requires that we get keep-alive to work first. What you want is
the most complex feature. It requires connection pools, keep-alive
ability to continuously check the pool, and user-connection affinity
to avoid moving users across multiple processes on the server.

Right now without keep-alive and using queueing, you can get very
close to that behaviour, with the only difference that connections
are closed and opened between haproxy and the servers (which is not
expensive since both should be very close to each other).

Regards,
Willy


Reply via email to