var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
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.
Are you using Linux or Windows?
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.
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
haproxy and nginx would run just fine as load balancers.
nginx really works great, highly recommended.
Nginx is more than suitable for most setups, fairly easy to setup as well
If your site isn't too complex, a simple round-robin DNS might be the best bet.
Here's an example on how to setup a load balance solution with Nginx :-)
NewYorkCityServers.com - The Servers That Never Sleep █
Enterprise Dedicated Servers In The Heart of Manhattan |
View Our Low Latency Network!
Best Prices in NYC Guaranteed | 24x7x365 Support | Less Than 15 Minute Support Replies
Nick Esposito | nick @ newyorkcityservers . com | +1.855.687.6927
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.
definitely check out haproxy for load balancing
By angathan in forum Domain Names
Last Post: 04-30-2010, 11:59 PM
By almahdi in forum Dedicated Server
Last Post: 03-10-2008, 01:54 AM
By kiler in forum Hosting Security and Technology
Last Post: 04-12-2006, 01:19 PM
By qhasxeem in forum Web Hosting
Last Post: 03-23-2002, 02:26 AM
By Melee in forum Hosting Security and Technology
Last Post: 07-31-2001, 06:14 AM
Related Posts from theWHIR.com
Tags for this Thread