[Mongrel] Mongrel Performance Tuning questions

Alexey Verkhovsky alexey.verkhovsky at gmail.com
Sat Mar 24 17:34:47 EDT 2007

Check if you aren't running that Mongrel in development mode.

Before testing with various concurrent loads, tune the request-response time
of all your pages first by timing them WITHOUT any concurrency. Until you
have reasonably fast pages, concurrent load just complicates the picture.

Use ab (Apache Benchmark) to do the timing, like this:
  ab2 -c 1 -n 10 <url>

This will send the same request 10 times, one request at a time.

If the mean time is not as fast as you want it to be, look at the logs to
see if you have any slow queries, and if that doesn't help, use
script/performance/profiler to figure out where is the time wasted.

Alex Verkhovsky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070324/d7eb5fda/attachment.html 

More information about the Mongrel-users mailing list