There is another option.

You can get a hardware load balancer that is 'session aware'.  Meaning it
directs requests belonging to a session to the same web-server.  Check out
Cisco GlobalDirector and F5 3DNS or software solutions from Resonate.  (There
are still others.)

So there are 3 levels on which you can do it.
1. DNS level (harware/software)
2. Web server (Apache) OR Application Server (Websphere)
3. Your own load balancing servlet

dave.

"Andres G. Portillo D." wrote:

> Hi everybody
>
>     I have an application that uses servlets as fronted, and one of its
> main requirements is to be highly scalable, so I want to be able to
> split
> my app servlets between several web servers. My app uses the Session API
> to keep track of the user events, so I need to have a way that if a user
> first hits in a webserver and then in another webserver the servlet in
> the new webserver can access the session info of the first one.
>
>     As long as I can think of I see the next two ways to handle this:
>
>     a) Get (Buy or Program) a web balancer device that is smart enough
> to get some session info from every request, so it can redirect all the
> request from a user to the same webserver. Do you know of some similar
> device?
>
>     b) Have a servlet engine that has support to share session across
> several webservers, this could be implemented through a shared database.
> I would prefer just to buy a product like this, but if not I'd suppose
> I'll to program it.
>
>     Is there any other choice that I'm missing?
>
> Thanks in advance for your time.
>
> bye
>
> andres
>
> ___________________________________________________________________________
> 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

--
David Mossakowski              [EMAIL PROTECTED]
Programmer                           212.310.7275
Instinet Corporation

"I don't sit idly by, I'm planning a big surprise"

___________________________________________________________________________
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