You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael Remme <mr...@braintags.de> on 2002/01/09 09:04:53 UTC
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" <mr...@braintags.de>
> To: "Tomcat Users List" <to...@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: <ma...@jakarta.apache.org>
> | For additional commands: <ma...@jakarta.apache.org>
> | Troubles with the list: <ma...@jakarta.apache.org>
> |
> |
> |
>
>
> --
> To unsubscribe: <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>
>
>
Virengeprüft vom G DATA AntiVirenKit
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: tom4 session and loadbalancing / Distributed Session Management
Posted by Tom Drake <rt...@pobox.com>.
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" <mr...@braintags.de>
To: "Tomcat Users List" <to...@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" <mr...@braintags.de>
| > To: "Tomcat Users List" <to...@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: <ma...@jakarta.apache.org>
| > | For additional commands: <ma...@jakarta.apache.org>
| > | Troubles with the list: <ma...@jakarta.apache.org>
| > |
| > |
| > |
| >
| >
| > --
| > To unsubscribe: <ma...@jakarta.apache.org>
| > For additional commands: <ma...@jakarta.apache.org>
| > Troubles with the list: <ma...@jakarta.apache.org>
| >
| >
|
| Virengeprüft vom G DATA AntiVirenKit
|
|
| --
| To unsubscribe: <ma...@jakarta.apache.org>
| For additional commands: <ma...@jakarta.apache.org>
| Troubles with the list: <ma...@jakarta.apache.org>
|
|
|
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>