From: Eric Wong <normalperson@yhbt.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: HTTP streaming and Unicorn timeout
Date: Thu, 22 Aug 2013 17:04:50 +0000 [thread overview]
Message-ID: <20130822170450.GA6927@dcvr.yhbt.net> (raw)
In-Reply-To: <CABmj=E69w2MO3=XhZsGOCQJk=Tc_5Xn_BUV8WC6_MA40UbsEpQ@mail.gmail.com>
Nokan Emiro <uzleepito@gmail.com> wrote:
> Thank you for your answer Eric.
>
> > Using Rack::Timeout with Rainbows! instead of unicorn is probably a
> > better idea.
>
> 99% of the requests are fast and can be served far below 300 ms. Only
> a few type of requests need to stream lots of data. Do you really think that
> unicorn isn't a good choice in this case and I should consider switching to
> something else (Rack::Timeout + Rainbows!, Puma or whatever) just for the
> sake of that 1%?
What Hongli said. unicorn is only for sending fast responses. You'll
run into scalability problems very quickly if unicorn is used for any
slow response.
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying
prev parent reply other threads:[~2013-08-22 17:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-21 10:28 HTTP streaming and Unicorn timeout Nokan Emiro
2013-08-21 16:41 ` Eric Wong
2013-08-22 15:26 ` Nokan Emiro
2013-08-22 15:33 ` Hongli Lai
2013-08-22 17:04 ` Eric Wong [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=20130822170450.GA6927@dcvr.yhbt.net \
--to=normalperson@yhbt.net \
--cc=mongrel-unicorn@rubyforge.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).