As you can see, it is not easy to do load balancing with servlets.
Probably you will be binded to the ability of your application server / servlet
engine,
such webSphere, JRun, NAS, or whatever.
There is an alternative way to achieve load balancing: CORBA
One of the goals of CORBA is load balancing (It really works!).
The server implementation may be with EJB, C++...
In my opinion, this architecture is closer to the idea of 'open systems'.
Anyway, to your particular problem, may be useful to centralize common
resources,
(session information) in individual machines, and accesing it from servlets.
Note that I'm not talking about Session objects of JSDK, but an alternative way
for saving session data.
Hope it helps...
David Mossakowski wrote:
> 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.
--
------------------------------------------------
Manuel Hurtado Sanchez
Telefonica Data
Phone: +34 917548650
Fax: +34 917548692
Julian Camarillo,6
28037 Madrid, Spain.
------------------------------------------------
___________________________________________________________________________
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