Relative Content

Tag Archive for haproxysticky-session

Remove session stickiness based on server load

I’m having an application setup where there are multiple instances of application running (let’s say two instances/servers s1 and s2) balanced by HAProxy. We are using sticky session based on application session cookie. So if the first lands on s1 server, all the subsequent requests will land on s1 server.
The configuration I’m using for stickiness is below: