Simple application performance on heroes

I have very simple rails 3.2.6. For many years I used Heroku to place prototypes, always at a free level. Finally, I added paid dyno in my latest application and added New Relic to monitor performance.

I see 4500 + ms requests on extremely simple pages with almost zero traffic (we haven't started yet). The new relic says that 99% of this time was spent creating the template. This is a 75 line fully static haml template inside a 100 line layout. The application template has standard branches - if current_user.nil?.

I have not added page caching yet. I will do this, of course, but I would like to determine the root cause of this very poor work before I hide it. Any tips? What response time should I expect from Heroku? In my local field in env development, the response time per page is 26 ms (with activation up to 1.5 s). A new relic reports my dynamic pages on Heroku, receiving an average response time from 2000ms to 6000ms.


Edit: I have enabled page caching for static /, and now I see the average values ​​of 173 ms. But I'm still worried about my terrible averages on dynamic pages.

+5
source share
1 answer

, , Heroku ( ) , .

+1

All Articles