tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <>
Subject Re: Tomcat 6's nio protocol is slower than the regular HTTP/1.1protocol
Date Wed, 02 Jan 2008 16:02:23 GMT
Caldarale, Charles R schrieb:
>> Does the new io really slower then the regular protocol?
> Yes; read this:
>  - 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



To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message