On Mon, Mar 21, 2011 at 12:13:40PM -0500, Shaw, Christopher wrote:
> We are using the "mstshash" cookie, as opposed to the "msts" cookie. Is
> there a difference in functionality between those two cookies? Is there
> one we should be using over the other?

Yes, mstshash contains the user name, which can only be used as a load
balancing method. If the size of the server farm changes (eg: change in
weight or in number of servers UP), the load balancing will change. The
msts cookie contains the server's IP address, which can be used as a
persistence method, whatever the number of servers, because haproxy is
able to spot the correct server based on the cookie.

Regards,
Willy


Reply via email to