Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

3 Answers

up vote 1 down vote accepted

I have used mod_proxy_balancer: http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html

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
add comment

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
add comment

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
add comment

Your Answer

 
discard

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.