diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-05-28 04:03:32 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-05-29 06:18:00 +0000 |
commit | c3e22e4c2ad11785b5355a98355fd31d709976d5 (patch) | |
tree | 6a21a95a8348f1e6567ce946cf3fb23ed76eb776 /lib/rainbows/const.rb | |
parent | f1cb1ce4e76ca13c9eb0bf8cfb4a51bd9f5a58c1 (diff) | |
download | rainbows-c3e22e4c2ad11785b5355a98355fd31d709976d5.tar.gz |
In our race to have more concurrency options than real sites using this server, we've added two new and fully supported concurrency models: WriterThreadSpawn and WriterThreadPool They're both designed to for serving large static files and work best with IO.copy_stream (sendfile!) under Ruby 1.9. They may also be used to dynamically generate long running, streaming responses after headers are sent (use "proxy_buffering off" with nginx). Unlike most concurrency options in Rainbows!, these are designed to run behind nginx (or haproxy if you don't support POST/PUT requests) and are vulnerable to slow client denial of service attacks. I floated the idea of doing something along these lines back in the early days of Unicorn, but deemed it too dangerous for some applications. But nothing is too dangerous for Rainbows! So here they are now for your experimentation.
Diffstat (limited to 'lib/rainbows/const.rb')
-rw-r--r-- | lib/rainbows/const.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/const.rb b/lib/rainbows/const.rb index bbfda70..6fee6e0 100644 --- a/lib/rainbows/const.rb +++ b/lib/rainbows/const.rb @@ -3,7 +3,7 @@ module Rainbows module Const - RAINBOWS_VERSION = '0.92.0' + RAINBOWS_VERSION = '0.93.0' include Unicorn::Const |