How do you determine how long it is taking Apache to forward a request to Phusion Passenger?
- by dan
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.