2

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?

4 Answers4

2

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.

Dan Loewenherz
  • 943
  • 3
  • 10
  • 19
1

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 :) –  Dec 08 '09 at 07:12
0

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

0

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