Hello All, I currently have session affinity set up using cookies. Basically I add the server ID to the cookie, so that a request will always go to that same server.
backend apps balance roundrobin cookie SERVERID insert indirect nocache server s1 <ip address> maxconn 500 check cookie s1 server s2 <ip address> maxconn 500 check cookie s2 Based on what I found online, there are other ways to achieve affinity like source IP. There may be a case where I won't be able to use cookies, and source IP may not be viable, as there could be one IP that all requests route through before hitting the load balancer. What are other options? I read somewhere that headers can also be used? I don't know much about headers so I am not sure if it will work. Thanks!

