You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Cassidy <da...@twocats.co.uk> on 2008/01/03 10:22:38 UTC

Re: Tomcat 6's nio protocol is slower than the regular HTTP/1.1protocol

Did anyone do the comparison between ajp13 and http for the protocol ?

I'd like to understand what the test cases were that were used for the
test. 
ie if the application takes a second to make the resulting html
if it takes 2 seconds to make the html how does that affect the
performance ?

D

On Wed, 2008-01-02 at 17:02 +0100, Rainer Jung wrote:
> Caldarale, Charles R schrieb:
> >> Does the new io really slower then the regular protocol?
> > 
> > Yes; read this:
> > http://marc.info/?l=tomcat-user&m=119635696312254&w=2
> > 
> >  - Chuck
> 
> and: speed != performance
> 
> As an approximation:
> 
> Throughput * AvgResponseTime = Parallelity
> 
> Naively speed is the same as average response time. In most cases its
> better to think of performance as high throughput with acceptable
> response time.
> 
> The formula shows you, that a solution, that is able to handle a very
> high parallelity could have a better performance (=throughput), than
> another one, even if the average response time might be worse.
> 
> The NIO connector should be good in allowing a higher parallelism and
> thus achieve good throughput, even if the response times are worse than
> with the traditional connector.
> 
> How important this is depends on the application scenario.
> 
> Its never enough to only think about speed or only think about
> throughput when talking about high load. You need to define your minimal
> requirements for both of them and then search for the corresponding
> solution.
> 
> Regards,
> 
> Rainer
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org