hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Colocation and Data Centers : load balancing based on bandwidth throughput
Reply

Colocation and Data Centers Find data centers, server hardware, bandwidth providers, and techniques for colocation purposes. Get advice on colocation web hosting, review providers and offer suggestions on choosing colocation hosting services and the right datacenter. If your service is unavailable, please click here.
Forum Jump

load balancing based on bandwidth throughput

Reply Post New Thread In Colocation and Data Centers Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-29-2010, 10:11 PM
easygroove easygroove is offline
Junior Guru Wannabe
 
Join Date: Sep 2009
Posts: 36

load balancing based on bandwidth throughput


hello, are modern load balancers able to shift load between a cluster based on how busy the network card is?

To elaborate, say i ran a server farm which served mostly static content, i.e images, files etc etc, absolutely nothing dynamic that would max the CPU of the server, yet could reach the maximum capacity of the network card, would a load balancer be able to distribute the load between more than one server to keep the load equal?

Sorry if i missed the fundamental point of load balancing here but i always assumed that they shared load out based on CPU usage.

Thanks.

Reply With Quote


Sponsored Links
  #2  
Old 09-29-2010, 11:05 PM
astutiumRob astutiumRob is offline
Will Host for Food
 
Join Date: Jul 2002
Location: London, United Kingdom
Posts: 3,688
Quote:
Originally Posted by easygroove View Post
Sorry if i missed the fundamental point of load balancing here but i always assumed that they shared load out based on CPU usage.
Depending on the type of LB you can balance
* equally across all available servers
* based on availability
* in a set preference
* based on cpu / disk / ram usage
etc

__________________
Rob Golding Astutium Ltd - UK based ICANN Accredited Domain Registrar - proud to accept BitCoins
Buying Web Hosts and Domain Registrars Today @ hostacquisitions.co.uk
UK Web Hosting | UK VPS | UK Dedicated Servers | ADSL/FTTC | Backup/DR | Cloud
UK Colocation | Reseller Accounts | IPv6 Transit | Secondary MX | DNS | WHMCS Modules

Reply With Quote
  #3  
Old 09-30-2010, 07:11 AM
Techee Techee is offline
Web Hosting Master
 
Join Date: Jan 2010
Posts: 603
Remember that you can do simple load balancing between servers by using multiple IPs in your DNS records.

Reply With Quote
Sponsored Links
  #4  
Old 09-30-2010, 09:51 AM
easygroove easygroove is offline
Junior Guru Wannabe
 
Join Date: Sep 2009
Posts: 36
Quote:
Originally Posted by Techee View Post
Remember that you can do simple load balancing between servers by using multiple IPs in your DNS records.
That's called a 'round robin' DNS am i correct?

Cheers!

Reply With Quote
  #5  
Old 09-30-2010, 10:45 AM
eth00 eth00 is offline
Web Hosting Master
 
Join Date: Apr 2003
Location: NC
Posts: 2,911
Quote:
Originally Posted by easygroove View Post
That's called a 'round robin' DNS am i correct?

Cheers!
Correct, you also have very little control over it.

If you have a group of servers doing static content and all of them on the same size network card you could use just about anything for load balancing. There are plenty of hardware units out there that can do it or you can use one of the software options. Most will have different load balancing methods, for your case "least connections" would work fine. That would just send traffic to the server with the fewest connections and that should help keep the bandwidth about the same on each.

__________________
John W
www.eth0.us

Reply With Quote
  #6  
Old 09-30-2010, 10:45 AM
iTom iTom is offline
Web Hosting Master
 
Join Date: Apr 2007
Posts: 3,486
Quote:
Originally Posted by easygroove View Post
That's called a 'round robin' DNS am i correct?

Cheers!
Correct but it isn't great, you have no true control over the split of load.

Also if a server goes down there is no quick way to remove it from the cluster, due to DNS cache.

Reply With Quote
  #7  
Old 10-01-2010, 01:32 PM
lockbull lockbull is offline
Web Hosting Master
 
Join Date: Feb 2004
Posts: 634
CPU usage is rarely one of the metrics used for load balancing since it's not at the network level (you'd need to use an agent-based system on each server to do that). You'll find that most load balancers can distribute load based on bandwidth--you need to check the methods available for the device or software in question (these are generally called the distribution or load balancing methods). Aside from round robin, other typical methods are least connections, least response time (which would probably be the closest to something based on the servers' CPU usage without going to an agent-based system), least packets, etc.

Reply With Quote
  #8  
Old 10-01-2010, 03:08 PM
KarlZimmer KarlZimmer is offline
THE Web Hosting Master
 
Join Date: Jan 2003
Location: Chicago, IL
Posts: 6,548
You're probably just looking to do balancing based on the number of connections, which is a very common metric to balance by. The speed of individual connections and bandwidth utilization itself is not a very consistant metric from which to balance based on, especially if you look at it granular enough with all the microbursts that are happening. In theory, if you have enough connections and those are spread out equally, the bandwidth utilization will also be spread out relatively equally.

__________________
Karl Zimmerman - Steadfast Networks: Dedicated Servers and Premium Colocation
karl @ steadfast.net - AIM: KarlAZimmerman - Sales/Support: 312-602-2689
2 Data Centers and 20,000+ sqft. in Chicago (350 E Cermak) + Manhattan Data Center
Cloud Hosting, Managed Dedicated Servers, Chicago Colocation, and New York Colocation

Reply With Quote
  #9  
Old 10-01-2010, 03:41 PM
swiftnoc swiftnoc is offline
Web Hosting Master
 
Join Date: Jun 2004
Location: Europe
Posts: 2,798
Quote:
Originally Posted by lockbull View Post
CPU usage is rarely one of the metrics used for load balancing since it's not at the network level (you'd need to use an agent-based system on each server to do that).
Funny you mention this, its exactly what our load balancing system does. It installs an agent and takes into account whatever parameters are important for the client. (IE: connections, bandwidth, memory, I/O, CPU, type of service served from node, etc).
I believe that a good load balancer should take all this into account at the administrators discretion.

__________________
Swiftway.net Your Business deserves our Quality - Experts on Hand since 2005
----------------------------------------------------------------------
------------------
Premium business provider guaranteed support response time within 15 minutes. >12 500 followers on twitter.com/swiftwaynet Contact Swiftway

Reply With Quote
  #10  
Old 10-01-2010, 04:05 PM
funkywizard funkywizard is offline
unghhh... Baaandwidth....
 
Join Date: Jan 2005
Posts: 7,918
Quote:
Originally Posted by iTom View Post
Also if a server goes down there is no quick way to remove it from the cluster, due to DNS cache.
True, but in my experience, web browsers are smart enough to connect to one of the other ip addresses if it notices that the one it wants to connect to is down, with round robin dns. I certainly don't rely on this feature, since it's totally up to the browser to do this, but in my experience, if one server goes down, the other seems to pick up almost all the load from the downed server, rather immediately.

__________________
IOFLOOD.com -- We Love Servers
Are you a VPS host?
Ask about our Hardware RAID BBU servers.
Email (sales [at] ioflood . com) or skype "funkywizard" for details.

Reply With Quote
  #11  
Old 10-01-2010, 04:13 PM
plumsauce plumsauce is offline
******* Unleaded
 
Join Date: Feb 2004
Posts: 3,790
Quote:
Originally Posted by funkywizard View Post
True, but in my experience, web browsers are smart enough to connect to one of the other ip addresses if it notices that the one it wants to connect to is down, with round robin dns. I certainly don't rely on this feature, since it's totally up to the browser to do this, but in my experience, if one server goes down, the other seems to pick up almost all the load from the downed server, rather immediately.
Well, the disadvantage is that the browser still has to wait for a timeout before trying again. The site owner probably wants to avoid this.

__________________
edgedirector.com
managed dns global failover and load balance (gslb)
exactstate.com
uptime report for webhostingtalk.com

Reply With Quote
  #12  
Old 10-01-2010, 04:14 PM
funkywizard funkywizard is offline
unghhh... Baaandwidth....
 
Join Date: Jan 2005
Posts: 7,918
Quote:
Originally Posted by plumsauce View Post
Well, the disadvantage is that the browser still has to wait for a timeout before trying again. The site owner probably wants to avoid this.
Definitely. I'm just saying that RRDNS is a bit more robust than I had assumed when I first started using it.

__________________
IOFLOOD.com -- We Love Servers
Are you a VPS host?
Ask about our Hardware RAID BBU servers.
Email (sales [at] ioflood . com) or skype "funkywizard" for details.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Swiftway load balanced cluster series - Local and Global load balancing. swiftnoc Cloud Hosting Offers 0 05-25-2010 03:35 AM
Swiftway load balanced cluster series - Local and Global load balancing. swiftnoc Cloud Hosting Offers 0 04-26-2010 03:07 AM
Swiftway load balanced cluster series - Local and Global load balancing. swiftnoc Cloud Hosting Offers 0 04-13-2010 02:16 AM
Swiftway load balanced cluster series - Local and Global load balancing. swiftnoc Cloud Hosting Offers 0 04-07-2010 01:51 AM
Load-balancing a high CPU/bandwidth website pmak0 Dedicated Server 15 03-11-2006 11:22 PM

Related posts from TheWhir.com
Title Type Date Posted
GoGrid Launches Dynamic Load Balancer Service Built for Cloud Web Hosting News 2013-01-29 10:07:53
CDNetworks Releases New Versions of Cloud Load Balancer, Cloud Storage Web Hosting News 2012-09-10 15:26:28
Web Host Rackspace Adds New Features to Cloud Load Balancer Web Hosting News 2011-09-16 16:35:04
OnApp Releases New Version of Cloud Management Software Web Hosting News 2011-07-21 18:46:54
Cloud Infrastructure Firm Linode Launches Load Balancer as a Service Web Hosting News 2011-07-15 19:05:12


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?