Node.js & Apache server static file pressure test

The Static file model: jquery.simplePagination.js  (11.4 KB)
Pressure testing tool: Apache JMeter
Computer os: macOS Mojave
CPU:2.2GHz Intel Corei7 (4cores)
RAM:16GB


JMeter command line:

# jmeter -n -t your-project.jmx

3000 thread
[Node.js]
summary =   3000 in 00:00:05 =  641.3/s Avg:   482 Min:     2 Max:  2126 Err:    32 (1.07%)

[Apache]
summary =   3000 in 00:00:29 =  102.5/s Avg:  4392 Min:     0 Max: 26829 Err:   144 (4.80%)


2000 thread
[Node.js]
summary =   2000 in 00:00:02 =  800.6/s Avg:   209 Min:     2 Max:   777 Err:     5 (0.25%)

[Apache]
summary =   2000 in 00:00:29 =   69.6/s Avg:  7533 Min:     0 Max: 26793 Err:   268 (13.40%)


1000 thread
[Node.js]
summary =   1000 in 00:00:02 =  616.1/s Avg:   425 Min:     1 Max:  1322 Err:     0 (0.00%)

[Apache]
summary =   1000 in 00:00:27 =   37.3/s Avg:   167 Min:     2 Max: 26065 Err:     5 (0.50%)


500 thread
[Node.js]
summary =    500 in 00:00:01 =  371.7/s Avg:    50 Min:     1 Max:   324 Err:     0 (0.00%)

[Apache]
summary =    500 in 00:00:02 =  327.4/s Avg:    42 Min:     1 Max:   325 Err:     0 (0.00%)

留言

熱門文章