Filip Hanik - Dev wrote:

ok, there are two very simple memory friendly ways to do sticky load balancing.
And as a matter of fact, this is how some hardware loadbalancers do it.

1. Set a cookie on the clients machine - no server memory to hold a map
2. If the client doesn't accept cookies, do a simple sticky load balancing based on 
the IP of the client request. Again, no memory
map needed.

The current jvmRoute addition to JSESSIONID is not really needed, since it doesn't add that much of a benefit over the two options
above. So right then and there, there is one less thing to configure.


It's cool to have one less thing to configure, but it seems to me jvmRoute is the most reliable and efficient way of doing stickiness (the cookie way is intrusive, and the IP way is highly inaccurate).

Rémy


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to