WebsiteGear Logo Log In
New User? Sign Up
About | Contact | FAQ
  Home Content Web Hosting Saturday, May 17, 2008 
POPULAR ARTICLES
Nav Subdomain Configuration - How To Setup A Sub Domain
Nav Website Layout - Tips & Tricks
Nav Round Robin DNS Load Balancing
Nav Domain Configuration - How To Setup A Domain Name
Nav Introduction To Server Load Balancing
Nav Server Load Balancing Methods
Nav Tips On Using SubDomain
Nav Breadcrumb Navigation
FEATURED NEWS | POPULAR NEWS
View More News View More News
SPONSORED LINKS
Print| Email| Save| Discuss| Feeds


Server Load Balancing: Algorithms
Published: Monday, May 17, 2004


Types of load balancing

Load balancing of servers by an IP sprayer can be implemented in different ways. These methods of load balancing can be set up in the load balancer based on available load balancing types. There are various algorithms used to distribute the load among the available servers.
  • Random Allocation
    In a random allocation, the HTTP requests are assigned to any server picked randomly among the group of servers. In such a case, one of the servers may be assigned many more requests to process, while the other servers are sitting idle. However, on average, each server gets its share of the load due to the random selection.

    Pros: Simple to implement.

    Cons: Can lead to overloading of one server while under-utilization of others.


  • Round-Robin Allocation
    In a round-robin algorithm, the IP sprayer assigns the requests to a list of the servers on a rotating basis. The first request is allocated to a server picked randomly from the group, so that if more than one IP sprayer is involved, not all the first requests go to the same server. For the subsequent requests, the IP sprayer follows the circular order to redirect the request. Once a server is assigned a request, the server is moved to the end of the list. This keeps the servers equally assigned.

    Pros: Better than random allocation because the requests are equally divided among the available servers in an orderly fashion.

    Cons: Round robin algorithm is not enough for load balancing based on processing overhead required and if the server specifications are not identical to each other in the server group.


  • Weighted Round-Robin Allocation
    Weighted Round-Robin is an advanced version of the round-robin that eliminates the deficiencies of the plain round robin algorithm. In case of a weighted round-robin, one can assign a weight to each server in the group so that if one server is capable of handling twice as much load as the other, the powerful server gets a weight of 2. In such cases, the IP sprayer will assign two requests to the powerful server for each request assigned to the weaker one.

    Pros: Takes care of the capacity of the servers in the group.

    Cons: Does not consider the advanced load balancing requirements such as processing times for each individual request.
The configuration of a load balancing software or hardware should be decided on the particular requirement. For example, if the website wants to load balance servers for static HTML pages or light database driven dynamic webpages, round robin will be sufficient. However, if some of the requests take longer than the others to process, then advanced load balancing algorithms
are used. The load balancer should be able to provide intelligent monitoring to distribute the load, directing them to the servers that are capable of handling them better than the others in the cluster of server.
Previous Article Server Load Balancing: Introduction Server Load Balancing Methods Next Article
Print| Email| Save| Discuss| Feeds
RELATED ARTICLES
Nav Introduction To Server Load Balancing
Load balancing applies to all types of servers (application server, database server), however, we will be devoting this section for load balancing of web servers (HTTP server) .
Nav SubDomain - The Third Level Domain
A subdomain is the part of the website address before the domain name. Learn about using subdomain names.
Nav Server Side Includes - Centralize Common Content
Use server side includes to centralize the common web site content.
Nav Breadcrumb Navigation
A breadcrumb trail provides a quick way for the user to know what section or branch this webpage is in. A good example will be a directory such as Yahoo or DMOZ.
Nav Website Navigation Tips
An effective website navigation is very important for your website. Learn tips and tricks.
RELATED NEWS
News Post Find Your Balance with iWin's Mah Jong Quest III(R) Balance of Life
SAN FRANCISCO , May 16 /PRNewswire/ -- iWin, Inc., a leading developer and publisher of online casual games, today announced...
News Post SingleHop, Inc. Helps Web Businesses Fight the Recession: Free Load Balancing Offer Saves Customers at Least $3600 a Year
CHICAGO , May 16 /PRNewswire/ -- Chicago -based managed dedicated server provider, SingleHop Inc., today announced an aggress...
News Post DNS gaffe leaves spy agency totally under cover
Big website knickers round ankles The unavailability of the US National Security Agency website on Thursday has been linked t...
News Post Teneros Wins Red Herring 100 Award
Award Recognizes the 100 Most Promising Companies Driving the Future of Technology
News Post DataXtender by Kapsch CarrierCom is Being Used by mobilkom austria for the European Soccer Championship This Summer - and Will be Highlighted in Nice at Kapsch's Booth During the TM Forum Management World 2008.
VIENNA, Austria , May 16 /PRNewswire/ -- The upcoming European Soccer Championship puts high demands on telecommunication net...
Submit News | View More NewsView more news
RELATED CLASSIFIED ADS
Classified Ad Outsource Server Administration
Outsourcing has been the new mantra of business in this century. To make your webhosting business l ...
Classified Ad 8 CPU Special Email Hosting Server
Intel 5335 2Ghz / 8Mb / 1333Mhz x2pcs 4 GB Ram 73 x 2 SCSI 15k Raid 1 Windows 2003 Server Smarte ...
Classified Ad Server deals from The Planet - P4 for $69/month
Right now, you can get all the power of a Pentium 4 for only $69 a month -- that's a savings of near ...
Classified Ad US$199 Dedicated Email Hosting Server
8 to Infinity is a 11 year old Singapore Web Hosting company managing 24 racks in 4 datacentres in S ...
Classified Ad LunarPages Dedicated Server Coupon $50 off
LunarPages Dedicated Server Coupon Save $149 on Lunarpages Dedicated Servers Dedicated can hos ...
Post Free Ad | View More View more classifieds
RELATED FORUM POSTS
Forum Post example of Server.Transfer and Context Handler
This is an example of Server.Transfer and Context Handler. Through this we can get the multiple val ...
Forum Post Configuring BIND on windows 2003 server VPS
Hi Guys, I have a Windows 2003 Virtual Private Server and I'm trying to configure it with a BIND ...
Forum Post Most effective ways to get traffic to your site
Hi everyone! Traffic, Traffic, Traffic! How do we get it? There are lots of possible ways to ...
Forum Post Need help with DNS/Zone File
Cause I'm a freaking idiot when it comes to DNS and getting it right, I need some help. I&s ...
Forum Post nslookup query is not resolved
Hi,all I'm new comer , i have facing a problem in my DNS. when i run nslookup comand for a ...
Add New Post | View More View more forum posts


Copyright © 2003-2008 WebsiteGear Inc. All rights reserved.
About | Advertise | Submit Content | Privacy | Agreement | Contact