Some servlet runtimes (such as WebSphere) include session-clustering
capabilities that allow sessions to be maintained across a set of machines
clustered together by a load-balancer.  Your only other choice is to rely on
some kind of server affinity scheme provided by the load-balancer which
guarantees that subsequent requests to from the same client will be returned to
the same server.

-----
Spike Washburn
IBM WebSphere Application Server
Internet E-mail: [EMAIL PROTECTED]



David Mossakowski <[EMAIL PROTECTED]> on 06/16/99 01:10:18 PM

Please respond to "A mailing list for discussion about Sun Microsystem's Java
      Servlet API Technology." <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Donald Washburn/Raleigh/IBM)
Subject:  load balancing - restated





Greetings,

I should be more specific in my question.

The precise thing I'm worried about is that when a session is being kept
by the servlet engine and it is updated to fit the user's liking (simple
search, blue background, vector of previous search results, etc.) then
when load balancing comes in you are not guaranteed that the next
request from that user will come to the same engine as the previous
one.  With that in mind how does one keep the session consistent?

How do you go about this problem?  Does anyone have a load balancer on a
servlet application?

Thanks,
dave.

--
David Mossakowski        [EMAIL PROTECTED]
http://www.dwdog.com/styk      212.310.7275

"I don't sit idly by, I'm planning a big surprise"
F         U         G         A        Z        I

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to