Jmeter test pressure problems

Source: Internet
Author: User
There are two identical http server programs. A is written in php and B is written in golang. Through the jmeter stress test, the service test result is 200 + reqsec, and the server resources in the test are also exhausted. Test Service B under the same conditions, and B's processing is in good condition. Adding parameters... there are two identical http server programs. A is written in php and B is written in golang.

Through the jmeter stress test, the service test result is 200 + req/sec, and the server resources in the test are also exhausted.

Test Service B under the same conditions, and B's processing is in good condition. Increase the parameter test and the error rate of jmeter increases when the final test gets the semi req/sec. The error message is the java exception of the Client: Operation timed out, which means the server response is not received. At this time, server resources are rarely used (cpu ~ 15%, the memory is much left, and the server configuration is 4-core 16 GB ). We don't think it is enough. We press the two machines together. As a result, the concurrency of the two machines is also about semi req/sec. The local bandwidth is 150 Mbps, and the server bandwidth is 20 Mbps. The jmeter displays + KB/s of network traffic.

Is this the maximum load on the server? If not, how can we measure the maximum concurrency of server load?

Reply content:

There are two identical http server programs. A is written in php and B is written in golang.

Through the jmeter stress test, the service test result is 200 + req/sec, and the server resources in the test are also exhausted.

Test Service B under the same conditions, and B's processing is in good condition. Increase the parameter test and the error rate of jmeter increases when the final test gets the semi req/sec. The error message is the java exception of the Client: Operation timed out, which means the server response is not received. At this time, server resources are rarely used (cpu ~ 15%, the memory is much left, and the server configuration is 4-core 16 GB ). We don't think it is enough. We press the two machines together. As a result, the concurrency of the two machines is also about semi req/sec. The local bandwidth is 150 Mbps, and the server bandwidth is 20 Mbps. The jmeter displays + KB/s of network traffic.

Is this the maximum load on the server? If not, how can we measure the maximum concurrency of server load?

I am also in your B situation, but I still haven't found the reason. It is also because all kinds of hardware resources are not used up, plus connection refused timeout. Do you know if you have solved this problem?

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.