tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: TC4-m4 CPU per request increase and thread queue locking?
Date Mon, 06 Nov 2000 02:59:11 GMT
Nick Bauman wrote:

> Remy,
>
> Where is the source, it's not in the M4 sources, I just looked. Is it only
> in CVS?
>

I just double checked, and the relevant files are indeed in the m4 source
bundle.  Look in directory
"catalina/src/share/org/apache/catalina/connector/http" for the HttpConnector and
HttpProcessor classes -- the source distribution (jakarta-tomcat-4.0-m4-src.xxx)
is just a snapshot of the directory structure of the CVS repository.

If you've got the binary distribution (jakarta-tomcat-4.0-m4.xxx), the directory
is "src/catalina/share/org/apache/catalina/connector/http" instead.

Craig


>
> On Sun, 5 Nov 2000, Remy Maucherat wrote:
>
> > ----- Original Message -----
> > From: "Nick Bauman" <nick@cortexity.com>
> > To: <tomcat-dev@jakarta.apache.org>
> > Sent: Sunday, November 05, 2000 5:24 PM
> > Subject: Re: TC4-m4 CPU per request increase and thread queue locking?
> >
> >
> > > On Sun, 5 Nov 2000, Craig R. McClanahan wrote:
> > >
> > > > A very large chunk of Catalina's processing time is consumed by parsing
> > the
> > > > request headers, and converting them into a Request object that is
> > passed on for
> > > > processing.  Volunteers who want one convenient place to start
> > suggesting
> > > > improvements can look at org.apache.connector.http.HttpProcessor --
> > there is an
> > > > instance of this class running for each processor thread that is
> > created.
> > > >
> > >
> > > So does HttpProcessor use a pooler? If not, I would imagine this would be
> > > a huge performace benefit. Is anyone slated to do this?
> >
> > The request parsing has been cut & paste from a very old version of Tomcat,
> > and needs work, esp the HttpProcessor.read() function.
> > I'll probably take care of the optimisation of the connector, but
> > contributions in the "performance" area are more than welcome.
> >
> > Remy
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> >
>
> --
> Nicolaus Bauman
> Software Engineer
> Simplexity Systems
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message