This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 8903

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
 
Similar Threads
difference between clustering and loadbalance
Struts + SessionBean v.s Struts + Spring
clustering and load balancing
Session Migration issues
Clustering and Load Balancing