Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to load balance HTTPS requests across several Linux servers. The application requires session affinity, so once a user gets connected the same server needs to handle all subsequent requests from that user. Is there a reliable way to do this without deploying an external load balancing router or adding any additional hardware? The application will be deployed to a number of clients, some of whom are reluctant to buy more hardware.

share|improve this question
up vote 1 down vote accepted

I have used mod_proxy_balancer:

It has the stickyness you need and is a software only solution.

share|improve this answer
The redundancy part is very untrue. You can setup Heartbeat or similar software that will give you redundancy. – Antoine Benkemoun Mar 30 '11 at 6:25
@Antoine - fair point. I have removed that warning. – n8whnp Apr 4 '11 at 5:06

Hardware load balancers provide better performance but you have the option of running a software-only load balancer. There are plenty of open source options available.

share|improve this answer

An oldie but a goodie is Resonate CentralDispatch, which does a lot of neat things and can be deployed on your servers or on separate servers. Used it for years before switching to BigIPs. It isn't free though.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.