What can I do to speed up the ruby execution time on a heroku server? -


so got rails app deployed on heroku. nothing fancy going on, small custom cms, used uploading , editing static pages. of time spent displaying pages, stored in db.

there bit of heavy load each page display since pages stored markdown being rendered (and string-interpolatet). markdown rendering turned of, server still responding slow (avg. 600 ms).

i'm trying reduce response time. graph in new relic tells me, app spends 80 % or 90 % of processing time, executing ruby code. thought make faster adding dynos, no matter how many dynos add, ruby processing won't speed up. i'm running on 1 dyno, ramping 4 should make (roughly) 4 times faster, no? tried 8 dynos still no significant difference (not afford 8 dynos anyways).


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -