Hi,

We are currently having a system which runs haproxy in the amazon cloud. Our 
system is also using autoscaling of backendservers
so when we reach a certain cpu usage during x min we will add more servers to 
the backend and update the haproxy config + reloading haproxy.

This works good as we have it now.

What we would like is to add persistence to the backend in order to use the 
caches on the backend servers more efficiently (a shared cache would have been
better but is not the case now unfortunately).

This makes the autoscaling a bit more complex because of the persistence. When 
scaling up new servers the client would still stay on the "overloaded"
backend servers instead of start using the new ones. 

So I thought I would check with you if there is a way to "clear" persistence 
session used by appsession in a good way without effecting the traffic to 
servers?

If we cleared all the persistence sessions we could let the client go into the 
new backend servers and have "request-learn" in appsession learn the
cookie and set persistence to the existing and new servers for the client.

Any ideas here?

Cheers
E

Reply via email to