about summary refs log tree commit homepage
path: root/lib/unicorn/configurator.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-04-27 13:13:24 -0700
committerEric Wong <normalperson@yhbt.net>2011-04-27 13:30:47 -0700
commit37c491dcc23d445521229dbe902f02833f2a0f4c (patch)
tree86de7b439645463878eb7f506ec3e15badd7f644 /lib/unicorn/configurator.rb
parent1b3befbadb99c83c24109f68b719276f0051c7fb (diff)
downloadunicorn-37c491dcc23d445521229dbe902f02833f2a0f4c.tar.gz
I've tested with nginx 1.0.0 and confirmed "proxy_buffering off;"
can cause Unicorn to block on a slow client reading a
large response.  While there's a potential (client-visible)
performance improvement with Rails 3.1 streaming responses, it
can also hurt the server with slow clients.

Rainbows! with (ThreadSpawn or ThreadPool) is probably the best
way to do streaming responses efficiently from all angles (from
a server, client and programmer time perspective).
Diffstat (limited to 'lib/unicorn/configurator.rb')
0 files changed, 0 insertions, 0 deletions