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?

-

## migrated from stackoverflow.comDec 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

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.

-

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.

-
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.

-

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

-