-
Notifications
You must be signed in to change notification settings - Fork 2
Performance
andreacampi edited this page Mar 31, 2011
·
1 revision
ruby-perl is pretty new, not many websites are running it in production yet so there's not much real-world performance data points. We will update this page as we gather more information. please contact us if you have any that you are willing to share.
That said, preliminary results from the lab are promising:
Running on thin:
ab -n 1000 -c 50 http://0.0.0.0:3002/
Server Software: thin
Server Hostname: 0.0.0.0
Server Port: 3002
Document Path: /
Document Length: 878 bytes
Concurrency Level: 50
Time taken for tests: 1.648 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 1003000 bytes
HTML transferred: 878000 bytes
Requests per second: 606.82 [#/sec] (mean)
Time per request: 82.397 [ms] (mean)
Time per request: 1.648 [ms] (mean, across all concurrent requests)
Transfer rate: 594.37 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 0.6 0 5
Processing: 61 81 16.5 79 170
Waiting: 31 51 15.1 48 144
Total: 62 82 16.6 79 170
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% 79
66% 82
75% 83
80% 85
90% 93
95% 110
98% 157
99% 170
100% 170 (longest request)
Running on Passenger:
ab -n 1000 -c 50 http://0.0.0.0:3001/
Server Software: nginx/0.8.54
Server Hostname: 0.0.0.0
Server Port: 3001
Document Path: /
Document Length: 1723 bytes
Concurrency Level: 50
Time taken for tests: 5.855 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 1929000 bytes
HTML transferred: 1723000 bytes
Requests per second: 170.80 [#/sec] (mean)
Time per request: 292.735 [ms] (mean)
Time per request: 5.855 [ms] (mean, across all concurrent requests)
Transfer rate: 321.76 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 2 18.3 0 212
Processing: 13 221 215.5 151 3803
Waiting: 13 218 214.1 143 3803
Total: 14 223 218.0 152 3803
Percentage of the requests served within a certain time (ms)
50% 152
66% 237
75% 286
80% 321
90% 465
95% 625
98% 793
99% 847
100% 3803 (longest request)