From: Hongli Lai <hongli@phusion.nl>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: HTTP streaming and Unicorn timeout
Date: Thu, 22 Aug 2013 17:33:54 +0200 [thread overview]
Message-ID: <CAM3ce8Gwd9FTb+O=X4bPWCAFd4HEmJn6XPqn1WrJZKAdsfrhdA@mail.gmail.com> (raw)
In-Reply-To: <CABmj=E69w2MO3=XhZsGOCQJk=Tc_5Xn_BUV8WC6_MA40UbsEpQ@mail.gmail.com>
Maybe you can use a combination. Use Nginx location blocks to forward
most requests to Unicorn, and forward the streaming URLs to Passenger
Enterprise/Rainbows/Puma/etc.
On Thu, Aug 22, 2013 at 5:26 PM, 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%?
>
> u.
> _______________________________________________
> 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
--
Phusion | Ruby & Rails deployment, scaling and tuning solutions
Web: http://www.phusion.nl/
E-mail: info@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)
_______________________________________________
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
next prev parent reply other threads:[~2013-08-22 16:30 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 [this message]
2013-08-22 17:04 ` Eric Wong
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='CAM3ce8Gwd9FTb+O=X4bPWCAFd4HEmJn6XPqn1WrJZKAdsfrhdA@mail.gmail.com' \
--to=hongli@phusion.nl \
--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).