Ok, here are the benchmarks. Meant to say in that previous message
that it was running in development mode, but said prod by mistake.
Here it is actually running in prod mode, and then a couple of
benchmarks using a simple Eventmachine server.  It looks pretty good
actually.  Haven't seen any of the slowdowns that I experienced while
doing the lengthy installs.


BENCHMARK OF HOBO 2-Minute DEMO 100 requests on Amazon EC2 Micro
Instance

$ ab -c 1 -n 100 http://111.222.333.444:3000/
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 111.222.333.444 (be patient).....done


Server Software:        WEBrick/1.3.1
Server Hostname:        111.222.333.444
Server Port:            3000

Document Path:          /
Document Length:        3759 bytes

Concurrency Level:      1
Time taken for tests:   20.618 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      430600 bytes
HTML transferred:       375900 bytes
Requests per second:    4.85 [#/sec] (mean)
Time per request:       206.177 [ms] (mean)
Time per request:       206.177 [ms] (mean, across all concurrent
requests)
Transfer rate:          20.40 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       89   92   1.4     92      96
Processing:   107  114  11.2    110     151
Waiting:      103  109  11.0    105     147
Total:        198  206  11.5    202     243

Percentage of the requests served within a certain time (ms)
  50%    202
  66%    204
  75%    206
  80%    206
  90%    233
  95%    242
  98%    243
  99%    243
 100%    243 (longest request)



NOW USING CONCURRENCY OF 20

$ ab -c 20 -n 100 http://111.222.333.444:3000/
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 111.222.333.444 (be patient).....done


Server Software:        WEBrick/1.3.1
Server Hostname:        111.222.333.444
Server Port:            3000

Document Path:          /
Document Length:        3759 bytes

Concurrency Level:      20
Time taken for tests:   2.208 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      430600 bytes
HTML transferred:       375900 bytes
Requests per second:    45.29 [#/sec] (mean)
Time per request:       441.564 [ms] (mean)
Time per request:       22.078 [ms] (mean, across all concurrent
requests)
Transfer rate:          190.46 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       90   99   8.4     96     139
Processing:   116  311  83.7    299     636
Waiting:      110  306  83.4    294     630
Total:        209  409  86.7    397     750

Percentage of the requests served within a certain time (ms)
  50%    397
  66%    411
  75%    426
  80%    437
  90%    462
  95%    624
  98%    723
  99%    750
 100%    750 (longest request)


BENCHMARK OF SIMPLE WEBSERVER BUILT WITH EVENTMACHINE

$ ab -c 1 -n 100 http://111.222.333.444:9090/
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 111.222.333.444 (be patient).....done


Server Software:
Server Hostname:        111.222.333.444
Server Port:            9090

Document Path:          /
Document Length:        33 bytes

Concurrency Level:      1
Time taken for tests:   18.320 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      7300 bytes
HTML transferred:       3300 bytes
Requests per second:    5.46 [#/sec] (mean)
Time per request:       183.200 [ms] (mean)
Time per request:       183.200 [ms] (mean, across all concurrent
requests)
Transfer rate:          0.39 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       88   92   1.0     91      96
Processing:    90   92   1.1     91      96
Waiting:       90   91   1.0     91      96
Total:        180  183   1.2    183     188
WARNING: The median and mean for the initial connection time are not
within a normal deviation
        These results are probably not that reliable.

Percentage of the requests served within a certain time (ms)
  50%    183
  66%    184
  75%    184
  80%    184
  90%    184
  95%    185
  98%    187
  99%    188
 100%    188 (longest request)


NOW WITH CONCURRENCY OF 20

$ ab -c 20 -n 100 http://111.222.333.444:9090/
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 111.222.333.444 (be patient).....done


Server Software:
Server Hostname:        111.222.333.444
Server Port:            9090

Document Path:          /
Document Length:        33 bytes

Concurrency Level:      20
Time taken for tests:   1.000 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      7300 bytes
HTML transferred:       3300 bytes
Requests per second:    100.03 [#/sec] (mean)
Time per request:       199.931 [ms] (mean)
Time per request:       9.997 [ms] (mean, across all concurrent
requests)
Transfer rate:          7.13 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       91   96   4.5     95     111
Processing:    90   96   6.4     94     119
Waiting:       90   96   6.3     94     119
Total:        181  192  10.6    190     231

Percentage of the requests served within a certain time (ms)
  50%    190
  66%    193
  75%    194
  80%    195
  90%    210
  95%    221
  98%    227
  99%    231
 100%    231 (longest request)

OK NOW LETS TRY TO OVERLOAD IT

$ ab -c 100 -n 1000 http://111.222.333.444:9090/
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 111.222.333.444 (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:
Server Hostname:        111.222.333.444
Server Port:            9090

Document Path:          /
Document Length:        33 bytes

Concurrency Level:      100
Time taken for tests:   5.255 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      73000 bytes
HTML transferred:       33000 bytes
Requests per second:    190.29 [#/sec] (mean)
Time per request:       525.506 [ms] (mean)
Time per request:       5.255 [ms] (mean, across all concurrent
requests)
Transfer rate:          13.57 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       96  236 485.5    169    3199
Processing:    92  152  32.7    169     232
Waiting:       92  151  32.6    169     232
Total:        194  387 487.6    340    3326

Percentage of the requests served within a certain time (ms)
  50%    340
  66%    343
  75%    345
  80%    359
  90%    373
  95%    405
  98%   3276
  99%   3302
 100%   3326 (longest request)

SO FAR SO GOOD, LETS UP IT ANOTHER OOM

$ ab -c 1000 -n 10000 http://111.222.333.444:9090/
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 111.222.333.444 (be patient)
Completed 1000 requests
apr_socket_recv: Connection reset by peer (104)
Total of 1703 requests completed

OK IT DOES HAVE ITS LIMITS

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to