Hello Karl, On Wed, Sep 08, 2010 at 08:36:30PM -0400, Karl Baum wrote: > I am a beginner to haproxy meaning that i have never used it or any other > load balancer before, but i wanted to get an idea of something was possible.
hey, welcome to a world where you'll do many things that you'll find dirty, but will do them anyway because you can ;-) > I would like to have sticky sessions based on only the value of a http > request parameter such that if two different clients with the same request > parameter make a request to the server, both requests will be handled by the > same node. > > Let me know if that makes sense. Yes that makes sense. It is possible to hash a request parameter and select a server based on the result. Check "balance url_param" in the doc for more information. Also, usually stickiness involves cookies. Haproxy can insert (or even modify) a cookie in a response to note the server that handled the request. That way, when the client comes back, it knows what server to forward the request to. Maybe this is possible in your case and you don't need the url_param ? Regards, Willy

