Installed Apache ab for load testing
Using these instructions
Running the basex-node (0.2) Httpserver example
Local thinkpad t42:Result with 100 simultaneous users a constant 4.2 secs andy@ThinkPad-T42:~$ ab -n 300 -c 100 http://localhost:9000/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Finished 300 requests
Server Software:
Server Hostname: localhost
Server Port: 9000
Document Path: /
Document Length: 372 bytes
Concurrency Level: 100
Time taken for tests: 12.555 seconds
Complete requests: 300
Failed requests: 0
Write errors: 0
Total transferred: 130800 bytes
HTML transferred: 111600 bytes
Requests per second: 23.89 [#/sec] (mean)
Time per request: 4185.159 [ms] (mean)
Time per request: 41.852 [ms] (mean, across all concurrent requests)
Transfer rate: 10.17 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 6 8.9 0 25
Processing: 11 3490 1214.0 4172 4232
Waiting: 8 3490 1214.0 4172 4232
Total: 32 3497 1206.5 4172 4232
Percentage of the requests served within a certain time (ms)
50% 4172
66% 4196
75% 4208
80% 4212
90% 4216
95% 4220
98% 4228
99% 4232
100% 4232 (longest request)
On the Readynas pro 2
andy@ThinkPad-T42:~$ ab -n 300 -c 100 http://velvet:9000/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking velvet (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Finished 300 requests
Server Software:
Server Hostname: velvet
Server Port: 9000
Document Path: /
Document Length: 312 bytes
Concurrency Level: 100
Time taken for tests: 13.577 seconds
Complete requests: 300
Failed requests: 0
Write errors: 0
Total transferred: 112800 bytes
HTML transferred: 93600 bytes
Requests per second: 22.10 [#/sec] (mean)
Time per request: 4525.533 [ms] (mean)
Time per request: 45.255 [ms] (mean, across all concurrent requests)
Transfer rate: 8.11 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 16 19.3 4 139
Processing: 64 3795 1179.3 4316 4863
Waiting: 64 3795 1179.3 4316 4863
Total: 77 3811 1173.3 4319 4922
Percentage of the requests served within a certain time (ms)
50% 4319
66% 4334
75% 4364
80% 4422
90% 4619
95% 4779
98% 4853
99% 4879
100% 4922 (longest request)
Using from express faye app
andy@ThinkPad-T42:~$ ab -n 300 -c 100 http://orlop.webhop.info/faye/basex/This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking orlop.webhop.info (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Finished 300 requests
Server Software:
Server Hostname: orlop.webhop.info
Server Port: 80
Document Path: /faye/basex/
Document Length: 312 bytes
Concurrency Level: 100
Time taken for tests: 13.030 seconds
Complete requests: 300
Failed requests: 0
Write errors: 0
Total transferred: 176856 bytes
HTML transferred: 93600 bytes
Requests per second: 23.02 [#/sec] (mean)
Time per request: 4343.177 [ms] (mean)
Time per request: 43.432 [ms] (mean, across all concurrent requests)
Transfer rate: 13.26 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 37 299.6 2 3013
Processing: 68 3590 1217.3 4214 4523
Waiting: 68 3590 1217.3 4212 4522
Total: 90 3628 1264.3 4217 7312
Percentage of the requests served within a certain time (ms)
50% 4217
66% 4316
75% 4320
80% 4322
90% 4336
95% 4343
98% 4345
99% 7228
100% 7312 (longest request)
No comments:
Post a Comment