tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Lin <wool...@gmail.com>
Subject Re: Hybrid (NIO+Multithread, SSL enabled) architecture for Coyote
Date Wed, 25 May 2005 16:48:13 GMT
 I took a look at the AB and Rubis numbers. Honestly I don't
understand the rubis graphs. From the AB results, it looks like the
connect, processing and wait times are lower for the hybrid. That's a
good achievement and congrats to you on that.

I'm not convinced of the benefit of the hybrid approach over APR. if
both are equal, then it might be good to have both as options. it's
nice to be able to support /. effect, but in reality that's achieved
by distributing servers across multiple hosting facilities. It's not
achieved through hosting a website on a single quad server supporting
10K concurrent connections. I'm not a committer, so I don't have a say
in what goes into tomcat. thanks for researching NIO and taking time
to post these results.

peter lin


On 5/25/05, Vicenc Beltran Querol <vbeltran@ac.upc.edu> wrote:
> Hi,
> 
> The results of the AB benchmark configured with 20 concurrent clients are posted below,
> If somebody is interested in more configurations (from 20 to 10000 concurrent clients)
> they are available at http://www.bsc.es/edragon/pdf/TestAb.tgz
> 
> BTW, there is also available a comparison between Tomcat and the Hybrid (Tomcat+NIO)
> web servers at http://www.bsc.es/edragon/pdf/TestRubisDynamic.tgz. The comparison is
> based on the RUBiS benchmark and the httperf workload generator.
> 
> 
> Regards,
> 
> -Vicenç
> 
> 
> ./ab -k -c 20 -n 2000000 http://pcbosch:8080/tomcat.gif
> 
> Client: 2 way Xeon 2.4Ghz, 2GB RAM
> Server: 4 way Xeon 1.4Ghz, 2GB RAM
> Network: Gbit
> Java: build 1.5.0_03-b07
> 
> 
> Tomcat 5.5.9
> -------------------------------------------------------------
> -------------------------------------------------------------
> cument Path:          /tomcat.gif
> Document Length:        1934 bytes
> 
> Concurrency Level:      20
> Time taken for tests:   122.460403 seconds
> Complete requests:      2000000
> Failed requests:        0
> Write errors:           0
> Keep-Alive requests:    1980006
> Total transferred:      32937062 bytes
> HTML transferred:       -426963428 bytes
> Requests per second:    16331.81 [#/sec] (mean)
> Time per request:       1.225 [ms] (mean)
> Time per request:       0.061 [ms] (mean, across all concurrent requests)
> Transfer rate:          262.66 [Kbytes/sec] received
> 
> Connection Times (ms)
>               min  mean[+/-sd] median   max
> Connect:        0    0   0.0      0      14
> Processing:     0    0   2.5      0     636
> Waiting:        0    0   2.4      0     636
> Total:          0    0   2.5      0     636
> 
> Percentage of the requests served within a certain time (ms)
>   50%      0
>   66%      1
>   75%      1
>   80%      1
>   90%      1
>   95%      2
>   98%      6
>   99%     11
>  100%    636 (longest request)
> -------------------------------------------------------------
> -------------------------------------------------------------
> 
> 
> 
> 
> Tomcat Hybrid 5.5.9
> -------------------------------------------------------------
> -------------------------------------------------------------
> Document Path:          /tomcat.gif
> Document Length:        1934 bytes
> 
> Concurrency Level:      20
> Time taken for tests:   282.264843 seconds
> Complete requests:      2000000
> Failed requests:        0
> Write errors:           0
> Keep-Alive requests:    2000000
> Total transferred:      33032704 bytes
> HTML transferred:       -426967296 bytes
> Requests per second:    7085.54 [#/sec] (mean)
> Time per request:       2.823 [ms] (mean)
> Time per request:       0.141 [ms] (mean, across all concurrent requests)
> Transfer rate:          114.28 [Kbytes/sec] received
> 
> Connection Times (ms)
>               min  mean[+/-sd] median   max
> Connect:        0    0   0.0      0       1
> Processing:     0    2   1.7      2      24
> Waiting:        0    2   1.7      2      24
> Total:          0    2   1.7      2      24
> 
> Percentage of the requests served within a certain time (ms)
>   50%      2
>   66%      3
>   75%      4
>   80%      4
>   90%      5
>   95%      5
>   98%      6
>   99%      6
>  100%     24 (longest request)
> -------------------------------------------------------------
> -------------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
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