Hi Hoang, Could we get your HAproxy config please, an example of both scenarios would be best.
It may help to better to better understand your situation. Aaron West Loadbalancer.org Limited +44 (0)330 380 1064 www.loadbalancer.org On 7 February 2017 at 01:55, Hoang Le Trung <[email protected]> wrote: > Hi > > > > I use HAproxy to loadblance my backend servers. > > But I have problem when I using cookie. > > When a cookie is present, the same backend server is used until it dies. > So it make overload on this server while other servers free. > > If not using cookie, Each client need pass authentication to request data > from backend servers. It work ok but take long time to finish many requests > from client. > > So any solution for my case, I want use Haproxy to load balance session > with client and backend server. When client send request, it will forward > balance to backend servers( not only one server when use cookie). And > client do not need re-authentication when send subsequent request > > > > > > Thanks! > > Best Regards, > > ------------------------ > > ------------------------------ > This e-mail may contain confidential or privileged information. If you > received this e-mail by mistake, please don't forward it to anyone else, > please erase it from your device and let me know so I don't do it again. >

