How should we do the following stress testing?

Source: Internet
Author: User
How should we do the following stress testing? {Code...} is the stress testing software included in apache? This is the stress test result of a PHP framework. How should we perform the stress test like the following?

Short Link (the link is closed after each request is completed, and the next request creates a new link): condition: the stress testing script opens 500 concurrent threads to simulate 500 concurrent users. Each thread links Workerman for times, result of one request sent at a link: throughput: 1.9 W/S, cpu usage: 32% long link (the link is not closed after each request, and the link will be reused next time): condition: the stress testing script opens 2000 concurrent threads to simulate 2000 concurrent users. Each thread connects to Workerman once, and each link sends 36.7 requests. Result: throughput: 69% W/S, cpu usage: memory: the memory of each process is stable at 6444 kb without memory leakage.

Which stress testing software comes with apache?
This is the stress test result of a PHP framework.

Reply content:

How should we do the following stress testing?

Short Link (the link is closed after each request is completed, and the next request creates a new link): condition: the stress testing script opens 500 concurrent threads to simulate 500 concurrent users. Each thread links Workerman for times, result of one request sent at a link: throughput: 1.9 W/S, cpu usage: 32% long link (the link is not closed after each request, and the link will be reused next time): condition: the stress testing script opens 2000 concurrent threads to simulate 2000 concurrent users. Each thread connects to Workerman once, and each link sends 36.7 requests. Result: throughput: 69% W/S, cpu usage: memory: the memory of each process is stable at 6444 kb without memory leakage.

Which stress testing software comes with apache?
This is the stress test result of a PHP framework.

Isn't this a workerman framework?
Long link 36.7 W/S qps, this framework is quite good bi

AB can be tested, but http protocol is tested.

Workerman should have a method for stress testing.

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.