News for hackers. Stuff that matters.
Re:Warning: RoR is slow by mattculbreth on Thursday May 31, 2007 @08:04AM (#25643)
I agree with another poster--try to speed it up first. You've got a couple caching levels to try, at the page/fragment level and at the ActiveRecord level with memcached.
Re:Warning: RoR is slow by keiretsu on Thursday May 31, 2007 @08:40AM (#25649)
tried caching at the activerecord level with memcached. Yes, there was a speed increase but still there is a noticeable page loading time lag. It doesn't load craigslist fast.
Re:Warning: RoR is slow by sbraford on Friday June 01, 2007 @12:12AM (#25807)
plz post benchmarks from all levels and i'm sure the ruby / ror community would love to help.

when X page (a problem page) loads, what exact times and % of the total load time is taking place at:

http server

ror, broken down into: activerecord, non-AR logic, & rendering

web browser (pulling down JavaScript files, CSS files, etc)

(calculated for several runs, with perhaps an offpeak benchmark & onpeak benchmark to see if there's a major difference)

Chances are, 80% of your slowness can be alleviated by a few small changes in one of the above areas, but each app is different of course.

Re:Warning: RoR is slow by jmcantrell on Thursday May 31, 2007 @02:21PM (#25721)
To be honest, it sounds like RoR or ActiveRecord is doing something wrong.