もう少し頑張ってみるらしい。
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ Benchmarking localhost (be patient) Server Software: Apache-Coyote/1.1 Server Hostname: localhost Server Port: 80 Document Path: /employee-seasar2-teeda/view/emp/empList.html Document Length: 16732 bytes Concurrency Level: 10 Time taken for tests: 180.580489 seconds Complete requests: 50000 Failed requests: 19 (Connect: 0, Length: 19, Exceptions: 0) Write errors: 0 Non-2xx responses: 19 Total transferred: 845743153 bytes HTML transferred: 836290095 bytes Requests per second: 276.88 [#/sec] (mean) Time per request: 36.116 [ms] (mean) Time per request: 3.612 [ms] (mean, across all concurrent requests) Transfer rate: 4573.70 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.2 0 10 Processing: 3 35 25.3 30 835 Waiting: 3 35 25.3 30 835 Total: 3 35 25.3 30 835 Percentage of the requests served within a certain time (ms) 50% 30 66% 37 75% 43 80% 47 90% 59 95% 71 98% 89 99% 102 100% 835 (longest request)
Teedaとコンテナにも手が入ったり、結構な改善が…。
コンテナ側は、synchronizedを、色んな所からとったらし。
Tigerでも、同期コストはやっぱりタダでは無いみたい。
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ Benchmarking localhost (be patient) Server Software: Apache-Coyote/1.1 Server Hostname: localhost Server Port: 80 Document Path: /employee-seasar2-teeda/view/emp/empList.html Document Length: 16732 bytes Concurrency Level: 10 Time taken for tests: 160.536511 seconds Complete requests: 50000 Failed requests: 19 (Connect: 0, Length: 19, Exceptions: 0) Write errors: 0 Non-2xx responses: 19 Total transferred: 845768803 bytes HTML transferred: 836315556 bytes Requests per second: 311.46 [#/sec] (mean) Time per request: 32.107 [ms] (mean) Time per request: 3.211 [ms] (mean, across all concurrent requests) Transfer rate: 5144.91 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.4 0 14 Processing: 3 31 24.6 27 901 Waiting: 3 31 24.4 26 901 Total: 3 31 24.6 27 901 Percentage of the requests served within a certain time (ms) 50% 27 66% 33 75% 38 80% 41 90% 52 95% 65 98% 83 99% 98 100% 901 (longest request)