So I got a rails app deployed on heroku. Nothing fancy going on, just a small custom cms, just used for uploading and editing static pages. Most of the time is just spent displaying pages, stored in the db.
There is a bit of a heavy load for each page display since the pages are stored as markdown which is then being rendered (and string-interpolatet). But even with the markdown rendering turned of, the server is still responding fairly slow (avg. 600 ms).
I'm trying to reduce the response time. The graph in New Relic tells me, that the app spends about 80 % or 90 % of its processing time, executing ruby code. I thought that I could make this faster by adding dynos, but no matter how many dynos I add, the ruby processing won't speed up. I'm currently running on just 1 dyno, so ramping it up to 4 should make it (roughly) 4 times faster, no? I tried 8 dynos but still no significant difference (not that I could afford 8 dynos anyways).