unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Michael Fischer <mfischer@zendesk.com>
To: "Bráulio Bhavamitra" <braulio@eita.org.br>
Cc: unicorn-public <unicorn-public@bogomips.org>
Subject: Re: Dealing with big uploads and/or slow clients
Date: Fri, 6 Jun 2014 08:13:07 -0700	[thread overview]
Message-ID: <CABHxtY4ddeA4vjZfX9BfY=xmbTb72hS3oa=VaJmUgsRvLDAGdA@mail.gmail.com> (raw)
In-Reply-To: <CAJri6_sisz8r1Hoon4V54y8E-gf0uMA0nq-orZnMq4Gue6Syyg@mail.gmail.com>

On Fri, Jun 6, 2014 at 6:31 AM, Bráulio Bhavamitra <braulio@eita.org.br> wrote:

> So the idea is that nginx will buffer the upload request until all
> data is received and then it will send it to unicorn? So unicorn only
> receives the full request? Should I do some configuration to nginx for
> this?

Yes; there are a few tunables worth looking at.  The "Buffers" section
here offers some useful discussion:

https://www.digitalocean.com/community/articles/how-to-optimize-nginx-configuration

Best regards,

--Michael

      reply	other threads:[~2014-06-06 15:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-05 17:39 Dealing with big uploads and/or slow clients Bráulio Bhavamitra
2014-06-06  1:27 ` Eric Wong
2014-06-06  2:51   ` Sam Saffron
2014-06-06  5:59     ` Eric Wong
2014-06-06 13:31   ` Bráulio Bhavamitra
2014-06-06 15:13     ` Michael Fischer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABHxtY4ddeA4vjZfX9BfY=xmbTb72hS3oa=VaJmUgsRvLDAGdA@mail.gmail.com' \
    --to=mfischer@zendesk.com \
    --cc=braulio@eita.org.br \
    --cc=unicorn-public@bogomips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).