Apache server test method under Windows

  

Through the stress test on the server, you can get an idea of ​​the load capacity of a server. The following is the Apache server test method under Windows.

The Apache server comes with a test program Ab.exe that can be easily used. .

The command is ab -c requests -n number of threads URL (recommended to enter the landing page). .

The number of threads should not be too large. According to your computer's ability to withstand. . .

There are restrictions on the number of requests to prevent someone from messing with Ddos others. .

Example: ab -n 10 -c 10 http://192.168.1.3/index.html

The result is as follows. .

D:\\Apache\\bin>ab -n 10 -c 10 http://192.168.1.3/index.html

(The above is the command to enter)

Benchmarking 192.168.1.3 (be patient).....done

Server Software: Apache/2.0.63

(Target server Apache version number)

Server Hostname: 192.168.1.3

(target server host header name)

Server Port: 80 //This article is transferred from www.45it.com computer software and hardware application network

(target server Apache Port)

Document Path: /index.html

(Destination Page Relative Address)

Document Length: 292 bytes

(Destination Page Size) < Br>

Concurrency Level: 10

(Concurrent Threads)

Time taken for tests: 0.140625 seconds

(Usage time)

Complete Requests: 10

(number of successful requests)

Failed requests: 0

(number of failed requests)

Write errors: 0

Number of errors occurred)

Total transferred: 5750 bytes

(all used traffic)

HTML transferred: 2920 bytes

(Html ​​file usage traffic

Requests per second: 71.11 [#/sec] (mean)

(Indicator 1 average requests per second)

Time per request: 140.625 [ms] ( Mean)

(indicator 2 average transaction response time)

Time per request: 14.063 [ms] (mean, across all concurrent requests)

(request time per second)

Transfer rate: 35.56 [Kbytes/sec] received

(Transmission rate)

Connection Times (ms)

min mean[+/-sd ] median max

Connect: 0 0 0.0 0 0

Processing: 109 124 16.3 140 140

Waiting: 109 124 16.3 140 140

Total: 109 124 16.3 140 140

(Response for all requests)

Percentage of the requests served within a certain time (ms)

50% 140

66% 140

75% 140

80% 140

90% 140

95% 140

98% 140

99% 140

100% 140 (longest request)

Each request has a response time. .

For example, 50% of users have a response time of less than 140 milliseconds. .

The maximum response time is less than 140 milliseconds (at 100%). .

How to shut down Windows8 Consumer Preview?

How to set the Win7 screen refresh rate? How to set the screen refresh rate of Win7 system

How Win10 Eliminates Arrows for Desktop Shortcut Icons

Tips for using disk scanning under Windows XP

How win7 uses the system to repair the CD

Where is the temporary folder of Win10 system IE browser?

Win10 install JADE6.5 prompts missing files how to do?

</a></p> <p><a href='https://www.windows10windows7.com/windowsjc/gywin/100152237.html' target="_blank">How to adjust the DPI settings of Windows7, easy to read </a></p> <p><a href='https://www.windows10windows7.com/windowsjc/gywin/100169880.html' target="_blank">How to open or close win7 firewall?</a></p> </div> </div><div class=wxf4></div> <div class="m2"> <div class="ekmbngbx ekmbngbx_c"> <label>Windows system</label> </div> <div class="uierbxbsh lihen l120 ovnpxrx_win pdt"> <li class=lm><a href="/wxp/">Windows XP System Tutorial</a></li> <li class=lm><a href="/w7/">Windows 7 System Tutorial</a></li> <li class=lm><a href="/w8/">Windows 8 System Tutorial</a></li> <li class=lm><a href="/w10/">Windows 10 System Tutorial</a></li> <li class=lm><a href="/win2003/">Windows 2003 System Tutorial</a></li> <li class=lm><a href="/win2008/">Windows 2008 System Tutorial</a></li> <li class=lm><a href="/windowsvista/">Windows Vista System Tutorial</a></li> <li class=lm><a href="/windowsjc/">Windows tutorial synthesis </a></li> <li class=lm><a href="/windowsserver/">Windows Server System Tutorial</a></li> <li class=lm><a href="/linux/">Linux system Tutorial</a></li> <li class=lm><a href="/ruanjian/">Computer software Tutorial</a></li> <li class=lm><a href="/windowsnt/">Windows NT Tutorial</a></li> </div> </div> </div> </div> <div class="qcieb_es_1"></div> </div> </div> <div class="diianbgdag"> Copyright © <a href="https://www.windows10windows7.com" target="_blank" title="">Windows knowledge</a> All Rights Reserved </div> </body> </html>