Tomcat long connection and short connection performance test

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.