aspose file tools*
The moose likes General Computing and the fly likes Clustering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Clustering" Watch "Clustering" New topic
Author

Clustering

Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 368
I read in HFSJ,
There is mutiple instances of servlet when clustered environment is used.
i.e. Instance per JVM.

In this what is mean by clustered environment ?
and What is advantages of that?

Thanks in advance.


Thanks,
Shailesh
kurt hanni
Ranch Hand

Joined: Aug 11, 2007
Posts: 140

A clustered environment is a cluster of computers (hardware), for example 2 or more servers are clustered to run a single application, each server must have a copy of the application (same set-up) running on separate JVMs.

advantages of clustered environment is that it spreads out the work load to multiple machines, improving performance and speed of your application. May include fail-over, if one cluster is down your application will still run on different clusters.

for every cluster everything in your application (objects) is duplicated except for your session objects.


SCJA, SCJP, SCJD, SCMAD, SCWCD, SCBCD, SCDJWS, SCEA, SOA, Spring Certified, OCP MySQL 5 Developer, PMP
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 368
Thank you kurt.
Geetha Arthanari
Greenhorn

Joined: Nov 24, 2006
Posts: 25
Is clustering and distributed web apps same or different?
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 368
I think it is same.
Please correct me If I am wrong.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

There's an interesting definition here.


[My Blog]
All roads lead to JavaRanch
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 368
Thanks Christophe,
this is I got from that link.

A cluster consists of multiple stand-alone machines acting in parallel across a local high speed network.
Distributed computing differs from cluster computing in that,
Computers in a distributed computing environment are typically not exclusively running "group" tasks, whereas clustered computers are usually much more tightly coupled. Distributed computing also often consists of machines which are widely separated geographically.
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2716
    
    6

If we are talking about clustering, then lets talk it in the General Computing forum.


SCJP, SCWCD.
|Asking Good Questions|
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Clustering