
04-11-2012, 05:13 PM
|
|
Web Hosting Master
|
|
Join Date: Dec 2006
Posts: 572
|
|
3 Servers - Best way to load balance
I have 3 servers and I'm trying to find out the best and simplest way to load balance the traffic across them for one of my sites?
I do not want to go with round robin. Ive been looking into things like pound but I'm not sure if that is going to be the best way to go.
Any advice is greatly appreciated.
|

04-11-2012, 07:21 PM
|
|
Web Hosting Guru
|
|
Join Date: Feb 2011
Location: Wheeling, WV, USA
Posts: 334
|
|
Are you using Linux or Windows?
|

04-11-2012, 07:47 PM
|
|
Web Hosting Master
|
|
Join Date: Jul 2009
Location: Atlanta, GA
Posts: 620
|
|
I've done setups like this using ha-proxy, works quite well. However, before you do this, you might want to consider offloading the database (assuming the site is database driven) to another server, and setting up a dedicated HTTP only server.
|

04-11-2012, 10:49 PM
|
|
WHT Addict
|
|
Join Date: Jan 2007
Posts: 157
|
|
Pound, HAproxy, or Nginx would work nicely as load balancers for low traffic sites.
However if you are pushing alot of traffic, more than what a single servers NIC can handle then you would need to go with a level 4 load balancer like LVS-DR.
Last edited by prickett233; 04-11-2012 at 10:52 PM.
|

04-12-2012, 05:24 AM
|
|
Aspiring Evangelist
|
|
Join Date: Aug 2007
Posts: 423
|
|
haproxy and nginx would run just fine as load balancers.
|

04-12-2012, 02:25 PM
|
|
Web Hosting Master
|
|
Join Date: Oct 2004
Posts: 714
|
|
nginx really works great, highly recommended.
|

04-15-2012, 05:49 AM
|
|
Web Hosting Master
|
|
Join Date: Apr 2007
Posts: 3,481
|
|
Nginx is more than suitable for most setups, fairly easy to setup as well 
|

04-23-2012, 04:42 PM
|
|
Web Hosting Guru
|
|
Join Date: Jan 2002
Location: New York, NY
Posts: 300
|
|
If your site isn't too complex, a simple round-robin DNS might be the best bet.
|

04-23-2012, 05:24 PM
|
|
Web Hosting Master
|
|
Join Date: May 2010
Location: Connecticut
Posts: 584
|
|
Here's an example on how to setup a load balance solution with Nginx :-)
http://wiki.nginx.org/LoadBalanceExample
__________________
█ NewYorkCityServers.com - The Servers That Never Sleep
█ Dedicated Servers In The Heart of Manhattan | View Our Low Latency Network!
█ Best Prices in NYC Guaranteed | 60 Minute Hardware Replacement | 24x7x365 Support
█ Nick Esposito | nick @ newyorkcityservers . com | +1.855.687.6927
|

04-23-2012, 11:05 PM
|
|
******* Unleaded
|
|
Join Date: Feb 2004
Posts: 3,788
|
|
If they are all local, then a hardware load balancer is a good bet, or Windows + IIS + NLBS which is actually faster than a hardware device but needs special switch configuration.
|

05-01-2012, 05:33 AM
|
|
Premium Member
|
|
Join Date: Apr 2000
Location: Brisbane, Australia
Posts: 1,073
|
|
definitely check out haproxy for load balancing http://haproxy.1wt.eu/ 
__________________
:: vB benchmarks = Litespeed Cache 721x times faster than Apache
:: MySQL benchmarks (MariaDB 5.2 Intel Opt >MariaDB 5.2 >Percona 5.5 >MySQL 5.5)
:: MySQL backup/restore = mydumper > mysqldump
:: CentminMod.com = Nginx Menu Installer (ngx_pagespeed + SPDY supported)
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|