Some servlet runtimes (such as IBM WebSphere) provide session-clustering
capabilities that allow user sessions to be shared across machines in a
load-balanced cluster. Another option is to rely on affinity algorithms that
allow all requests from a client to go back to the same server. Unfortunately,
most load-balancer affinity algorithms rely on the IP address of the client and
route all requests from the same IP to the same server. This algorithm does not
work well when all clients are routed through a proxy that causes them all to
have the same IP address.....watch out for AOL when using this type of
affinity!!
-Spike
-----
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