Environment:
Operating system: CentOS 6.5 x64
CPU:32 Core
Memory: 32G
Web server: Tomcat 6.x
jdk:1.6x
Test environment:
Operating system: CentOS 6.5 x64
CPU:32 Core
Memory: 32G
AB as a performance test tool
Before performing the performance test, the service-side optimization (network parameters such as the number of Linux file handles, sockets, etc.) is performed for both client and server. On the server side, the bio short connection and the bio long connection for Tomcat connector are tested separately, and the specific parameters are not detailed here. Request page 4k size. The test results are as follows:
ab-c 10000-n 30000 http://192.98.12.241:8080/ime-server/
---Long connection results
requests per second:12646.85 [#/sec] (mean)
Time per request:790.711 [MS] (mean)
Time per request:0.079 [MS] (mean, across all concurrent requests)
Transfer rate:11189.40 [kbytes/sec] received
---Short connection results
requests per second:4048.03 [#/sec] (mean)
Time per request:2470.339 [MS] (mean)
Time per request:0.247 [MS] (mean, across all concurrent requests)
Transfer rate:3714.17 [kbytes/sec] receivedspecific parameters, please consult with me if necessary. Article reproduced please specify the source: http://www.cnblogs.com/likehua/p/4215249.html
Tomcat long connection and short connection performance test