You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Schreibman, David" <DS...@eTranslate.com> on 2001/10/05 01:58:57 UTC

[PATCH] SingleThreadModel Pool for TC 3.3

I'm submitting this with mixed feelings since the recent discussion has
shown strong opinions about the utility of the SingleThreadModel.

I was already in the middle of doing the work when all that came about so I
went ahead and finished it.  After reaping the benefits of Tomcat for a
couple of years I've been wanting to give something back.  So after a recent
post about how to help, I went into bugzilla and found this issue.  I don't
even use STM, but was somewhat familiar with the ServletHandler and figured
I could contribute here.

At a minimum, I had fun doing the work and was able to learn a bit more
about the code base.

Maybe it will be of some use to others.

Looking forward to more good stuff from this project!!

-David


Re: [PATCH] SingleThreadModel Pool for TC 3.3

Posted by Bojan Smojver <bo...@binarix.com>.
"Schreibman, David" wrote:
> 
> I'm submitting this with mixed feelings since the recent discussion has
> shown strong opinions about the utility of the SingleThreadModel.

STM as a concept has so many flaws that I tend to side with Jon (ie. it
should be dropped from the spec). Personally, I was dragged into it as
well, thinking that it solves real world problems. But, as we all know,
there is no such thing as free lunch. Things have to be done the hard
way (ie. one actually has to use the brain while coding).

> I was already in the middle of doing the work when all that came about so I
> went ahead and finished it.  After reaping the benefits of Tomcat for a
> couple of years I've been wanting to give something back.  So after a recent
> post about how to help, I went into bugzilla and found this issue.  I don't
> even use STM, but was somewhat familiar with the ServletHandler and figured
> I could contribute here.
> 
> At a minimum, I had fun doing the work and was able to learn a bit more
> about the code base.
> 
> Maybe it will be of some use to others.
> 
> Looking forward to more good stuff from this project!!

Thank you for your patch David. Given that TC 3.3 is close to the
release, I don't think that this patch will go into it. This has nothing
to do with the code, but rather with the fact that when things are close
to the release, all changes are more scrutinized then at other times.

But I'm sure that other 3.3 guys will also give it a look for subsequent
3.3.x releases.

Bojan

Tomcat 4.0 Cluster support

Posted by Michael Scott <ms...@mindcharger.com>.
Can anyone tell me what the current status of the clustering support in
Tomcat 4.0 is?  I need to set up a redundant cluster of Tomcat machines in
the next few months, and I'd prefer to work with the existing code, rather
than develop something from scratch.

Michael Scott
Mind Charger Technologies
mscott@mindcharger.com
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.286 / Virus Database: 152 - Release Date: 09/10/2001


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: [PATCH] SingleThreadModel Pool for TC 3.3

Posted by Bill Barker <wb...@wilshire.com>.
As promised, I've just checked this in.  I've modified the original patch
slightly so that the configuration can be set as options to
Servlet22Interceptor.  I've also added an option to disable pooling so that
we don't get flooded with "why doesn't my CounterServlet work anymore"
messages.  Hopefully this will end the recuring "how to handle STM servlets"
debate (at least on the 3.3 side of the list ;)
----- Original Message -----
From: "Schreibman, David" <DS...@eTranslate.com>
To: <to...@jakarta.apache.org>
Sent: Thursday, October 04, 2001 4:58 PM
Subject: [PATCH] SingleThreadModel Pool for TC 3.3


> I'm submitting this with mixed feelings since the recent discussion has
> shown strong opinions about the utility of the SingleThreadModel.
>
> I was already in the middle of doing the work when all that came about so
I
> went ahead and finished it.  After reaping the benefits of Tomcat for a
> couple of years I've been wanting to give something back.  So after a
recent
> post about how to help, I went into bugzilla and found this issue.  I
don't
> even use STM, but was somewhat familiar with the ServletHandler and
figured
> I could contribute here.
>
> At a minimum, I had fun doing the work and was able to learn a bit more
> about the code base.
>
> Maybe it will be of some use to others.
>
> Looking forward to more good stuff from this project!!
>
> -David
>
>


*----*

This message is intended only for the use of the person(s) listed above 
as the intended recipient(s), and may contain information that is 
PRIVILEGED and CONFIDENTIAL.  If you are not an intended recipient, 
you may not read, copy, or distribute this message or any attachment.  
If you received this communication in error, please notify us immediately 
by e-mail and then delete all copies of this message and any attachments.


In addition you should be aware that ordinary (unencrypted) e-mail sent 
through the Internet is not secure. Do not send confidential or sensitive 
information, such as social security numbers, account numbers, personal 
identification numbers and passwords, to us via ordinary (unencrypted) 
e-mail. 

Re: [PATCH] SingleThreadModel Pool for TC 3.3

Posted by Bill Barker <wb...@wilshire.com>.
I've looked at it, and will check it in after 3.3 goes final.
----- Original Message -----
From: <cm...@yahoo.com>
To: <to...@jakarta.apache.org>
Sent: Thursday, October 04, 2001 6:07 PM
Subject: Re: [PATCH] SingleThreadModel Pool for TC 3.3


> Thanks David.
>
> I don't like STM, but since it's part of the spec we need to support it.
> And since you spent the time to write it, I think we have the duty to
> check it and find a way to check it in:-). Unfortunately,
> not for 3.3, it's too late. But 3.3.1 can include it.
>
> Costin
>
>
> On Thu, 4 Oct 2001, Schreibman, David wrote:
>
> > I'm submitting this with mixed feelings since the recent discussion has
> > shown strong opinions about the utility of the SingleThreadModel.
> >
> > I was already in the middle of doing the work when all that came about
so I
> > went ahead and finished it.  After reaping the benefits of Tomcat for a
> > couple of years I've been wanting to give something back.  So after a
recent
> > post about how to help, I went into bugzilla and found this issue.  I
don't
> > even use STM, but was somewhat familiar with the ServletHandler and
figured
> > I could contribute here.
> >
> > At a minimum, I had fun doing the work and was able to learn a bit more
> > about the code base.
> >
> > Maybe it will be of some use to others.
> >
> > Looking forward to more good stuff from this project!!
> >
> > -David
> >
> >
>
>


*----*

This message is intended only for the use of the person(s) listed above 
as the intended recipient(s), and may contain information that is 
PRIVILEGED and CONFIDENTIAL.  If you are not an intended recipient, 
you may not read, copy, or distribute this message or any attachment.  
If you received this communication in error, please notify us immediately 
by e-mail and then delete all copies of this message and any attachments.


In addition you should be aware that ordinary (unencrypted) e-mail sent 
through the Internet is not secure. Do not send confidential or sensitive 
information, such as social security numbers, account numbers, personal 
identification numbers and passwords, to us via ordinary (unencrypted) 
e-mail. 

Re: [PATCH] SingleThreadModel Pool for TC 3.3

Posted by cm...@yahoo.com.
Thanks David.

I don't like STM, but since it's part of the spec we need to support it.
And since you spent the time to write it, I think we have the duty to
check it and find a way to check it in:-). Unfortunately,
not for 3.3, it's too late. But 3.3.1 can include it.

Costin


On Thu, 4 Oct 2001, Schreibman, David wrote:

> I'm submitting this with mixed feelings since the recent discussion has
> shown strong opinions about the utility of the SingleThreadModel.
> 
> I was already in the middle of doing the work when all that came about so I
> went ahead and finished it.  After reaping the benefits of Tomcat for a
> couple of years I've been wanting to give something back.  So after a recent
> post about how to help, I went into bugzilla and found this issue.  I don't
> even use STM, but was somewhat familiar with the ServletHandler and figured
> I could contribute here.
> 
> At a minimum, I had fun doing the work and was able to learn a bit more
> about the code base.
> 
> Maybe it will be of some use to others.
> 
> Looking forward to more good stuff from this project!!
> 
> -David
> 
>