Re: cluster versus load balancing

From: Robert kebernet Cooper (kebernet_at_gmail.com)
Date: 12/23/04


Date: 22 Dec 2004 19:43:01 -0800

Alex, that is a pretty... well, obfuscated definition.

I supposed at the fundamental level they define as:

Clustering -- Making a group of application providers appear as one
application provider.

Load Balancing -- Shifting the computational task of an application
across various providers based on some predetermine heuristic.

Now, in real terms of J2EE applications, they are somewhat more
specific, with some variance from server to server.

When you say "Clustering" you usually means something where
applications servers share an application as well as runtime state for
that application across multiple machines so that if one fails another
machine can resume executing the application with all state information
in tact. That is in Cluster A [ X Y Z] there is some method where a
user connects to Cluster A and during his use if machine X fails, Y and
Z can continue the service uninterrupted. This usually means that at
any point in time, at least 2 machines contain the state information
for any one user. Could be all of them do, but at least 2 do.

When you say "Load Balancing", you usually are talking about something
either less fault tolerant than "Clustering" or stateless past a
request. In Group A [X Y Z] I make a request. It is assigned to X
process and X returns the result. If the application is stateful, then
my session will be bound to X subsequent calls to the application will
go to X as well ("Session Affinity"). If the app isn't stateful, then
they will just be re-assigned by the heuristic again. "Load Balancing"
in this method tends to be optimized for speed (No replication
overhead, so more computational resources are available to the user)
but not as fault tolerant as "Clustering" (if the server I am using
dies, my session is lost).



Relevant Pages

  • Re: clustering info?
    ... I have links to several ways for you to learn clustering. ... MVP - Windows Server - Clustering ... > picked up three new machines for myself, my wife, and my daughter, so I'm ... > box whose second network card goes to the uplink. ...
    (microsoft.public.windows.server.clustering)
  • Re: ISA & Clustering
    ... Yea, But wouldn't it require all the same server packages (ISA, SQL, Exch) ... I always thought clustering required indentically (or nearly ... so) loaded/configured machines. ...
    (microsoft.public.isa)
  • Re: Network Load Balancing Problem
    ... MVP - Windows Server - Clustering ... why my page is down if i stop only the second host ... If the machines have converged, ...
    (microsoft.public.windows.server.clustering)
  • Re: Lights go off
    ... External Raid on separate RAID controllers in the machines would work - as ... MVP - Windows Server - Clustering ...
    (microsoft.public.windows.server.clustering)
  • HA & Failover options
    ... instances for all the technology components (App Server, DB Server, ... Application Server 10g Release 3 and Oracle Database Release 2. ... Clustering features. ... how instantaneous is failover to the secondary site with data ...
    (comp.databases.oracle.server)