Forum: Ruby on Rails slow ajax with webreick

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
pmr16366 (Guest)
on 2005-11-12 12:49
(Received via mailing list)
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
kyle (Guest)
on 2005-11-12 12:49
(Received via mailing list)
I think 0.13.1 was leaking memory in development mode.  That might be
the source of your troubles.  Can you upgrade?

Kyle
michael (Guest)
on 2005-11-12 12:49
(Received via mailing list)
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
pmr16366 (Guest)
on 2005-11-12 12:49
(Received via mailing list)
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?
This topic is locked and can not be replied to.