I have an app that is responding pretty slowly. Most of the response time is Ruby, (800 ms per request!) however the load on the server is pretty low. It's a VPS with 4 cores and 4 gigs of ram, and the load is around 0.04 or so. OS is SL6.
How do I tune Ruby + Rails + Nginx + Passenger to use more cycles?
(I do realize that writing better code is certainly the preferred solution. However, the reason for me posting this at all is so I can learn the answer to the specific question "How do I tune Ruby + Rails + Nginx + Passenger to use more cycles?" so please stick to answering that question. Thanks!)