HTTP streaming and Unicorn timeout

Eric Wong normalperson at
Thu Aug 22 17:04:50 UTC 2013

Nokan Emiro <uzleepito at> 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.

More information about the mongrel-unicorn mailing list