PDA

View Full Version : Rails Speed



aetherane
07-26-2006, 11:48 AM
I just began using Ruby on Rails and I have noticed that with the test pages that I have been using (which are incredibly simple) speed is very inconsistant and awfully slow at times. I realize that it would be slower when an application just loads, but it often continues to lag.

Is this an inherant cause of using the rail's development environment that will go away when I switch to production mode, or will it stay?

Also, has anyone been able to run a relatively complex rails site at a reasonal speed on bluehost? any tips?

Thank you

ruckus
08-13-2006, 07:39 AM
I haven't experienced a significant increase in speed using rail's production environment. But my test app is just a minimalistic wiki, so I can't speak for more complex applications.

Have a look into the rails logs to check how long it takes rails to execute a request.

HTH, ruckus

EDIT: Are you using dispatch.cgi or dispatch.fcgi? A change dispatch.fcgi gave an awesome boost to my simple wiki.