From fb8bb4469849fa2b2241152aea7e9e82bd3cbcc8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 27 Jun 2011 08:12:58 +0000 Subject: [PATCH] unicorn 4.0.0 - for mythical hardware! A single Unicorn instance may manage more than 1024 workers without needing privileges to modify resource limits. As a result of this, the "raindrops"[1] gem/library is now a required dependency. TCP socket defaults now favor low latency to mimic UNIX domain socket behavior (tcp_nodelay: true, tcp_nopush: false). This hurts throughput, users who want to favor throughput should specify "tcp_nodelay: false, tcp_nopush: true" in the listen directive. Error logging is more consistent and all lines should be formatted correctly in backtraces. This may break the behavior of some log parsers. The call stack is smaller and thus easier to examine backtraces when debugging Rack applications. There are some internal API changes and cleanups, but none that affect applications designed for Rack. See "git log v3.7.0.." for details. For users who cannot install kgio[2] or raindrops, Unicorn 1.1.x remains supported indefinitely. Unicorn 3.x will remain supported if there is demand. We expect raindrops to introduce fewer portability problems than kgio did, however. [1] http://raindrops.bogomips.org/ [2] http://bogomips.org/kgio/ --- GIT-VERSION-GEN | 2 +- lib/unicorn/const.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN index d25d15ab..e99b00f6 100755 --- a/GIT-VERSION-GEN +++ b/GIT-VERSION-GEN @@ -1,7 +1,7 @@ #!/bin/sh GVF=GIT-VERSION-FILE -DEF_VER=v3.7.0.GIT +DEF_VER=v4.0.0.GIT LF=' ' diff --git a/lib/unicorn/const.rb b/lib/unicorn/const.rb index 45f19b2a..eb858376 100644 --- a/lib/unicorn/const.rb +++ b/lib/unicorn/const.rb @@ -8,8 +8,8 @@ # improve things much compared to constants. module Unicorn::Const - # The current version of Unicorn, currently 3.7.0 - UNICORN_VERSION = "3.7.0" + # The current version of Unicorn, currently 4.0.0 + UNICORN_VERSION = "4.0.0" # default TCP listen host address (0.0.0.0, all interfaces) DEFAULT_HOST = "0.0.0.0" -- 2.11.4.GIT