tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Drake" <...@pobox.com>
Subject Re: tom4 session and loadbalancing / Distributed Session Management
Date Wed, 09 Jan 2002 09:32:46 GMT
Michael:

I've been focusing on finding paid work, however, the Tomcat side
of things is pretty much done. What remains is:

- Completion of Valve (that notifies session manager when a request
  is complete). Craig tells me the code for this needs a little work, and
  I'm waiting for him to provide some more details about this.
- Session ID mangling.
- Apache Connector changes - No action has occurred on this,
  I'm dependant on someone else making these changes. I'm hoping
  that Costin will do this when he's done with the 4.02 release work
- Final integration and testing

Note. The 'session' locking feature that I added is probably not necessary
as long as server / session affinity is in place. This should either be
disabled
or made 'optional'.

Lastly, I got to thinking that it should be possible to have a Tomcat only
load balancing / fail-over solution. What's needed is a Tomcat front-end
on which is deployed a new servlet that would do a simple round-robin
load-balancing, but when jsessionid's are present, route them to the
session host only, unless the session host doesn't respond, in which case
it should be re-routed to another available instance.

So, I started writing some code to do this, and then got side-tracked
looking
for work again. Nasty things, bills.

I'm still plugging away, however,

Tom


----- Original Message -----
From: "Michael Remme" <mremme@braintags.de>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, January 09, 2002 12:04 AM
Subject: AW: tom4 session and loadbalancing / Distributed Session Management


| Hi Tom,
|
| anything new about this theme?
|
| Best, Michael
|
| > -----Urspr├╝ngliche Nachricht-----
| > Von: Tom Drake [mailto:rtd@pobox.com]
| > Gesendet: Sonntag, 16. Dezember 2001 17:02
| > An: Tomcat Users List
| > Cc: Tomcat Dev List
| > Betreff: Re: tom4 session and loadbalancing / Distributed Session
| > Management
| >
| >
| > Michael:
| >
| > As it happens, I am currently working on a solution to this problem.
| > Look for messages in the archive with 'Distributed Session
| > Management' in the subject.
| >
| > In a nutshell, all tomcat instances in a 'cluster' will be able to share
| > session data.
| >
| > I've already completed a multicast-style RMI registry that allows
| > all instances in the cluster to easily discover each other. I'm
currently
| > working the kinks out of the distributed session/object management
| > bits. When this is done (should be done in a day or two), all that's
| > left is to integrate it into Tomcat.
| >
| > In short, the distributed session management feature is nearing
| > completion.
| >
| > I'm creating pretty comprehensive JUnit tests along with this code, so
my
| > confidence level will be high that this feature really does work when I
| > hand it off.
| >
| > Tom Drake
| >
| > P.S. I'm cross-posting to the dev list because I think that the
developers
| > will
| > probably be interested in this as well.
| >
| >
| > ----- Original Message -----
| > From: "Michael Remme" <mremme@braintags.de>
| > To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
| > Sent: Saturday, December 15, 2001 5:46 PM
| > Subject: tom4 session and loadbalancing
| >
| >
| > | mod_jk is running here now with tomcat 4, but i have the problem, that
| > | running sessions are not recognized. The loadbalancer is sending the
| > | requests to different servers and not, like described, back to the
| > | session-host. Is there anything know, what to do?
| > |
| > | Best, Michael
| > |
| > | Virengepruft vom G DATA AntiVirenKit
| > |
| > |
| > | --
| > | To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
| > | For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
| > | Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
| > |
| > |
| > |
| >
| >
| > --
| > To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
| > For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
| > Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
| >
| >
|
| Virengepr├╝ft vom G DATA AntiVirenKit
|
|
| --
| To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
| For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
| Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
|
|
|


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message