I’ve got an app I’m building for some friends running on a SliceHost box
written in Ruby on Rails.
I’m looking to benchmark it to see how many requests it could feasibly
take and what kind of spec / requirements we’re gonna need for scaling
it up.
Looking for any pointers in this area as benchmarking is a bit of a gray
area for me.
Appreciate it,
John.
John G. wrote:
Appreciate it,
John.
There’s a Peepcode screencast ($9) that might help –
http://peepcode.com/products/benchmarking-with-httperf
–
Autopendium :: Stuff about old cars
http://autopendium.com
I would also recommend httperf but you can do some basic benchmarks
using the ab (ApacheBenchmark [1]) command, something like:
ab -n 1000 -c 100 http://www.mysite.com/mycontroller/myaction
will do 1000 requests to the given URL with a concurrency of 100, the
result is a detailed report.
[1] ab - Apache HTTP server benchmarking tool - Apache HTTP Server
–
Maykel Rodriguez
Easy to use Rails hosting
[email protected] wrote:
I would also recommend httperf but you can do some basic benchmarks
using the ab (ApacheBenchmark [1]) command, something like:
ab -n 1000 -c 100 http://www.mysite.com/mycontroller/myaction
will do 1000 requests to the given URL with a concurrency of 100, the
result is a detailed report.
Finally there’s railsbench by Stefan K. [1] that gives you more
insight into the inner workings of your Rails application.
Also note that httperf comes greatly recommended over ab for performance
testing. It’s way more accurate and not particularly tougher to get a
grip of than ab.
[1] http://railsexpress.de
–
Roderick van Domburg
http://www.nedforce.com