> 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.
> 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.
> 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 )
Costin
--
----------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]