Benchmarking ModRails

Today Joe set-up beta testing for modrails on railsplayground, and a test account for me to play around with.

I quickly setup a basic Contact manager using Rails 2.02 scaffolding and added some test data. After the initial bump of forgetting to configure for production we were under way.

These are the results of benchmarking the application under 1,000 requests, looks good so far.

zscott@Lian:~$ ab -n 1000 http://zak.railsplayground.net/contacts
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.141 $> apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
 
Benchmarking zak.railsplayground.net (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
Finished 1000 requests
 
Server Software:        Apache/2.0.59
Server Hostname:        zak.railsplayground.net
Server Port:            80
 
Document Path:          /contacts
Document Length:        2357 bytes
 
Concurrency Level:      1
Time taken for tests:   151.627619 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      3060000 bytes
HTML transferred:       2357000 bytes
Requests per second:    6.60 [#/sec] (mean)
Time per request:       151.628 [ms] (mean)
Time per request:       151.628 [ms] (mean, across all concurrent requests)
Transfer rate:          19.71 [Kbytes/sec] received
 
Connection Times (ms)
min  mean[+/-sd] median   max
Connect:       55   69  13.8     66     288
Processing:    60   81  36.4     75     739
Waiting:       59   77  29.2     71     586
Total:        118  151  39.2    144     808
 
Percentage of the requests served within a certain time (ms)
50%    144
66%    151
75%    156
80%    160
90%    174
95%    191
98%    222
99%    264
100%    808 (longest request)
Posted on April 13, 2008 at 1:23 pm

1 Response »

Trackbacks & Pingbacks

  1. […] initially testing ModRails with my supreme hosting partner, I decided to try out a common application on the system. […]

    Pingback by Zak Scott » Benchmarking RadiantCMS on ModRails — April 16, 2008 @ 7:42 pm


Comments

RSS feed for comments on this post. TrackBack URI

Leave a comment

(required)

(required)