Instant Rails request lags >4 sec


#1

Hello RoR folks,
I am using Instant Rails and a small app that currently uses scaffolding
for CRUD on just one table with 7 attributes. I am not shure wether
scaffolding slows down the app that much but I have a time lag for every
request with above 4 sec. The preinstalled apps like Type are running
damn fast, which is not the case for my stuff.
Any help on this would be great
Thanks,
RTG


#2

I think what happens is each time you modify your script, Webrick will
need to recompile it and that’s the cause for the time-lag.


#3

Woei S. wrote:

I think what happens is each time you modify your script, Webrick will
need to recompile it and that’s the cause for the time-lag.
Hello Woei,
that is what I though first too but it is basically for every single
click on both WebRick and SCGI even after initial compilation run.
Thanks,
RTG