large uploads

Eric Wong normalperson at yhbt.net
Thu Sep 29 16:54:53 EDT 2011


John Joseph Bachir <j at jjb.cc> wrote:
> On Thu, Sep 29, 2011 at 2:47 PM, Eric Wong <normalperson at yhbt.net> wrote:
> > The upload speed (and thus timeout) for unicorn should be based on
> > the nginx <-> unicorn transfer rate.  Unicorn should never talk to users
> > directly and users can upload slowly to nginx which buffers requests to the
> > filesystem, first.
> 
> On Thu, Sep 29, 2011 at 2:48 PM,  <cliftonk at gmail.com> wrote:
> > You need to be buffering the upload before sending it to Unicorn. Are
> > you using nginx?
> 
> Thanks for the responses! So, I've see this module:
> https://github.com/vkholodkov/nginx-upload-module

I think that's unrelated to what you're doing (it appears to be
for nginx-only setups).

> Is that what you are referring to? Are there other solutions? Does
> NGINX have inherent behavior which buffers requests? (Eric's email
> seemed to suggest that).

Yes, nginx buffers entire requests by default before sending them
to unicorn.


More information about the mongrel-unicorn mailing list