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

I have two dedicated servers each running identical app, they don't need to share states/database, what's a recommended http load balancer?

Edit: thanks for the answers below. Apache http server already supports this:

<Proxy balancer://mycluster>
   BalancerMember http://192.168.1.50:80
   BalancerMember http://192.168.1.51:80
</Proxy>
ProxyPass /test balancer://mycluster/

Is that all I need to do?

share|improve this question

migrated from stackoverflow.com Dec 8 '09 at 18:56

This question came from our site for professional and enthusiast programmers.

    
what OS/technology are you targeting? –  Kane Dec 8 '09 at 6:11
    
Windows 2003, Apache http server, MYSQL 5.0, application server is Tomcat –  Anonymous Dec 8 '09 at 6:18

4 Answers 4

Consider Haproxy. I would recommend it for nearly anything. It even comes with a nice statistics layer so that you can easily see when a server goes down. From the website:

HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for web sites crawling under very high loads while needing persistence or Layer7 processing. Supporting tens of thousands of connections is clearly realistic with todays hardware.

share|improve this answer

The Apache Web server will do it, too. That's actually used in production for a site at my job with about 10,000 in-house users.

share|improve this answer
    
That said, I'm afraid I can't tell you much more about this. Configuring Apache is somebody else's job :) –  Carl Smotricz Dec 8 '09 at 7:12

Balance, I've used it for small loads, seems to work fine. haven't pushed it very hard though.

share|improve this answer

I've used Pound quite successfully in the past, as another alternative.

share|improve this answer

Your Answer

 
discard

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