aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Clustering and Load Balancing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Clustering and Load Balancing" Watch "Clustering and Load Balancing" New topic
Author

Clustering and Load Balancing

vikasids sharma
Ranch Hand

Joined: Aug 01, 2003
Posts: 157
can anybody explain me the difference between clustering and load balancing?
Thanks in advance


Thanks
Vikas Sharma
SCJP(1.4)
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

Cluster is a group of servers that appears as single unit to the client.
The advantages of a clusters are
1. Scalability : There are more servers to process requests. It is possible to add more servers without any client interruptions.
2.High avaliablity : This arises because of redundancy. If one of the servers in the cluster fails another one can take over.

Load balacing is a means of distributing client request among the servers in the cluster. We make of algorithms like DNS ROUND ROBIN, Hard ware load balancing for load balancing.


Groovy
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Clustering is about combining a group of servers into a single managed unit while load balancing is the act of delegating incoming load (e.g. HTTP requests) to one of the server instances in the cluster.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Clustering and Load Balancing