Loading...
Loading

Latest Hosting Posts


Rating: 3 (1 votes cast)
Clustering vs. Load Balancing
2009-09-16 by  Amy Armitage
shareShare |submitSubmit |rssRSS|printPrint|CommentsComments

Loading...
loading
Before you can talk about differences between clustering and load balancing, and there are more than a few, you've got to get the definitions straight.

Before you can talk about differences between clustering and load balancing, and there are more than a few, you’ve got to get the definitions straight. Clustering is often understood to mean the capability of some software to provide load balancing services, and load balancing is often used as a synonym for a hardware- or third-party-software-based solution.

In practice, clustering is usually used with application servers like IBM WebSphere, BEA WebLogic and Oracle AS (10g). Also being used in that environment are load balancing features found in Application Delivery Controllers (ADC) like BIG-IP. (For simplicity, we will talk about clustering versus ADC approaches.)

Scalability, horizontally speaking

There are hardware load balancers, of course, but there we talk about pools or farms, the server groupings where application requests get distributed. It is in the software world that the term cluster is applied to that same group.

Clustering will typically convert one instance of an application server to a master controller, then process/distribute requests to multiple instances using such industry standard algorithms as round robin, weighted round robin or least connections. Clustering is similar to load balancing in that it has horizontal scalability, a nearly transparent way to add additional instances of application servers for increased capacity or response time performance. To ensure that an instance is actually available, clustering approaches typically use an ICMP ping check or, sometimes, HTTP or TCP connection checks.

Health and transparency

For load balancing, ADCs support the same industry algorithms, but have additional, complex number-crunching processes, and check such parameters as per-server CPU and memory utilization, fastest response times, etc. ADCs also support more robust health monitoring than the simple app server clustering solutions. This means they can verify content and do passive monitoring, dispensing with even the low impact of health checks on app server instances.

For applications that require the user to interact with the same server during a session, clustering uses server affinity to get the user there. This is most common during the execution of a process like order entry, where the session is used between pages (requests) to store data needed to close a transaction, like a shopping cart.

For the same situation, ADCs use persistence. Clustering solutions are usually somewhat limited as to the variables they can use, while ADCs can not only use traditional application variables but also get other information from the application or network-based data.

More than a few clustering solutions need node-agents deployed on each instance of an application server that is clustered by a controller. It may not be a burden as far as deploying and managing it, since it is often in place, but it is still means more processes running on the servers and consuming memory and CPU resources. Of course, it also adds another possible failure point to the data path. Since ADCs need no server-side components, they remain completely transparent.

Making the choice

Some would ask, Why do the extra work of building a distributed software system and cluster server setup when you can have multiple servers fulfilling specific roles such as separate database servers, web servers, mail servers, etc. whenever necessary?

So, how do you choose? That depends on the reasons you are considering this kind of solution in the first place, and (perhaps) whether or not you have to make an additional purchase to achieve clustering capabilities for the particular application server you have. There is also the broader question of whether or not you need (or want) to provide support for multiple application server brands. Clustering, of course, is proprietary to the application server, but ADCs can provide services for any and all applications or web servers.


Clustering checklist


Pros:

  • Typically available with application server’s enterprise package
  • Doesn't require the highest level of networking know-how
  • Usually less costly than redundant ADC deployments

Cons:

  • High availability not assured with clustering solutions
  • Best practices deploy the cluster controller on separate hardware
  • Node agents required on managed app server instances
  • Clustering is "proprietary" (you can cluster only homogeneous servers)


ADC checklist


Pros:

  • Provides high availability and load balancing in heterogeneous environments
  • Added value of application optimization, security and acceleration
  • No changes required to applications or servers where they’re deployed

Cons:

  • An additional piece of infrastructure in the architecture
  • Generally more costly than clustering solutions
  • Could require new skill set to deploy/manage


Recommendations

Get more insight into performance, configurations and case studies by reading some testing-based articles on ADCs, and testing-based reviews of server clustering. Look for case studies that mirror your own situation, as closely as possible, and talk to people who are doing what you are planning (or thinking about). Unlike government going into the car business or taking over health care, do not do something quickly just to be seen doing something. Take care with this decision.

DiggDigg 
RedditReddit 
shareShare
news Buffer
Author

Amy Armitage

Lunarpages Web Hosting

Amy Armitage is the head of BusinessDevelopment for Lunarpages.Lunarpages provides quality webhosting from their US-based hosting facility.Theyoffer a wide-range of services from dedicatedservers and managed solutions to shared and resellerhosting plans.

View Amy Armitage`s profile for more
line
Thank you for this informative articles. It is really true that the internet is becoming an important thing for many people because it is a place to make new friends, have fun, get valuble information, and even make your own website!you can use it to spread a message you think is important. Cyberspace is an absolutely amazing place.There is something on it for everyone. You can make friends who live on the other side of the world. You can play lots of really good games. You can use it to help you learn, you can read interesting stories,you can get answers to your questions,you can even use it to help others.So, you see, the internet is remarkable but its true that you need to be carefull what site you visit. Only go to good websites, and your online experience will be a very pleasent one. Also,you can use the internet to do good. I have found another good articles about the internet manual. You can look it up at pdfph.com. Hope this helps.
Santosh Shrivastava - May 6th, 2010
It was an excellent learning experience many thanksBrainPulseWeb Hosting in India
Samson Hollier - May 29th, 2010
Very nice articles. Internet is a global network connecting millions of computers.Thanks for sharing this! I found anothergood articles about internet manuals at askdiana.net
video on demand - June 16th, 2010
Well, I think the main reason of the evolution is nothing but, the rise of the media, and telecom sector, and internet as well. When communication expands, its sources automatically developed, in order to provide better user experience.
jacy india - July 15th, 2010
very nice article very well explained thanks for the post..keep postingCheap Seo Services
Oyunlar - July 17th, 2010
Very nice articles. Internet is a global network connecting millions of computers.
sunbizar - July 18th, 2010
Every affiliate marketer is always looking for the successful market that gives the biggest paycheck. Sometimes they think it is a magic formula that is readily available for them. Actually, it is more complicated than that. It is just good marketing practices that have been proven over years of hard work and dedication.There are tactics that have worked before with online marketing and is continuing to work in the online affiliate marketing world of today.
Johny - September 3rd, 2010
Well, I think the main reason of the evolution is nothing but, the rise of the media, and telecom sector, and internet as well.mario Oyunları zeka Oyunları
ambrish - February 11th, 2011
technology had driven now to common peoples
Logicspice - May 12th, 2011
I agree with you, Before five year in my home town (Sambhar Lake) Mobile Phone Signaland Broadband connection are available, But now In Sambhar more than 8 Mobile phone Tower. All most Everybody is using mobile phone there.
Linux VPS - May 25th, 2011
The emerging technologies and optimization will make sure that even advanced technologies can be used by small scale organizations.
W3Origin - April 6th, 2012
Selection of a right hosting company matters, these articles really helps a lot to get information about an effective hosting company. Many many thanks for the wonderful information, we are an SEO India we need these information to keep up to date ourselves.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.