Results 1 to 11 of 11
  1. #1

    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.
    SpeedSmart.net - The ultimate HTML5 internet speed test & App

  2. #2
    Join Date
    Feb 2011
    Location
    Columbus, Ohio, USA
    Posts
    334
    Are you using Linux or Windows?

  3. #3
    Join Date
    Jul 2009
    Location
    Atlanta, GA
    Posts
    622
    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.
    Frank Laszlo - Developer
    Franksworld Solutions, LLC

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

  5. #5
    Join Date
    Aug 2007
    Location
    here
    Posts
    480
    haproxy and nginx would run just fine as load balancers.
    We live in a twilight world

  6. #6
    nginx really works great, highly recommended.
    ColoCrossing - Dedicated to Uptime
    Jon Biloh | jbiloh@colocrossing.com | 1.800.518.9716 | Skype: jbiloh
    DDOS Protected Colo & Dedicated Servers in Buffalo, Chicago, Dallas and Los Angeles

  7. #7
    Join Date
    Apr 2007
    Posts
    3,531
    Nginx is more than suitable for most setups, fairly easy to setup as well
    BotWars.io - Code the AI of your Battle Bot!

  8. #8
    Join Date
    Jan 2002
    Location
    New York, NY
    Posts
    330
    If your site isn't too complex, a simple round-robin DNS might be the best bet.

  9. #9
    Here's an example on how to setup a load balance solution with Nginx :-)
    http://wiki.nginx.org/LoadBalanceExample
    NewYorkCityServers.com - Specializing In Dedicated Servers and Financial Hosting
    True Enterprise Service, Tier 3 Manhattan Datacenter, 100+ Gbps Network, 100% Uptime Guarantee, 24x7 Support - Email, Tickets, Phone and Live Chat
    Bandwidth Graphs, Remote Power Control, Automated OS Re-installs, Secured IPMI+KVM Included With Every Server

  10. #10
    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.
    edgedirector.com
    managed dns global failover and load balance (gslb)
    exactstate.com
    uptime report for webhostingtalk.com

  11. #11
    Join Date
    Apr 2000
    Location
    Brisbane, Australia
    Posts
    2,602
    definitely check out haproxy for load balancing http://haproxy.1wt.eu/
    : CentminMod.com Nginx Installer Nginx 1.25, PHP-FPM, MariaDB 10 CentOS (AlmaLinux/Rocky testing)
    : Centmin Mod Latest Beta Nginx HTTP/2 HTTPS & HTTP/3 QUIC HTTPS supports TLS 1.3 via OpenSSL 1.1.1/3.0/3.1 or BoringSSL or QuicTLS OpenSSL
    : Nginx & PHP-FPM Benchmarks: Centmin Mod vs EasyEngine vs Webinoly vs VestaCP vs OneInStack

Similar Threads

  1. Load Balance
    By angathan in forum Domain Names
    Replies: 3
    Last Post: 04-30-2010, 11:59 PM
  2. Load Balance two servers
    By almahdi in forum Dedicated Server
    Replies: 4
    Last Post: 03-10-2008, 01:54 AM
  3. 2 servers, how to balance load though?
    By kiler in forum Hosting Security and Technology
    Replies: 8
    Last Post: 04-12-2006, 01:19 PM
  4. Load Balance/Sharing on web servers
    By qhasxeem in forum Web Hosting
    Replies: 18
    Last Post: 03-23-2002, 02:26 AM
  5. If I want to load balance..
    By Melee in forum Hosting Security and Technology
    Replies: 5
    Last Post: 07-31-2001, 06:14 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •