OK my knowledge was weak and I am also not an expert on TC internals.
But pipelining makes only sense when the requests could be useful parallel
processed (e.g. CPU intensive and more CPU's available) and do not depend on each other.
The responses must be delivered anyhow in incoming sequence.
And the client has the task of matching responses to requests.

----- Original Message ----- From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Saturday, June 25, 2005 6:06 PM
Subject: RE: configure HTTP1.1 pipline depth on Tomcat 5.0


From: Caldarale, Charles R
Subject: RE: configure HTTP1.1 pipline depth on Tomcat 5.0

> And so TC will also not accept another request before it
> processed the last

Can you tell us where in the Tomcat code such a restriction
is implemented?  I haven't been able to find it, although I'm
certainly not an expert on Tomcat internals.

To answer my own question, the serialization of requests occurs in:
org.apache.coyote.http11.Http11Processor
where there's a loop in the process() method that insures each pipelined
request is responded to before starting on the next.  Note that this is
a serialization of processing, not accepting, so there does not appear
to be any limit on the number of requests that can be pipelined together
in a single transmission.  There is a configurable limit on the number
of keep alives that will be tolerated on an otherwise idle connection.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


        

        
                
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to