rustler2000@pc-rustler2000-01:~/tmp$ ab -k -c 100 -t 60s -n 3000000 127.0.0.1:8888/ # golang
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (be patient)
Completed 300000 requests
Completed 600000 requests
Completed 900000 requests
Completed 1200000 requests
Completed 1500000 requests
Completed 1800000 requests
Completed 2100000 requests
Completed 2400000 requests
Completed 2700000 requests
Completed 3000000 requests
Finished 3000000 requests
Server Software:
Server Hostname: 127.0.0.1
Server Port: 8888
Document Path: /
Document Length: 153 bytes
Concurrency Level: 100
Time taken for tests: 58.821 seconds
Complete requests: 3000000
Failed requests: 0
Keep-Alive requests: 3000000
Total transferred: 885000000 bytes
HTML transferred: 459000000 bytes
Requests per second: 51001.99 [#/sec] (mean)
Time per request: 1.961 [ms] (mean)
Time per request: 0.020 [ms] (mean, across all concurrent requests)
Transfer rate: 14692.96 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 4
Processing: 0 2 1.0 2 33
Waiting: 0 2 1.0 2 33
Total: 0 2 1.0 2 33
Percentage of the requests served within a certain time (ms)
50% 2
66% 2
75% 2
80% 3
90% 3
95% 4
98% 4
99% 5
100% 33 (longest request)
rustler2000@pc-rustler2000-01:~/tmp$ ab -k -c 100 -t 60s -n 3000000 127.0.0.1:8080/ # nginx
This is ApacheBench, Version 2.3 <$Revision: 1706008 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 127.0.0.1 (be patient)
Completed 300000 requests
Completed 600000 requests
Finished 894746 requests
Server Software: nginx/1.15.8
Server Hostname: 127.0.0.1
Server Port: 8080
Document Path: /
Document Length: 153 bytes
Concurrency Level: 100
Time taken for tests: 60.000 seconds
Complete requests: 894746
Failed requests: 0
Non-2xx responses: 894746
Keep-Alive requests: 885847
Total transferred: 275537273 bytes
HTML transferred: 136896138 bytes
Requests per second: 14912.41 [#/sec] (mean)
Time per request: 6.706 [ms] (mean)
Time per request: 0.067 [ms] (mean, across all concurrent requests)
Transfer rate: 4484.65 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 7
Processing: 0 7 24.4 6 2309
Waiting: 0 7 24.4 6 2309
Total: 0 7 24.4 6 2309
Percentage of the requests served within a certain time (ms)
50% 6
66% 7
75% 7
80% 7
90% 8
95% 9
98% 11
99% 14
100% 2309 (longest request)
rustler2000@pc-rustler2000-01:~/tmp$ siege -b -c 100 -t 60s -R <(echo connection = keep-alive) 127.0.0.1:8888/ # golang
** SIEGE 3.0.8
** Preparing 100 concurrent users for battle.
The server is now under siege...
Lifting the server siege.. done.
Transactions: 1860876 hits
Availability: 100.00 %
Elapsed time: 59.18 secs
Data transferred: 271.52 MB
Response time: 0.00 secs
Transaction rate: 31444.34 trans/sec
Throughput: 4.59 MB/sec
Concurrency: 99.74
Successful transactions: 1860876
Failed transactions: 0
Longest transaction: 0.40
Shortest transaction: 0.00