ab command principle Apache's ab command simulates multi-threaded concurrent requests to test server load pressure. It can also test the pressure of other web servers such as nginx, lighthttp, and IIS. In the case of insufficient bandwidth, it is best to test locally. It is recommended to use another or multiple servers on the intranet to test through the intranet. The data obtained in this way will be much more accurate. Remotely stress testing a web server often does not produce satisfactory results (due to excessive network latency or insufficient bandwidth) Download and install: Find httpd-2.2.21-win32-x86-no_ssl.msi Parameter documentation: run: In Windows system, open the cmd command line window and locate the bin directory of the apache installation directory Type the command: ab -n 800 -c 800 http://192.168.0.10/ (-n sends 800 requests, -c simulates 800 concurrency, which is equivalent to 800 people accessing at the same time, followed by the test URL) ab -t 60 -c 100 http://192.168.0.10/ //If you need to include parameters in the url, do this p.txt is in the same directory as ab.exe Result parameter explanation: Benchmarking 192.168.0.10 (be patient)
Document Path: / Concurrency Level: 800
The response status of all requests in the entire scenario. In the scenario each request has a response time where 50% of the users have a response time of less than 571 milliseconds You may also be interested in:
|
<<: jQuery implements the drop-down box for selecting the place of residence
>>: Analysis of the principle of using PDO to prevent SQL injection
vue+element UI encapsulates a public function to ...
Zabbix 2019/10/12 Chenxin refer to https://www.za...
I believe that the Internet has become an increas...
Contents of this article: Page hollow mask layer,...
Although you think it may be a browser problem, i...
In the following example, when the width of the td...
1. Introduction resolv.conf is the configuration ...
MySQL allows you to create multiple indexes on th...
Compared with vue2, vue3 has an additional concep...
Table of contents Scenario Requirements glibc ver...
This article shares the specific code of Vue+Webs...
Table of contents Function call optimization Func...
This post introduces a set of free Photoshop wire...
<br />Original text: http://andymao.com/andy...
When developing a mobile page recently, I encount...