[Mongrel] Mongrel Performance Tuning questions

Benjamin Jackson bhjackson at gmail.com
Sat Mar 24 21:38:11 EDT 2007


> 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.

How fast should I shoot for the mean time to be for a normal homepage
on a VPS? I'm getting 2.27 reqs/sec for the rails page and 2.11 for
the static image with 10 requests each.

Thanks,

Ben


More information about the Mongrel-users mailing list