[Mongrel] Mongrel upload progress not showing progress on production server
jgeiger at gmail.com
Wed Feb 28 10:59:43 EST 2007
Is there a good tutorial for mongrel upload progress, which includes a
setup like the one you're describing? I looked at the one on the
mongrel site, and it got me only so far before I needed to abandon the
idea, since it was becoming a lot of work for little return. My main
issue was trying to use it for something other than strictly uploading
files with no other information.
On 2/28/07, Zed A. Shaw <zedshaw at zedshaw.com> wrote:
> On Tue, 27 Feb 2007 23:32:13 -0300
> "Benjamin Jackson" <bhjackson at gmail.com> wrote:
> > > If it's behind nginx or other servers (apache?) sometimes they buffer
> > > the request before sending the status back. Otherwise, grab firebug
> > > and use it to see what is going on.
> > Thanks Zed. It is in fact behind nginx with gzip compression. How can
> > I work around this? By increasing/decreasing the buffer size? Here's
> > the relevant (I think) section of my nginx config:
> You can't. Nginx's author is coming out with a version that fixes
> this, but otherwise it's just inherent in the design.
> Your best bet actually is to just do these uploads to a completely
> offline standalone Mongrel server so you don't tie up rails. It's about
> the only compromise there is other than just not doing it in the first
> Even if nginx changes it's request dispatching method, you'll still
> have a problem with locking up rails for each of the polling requests.
> Zed A. Shaw, MUDCRAP-CE Master Black Belt Sifu
> http://www.awprofessional.com/title/0321483502 -- The Mongrel Book
> http://www.lingr.com/room/3yXhqKbfPy8 -- Come get help.
> Mongrel-users mailing list
> Mongrel-users at rubyforge.org
More information about the Mongrel-users