Costin Manolache wrote:
> 
> >  Costin
> >
> > I had already rewrotten some of the C part before, so I think I could
> > reuse/merge your solution, if it is possible to borrow code from
> > Jakarta.
> 
> Both projects are under Apache, it's ok to do that but it would be much
> better to do the changes under tomcat.

+/- 0 on this point.

> 
> > The main problem with load-balancing is that JServ's current
> > implementation seems to break the 2.2 specs.
> 
> Why? I think it will work fine if you just change the name of the cookie
> to be the "standard" one.
> The "apache-config" generator will ask apache to do balancing only
> for "distributable" web-apps.
JServ 1.1 create one coookie name / zone (see what's happening on the
FAQ on java.apache.org when displaying the cookies :
JServSessionIdjikes=dyguidu
which was a way to : 
- allow load-balancing of zones on different JServs (in the same virtual
host)
- create context sessions for zones, useful for ISP by exmples.

 
> > But I think that there is a place for a trivial (vs Corba) but efficient
> > (scales linear, no SPF) load-balancing mechanism, so I'll keep it as is
> > for a first draft.
> > Is there something written on how to separate the whole thing in
> > separate modules ?
> 
> It's not very hard, the only problem is inter-module communication.
> If you just want to set the "worker" name you can use a "note" in request_rec.
> If you need to query the workers probably you need to make calls to methods
> in another module. The easy way is to get the module struct and set function
> pointers inside. In Apache 2.0 there is a hook API.
> Of course, we need to define the API for communication, but that's another issue.
> 
> Can we move the discution on tomcat-dev ? There are many other people
> interested on this subject, and I don't know if they subscribe to java-apache
> ( and I read it weekly )
are there any people around (in jserv area) that don't read jakarta
mailing-lists ? please tell us.
btw, i'll be away for some days, so I won't read emails.
> 
> Costin
> 
Jean-Luc


--
----------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to