On 12/09/2010 08:27 PM, Hank A. Paulson wrote:
Please see the thread:
"need help figuring out a sticking method"
I asked about this, Willie says there are issues figuring out a workable
config syntax for 'regex to pull the URL/URI substring' but (I think)
that coding the functionality is not technically super-difficult just
not enough hands maybe and the config syntax?
I have a feeling this would be a fairly commonly used feature, so it is
good to see others asking the same question :)
My use-case is pretty simple, since it was fullfilled without stick
table using the appsession configuration parameter, e.g.
appsession MYSESSIONID len 64 timeout 1h request-learn mode query-string
IOW, I only need simple string matching, and that maybe be an acceptable
first step ? How long do you think it would take ? I am relatively
familiar with C, but have no knowledge of network programming nor I have
ever looked into haproxy source code.
How are you planning to distribute the traffic to the different haproxy
instances? LVS? Some hardware?
I don't know exactly - I think using somekind of DNS round robin scheme
between our set of load balancers (we have something similar a the
moment with pound as load balancer, but without any kind of sticky
session support). We are required not to use hardware.
cheers,
David