We too are currently using a very similar setup where the loadbalancer & the
two nt servers are hosted by UUNet.
Here is what we can do:
If the Load balancer is from Alteon then one can go for an Hash based Load
balancing which directs all the requests from a particular user machine(ip
address) to the same server. However the draw back is if there are 100 users
in a company which uses a proxy server to connect to internet then all these
100 users are directed to the same web server. In cases where one of the
server is down then the request is sent to the other server.

We have currently implemented to use this hash based algorithm and it looks
to be working fine. except for one or two glitches.

Thanks
Praveen

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Colin Wilson-Salt
Sent: Wednesday, August 09, 2000 10:07 AM
To: [EMAIL PROTECTED]
Subject: Re: Load Balancing and Session Var's


Suppose we have a load balancer doing sticky sessions, and have JRun
persisting servlet
sessions to the database. When a machine becomes unavailable and the load
balancer is
forced to send requests to another machine, will the new machine be able to
retrieve the
user's session from the database, and continue without the user being
affected?

Scott Stirling wrote:

> The corporate answer is to buy JRun 3.0 Enterprise and use ClusterCats
> (which is included in the Enterprise license) to do your load balancing
and
> fail over.  ClusterCats also works nicely with Cisco LocalDirector if you
> have that.  As someone else said, no matter what, you'll need to turn on
> sticky sessions to lock sessions to servers.  Another alternative is to
> maintain all session data on the server in a database, but I think this
> would be much slower.
>
> There are other folks here who know a lot more about ClusterCats and load
> balancing issues than I do, so if you have any questions about it, fire
> away.
>
> Scott Stirling
> Allaire Corporation
> http://www.allaire.com/developer/jrunreferencedesk/
>
> > -----Original Message-----
> > From: Earle Flynn [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 09, 2000 8:49 AM
> > To: [EMAIL PROTECTED]
> > Subject: Load Balancing and Session Var's
> >
> >
> > All our java applications (servlets, JSP based) are run by
> > JRUN  and we
> > use the JRUN session to save session data. But since our website is
> > supported by two webservers with round-robin DNS load balancing, the
> > user can get switched to the other webserver in the middle of
> > a session
> > and lose all the session data. Is there a solution for this.
> > Is there a
> > way to make the web-browser to the same physical webserver
> > for the life-
> > time of the web-browser session?
> >
> > Any pointers or help would be greatly appreciated.
> --------------------------------------------------------------------------
----
> Archives: http://www.egroups.com/group/jrun-interest/
> Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
> or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.

------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the 
body.

Reply via email to