Hi,

On Tue, Mar 22, 2011 at 05:27:14PM +0000, Michele Curioni wrote:
> Hi there,
> can HAProxy be used to route TCP requests based on the content of messages?
> We have a mission critical application that listens for xml requests on a TCP 
> port, and each request contains the customer id.
> We are looking for ways to route/load balance requests per customer.

There has been such a request for a long time, when it was not possible at
all. Right now it's much easier to implement, since we're already able to
perform TCP content analysis if we know what we're analysing (eg: SSL, RDP,
HTTP, ...). So basically we're just missing the ability to match raw strings,
which should be easier what is currently performed. Do you think that pure
string matching would be OK to select a server, or do you need something such
as extracting the customer ID and hashing it for load balancing ? It's not
the same thing, because in order to perform load balancing, we have to
define how to extract the data to be hashed, which is more complex than
pure string matching.

Regards,
Willy


Reply via email to