I\'m working on scaling out my app to multiple servers, and one requirement is that a client is always communicating with the same server (too much live data is used to allo
You can adjust the balancing algorithm in HA-Proxy there are some available though. Like e.g. roundrobin or leastconn.
But you need to adjust in general your balancing according to the domain of users for whom content is served. Most of the times you need to do empirical tests and reiterate your decision according to your findings.