How do you determine how long it is taking Apache to forward a request to Phusion Passenger?

Posted by dan on Super User See other posts from Super User or by dan
Published on 2011-01-02T01:57:57Z Indexed on 2011/01/02 2:55 UTC
Read the original article Hit count: 280

Filed under:
|

I have a Ruby on Rails website that is serving requests relatively fast within Rails. The completion time for a Rails request is about 130ms. But the request still takes a long time because of the time it takes the Apache server in front of the Phusion Passenger instances to hand off the request to Rails.

How can I measure how long it takes Apache to hand off the request to Rails via Passenger?

And how can I speed this up if it's slow. Yes, I plan on switching to nginx, but I need a temporary fix.

© Super User or respective owner

Related posts about ruby-on-rails

Related posts about apache2