Slow ajax with webreick


#1

Using ie, webrieck ( all on win xp) and rails-0.13.1
I find that I get very very slow response when using ajax to update a
form.
Much slower than a regular page load. So bad I have considered dropping
ajx
completely
In my production env I use apache/fcgi and it is instantaneous
Any suggestions? ( apart from use fcgi in dev!)
Thanks
Paul


#2

I think 0.13.1 was leaking memory in development mode. That might be
the source of your troubles. Can you upgrade?

Kyle


#3

On 11/9/05, Paul R. removed_email_address@domain.invalid wrote:

Using ie, webrieck ( all on win xp) and rails-0.13.1

Webrick only runs one thread, so things like file-uploads and ajax
will suffer from low throughput.

Any suggestions? ( apart from use fcgi in dev!)

Unfortunately, no, not really. You’ll either need to investigate
scgi/fcgi for development, or just live with the slow requests.

Cheers

Koz


#4

ok, thanks. I can try an upgrade. I did also use apache/fcgi -but I had
to
stop, and if I remember it was because I had to restart apache to get
updated content - does that sound correct?