unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [ANN] unicorn 0.95.0 - we <3 Rainbows! and ponies too
@ 2009-11-15 22:34  6% Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2009-11-15 22:34 UTC (permalink / raw)
  To: ruby-talk ML, mongrel-unicorn; +Cc: ruby-talk

Unicorn is a HTTP server for Rack applications designed to only serve
fast clients on low-latency, high-bandwidth connections and take
advantage of features in Unix/Unix-like kernels.  Slow clients should
only be served by placing a reverse proxy capable of fully buffering
both the the request and response in between Unicorn and slow clients.

* http://unicorn.bogomips.org/
* mongrel-unicorn@rubyforge.org
* git://git.bogomips.org/unicorn.git

Changes:

Mostly internal cleanups and documentation updates.  Irrelevant
stacktraces from client disconnects/errors while reading
"rack.input" are now cleared to avoid unnecessary noise.  If
user switching in workers is used, ownership of logs is now
preserved when reopening worker logs (send USR1 only to the the
master in this case).  The timeout config no longer affects long
after_fork hooks or application startups.

New features include the addition of the :umask option for the
"listen" config directive and error reporting for non-portable
socket options.

No ponies have ever been harmed in our development.

Eric Wong (28):
      unicorn.1: document RACK_ENV changes in 0.94.0
      HACKING: update with "gmake" in examples
      don't nuke children for long after_fork and app loads
      local.mk.sample: steal some updates from Rainbows!
      Load Unicorn constants when building app
      tee_input: fix RDoc argument definition for tee
      Add FAQ
      FAQ: fix links to Configurator docs
      tee_input: better premature disconnect handling
      tee_input: don't shadow struct members
      raise Unicorn::ClientShutdown if client aborts in TeeInput
      tee_input: fix comment from an intermediate commit
      FAQ: additional notes on getting HTTPS redirects right
      configurator: update RDoc and comments in examples
      bump version to 0.95.0pre
      configurator: listen :umask parameter for UNIX sockets
      preserve user/group ownership when reopening logs
      old_rails/static: avoid freezing strings
      old_rails: autoload Static
      const: no need to freeze HTTP_EXPECT
      test_server: ensure stderr is written to before reading
      tee_input: expand client error handling
      replace "rescue => e" with "rescue Object => e"
      socket_helper: do not hide errors when setting socket options
      socket_helper: RDoc for constants
      ClientShutdown: RDoc
      Rakefile: add raa_update task
      tee_input: client_error always raises

-- 
Eric Wong



^ permalink raw reply	[relevance 6%]

* Re: Running the tests - on FreeBSD
  @ 2009-11-09 18:27  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2009-11-09 18:27 UTC (permalink / raw)
  To: unicorn list

John-Paul Bader <hukl@berlin.ccc.de> wrote:
> Hi,
>
> I just read that the FreeBSD support was improved which is great news  
> for me as I am deploying almost exclusively on unicorn and made already 
> good experiences with it on 7.2
>
> Now I'd love to run the tests by myself but somehow fail to do so.
>
> I cloned the git repo and adjusted my local.mk, then i ran make test in 
> the unicorn directory but I'm just getting a "`test' is up to date."
>
> Is there something obvious missing or is the process different on  
> FreeBSD.

Hi John,

You need GNU make, which should be gmake on FreeBSD systems.  I just
pushed this out:

>From d5908cae3da3b2fac66407ed1b34fb8e3f6551bb Mon Sep 17 00:00:00 2001
From: Eric Wong <normalperson@yhbt.net>
Date: Mon, 9 Nov 2009 10:20:25 -0800
Subject: [PATCH] HACKING: update with "gmake" in examples

Most GNU users already know their "make" is GNU make but it may
not be obvious to non-GNU users.
---
 HACKING |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/HACKING b/HACKING
index 08aa76d..119b6b7 100644
--- a/HACKING
+++ b/HACKING
@@ -16,6 +16,9 @@ Tests are good, but slow tests make development slow, so we make tests
 faster (in parallel) with GNU make (instead of Rake) and avoiding
 Rubygems.
 
+Users of GNU-based systems (such as GNU/Linux) usually have GNU make installed
+as "make" instead of "gmake".
+
 Since we don't load RubyGems by default, loading Rack properly requires
 setting up RUBYLIB to point to where Rack is located.  Not loading
 Rubygems drastically lowers the time to run the full test suite.  You
@@ -25,15 +28,15 @@ file is provided for reference.
 
 Running the entire test suite with 4 tests in parallel:
 
-  make -j4 test
+  gmake -j4 test
 
 Running just one unit test:
 
-  make test/unit/test_http_parser.rb
+  gmake test/unit/test_http_parser.rb
 
 Running just one test case in a unit test:
 
-  make test/unit/test_http_parser.rb--test_parse_simple.n
+  gmake test/unit/test_http_parser.rb--test_parse_simple.n
 
 === HttpServer
 
@@ -103,11 +106,11 @@ It is easy to install the contents of your git working directory:
 
 Via RubyGems (RubyGems 1.3.5+ recommended for prerelease versions):
 
-  make install-gem
+  gmake install-gem
 
 Without RubyGems (via setup.rb):
 
-  make install
+  gmake install
 
 It is not at all recommended to mix a RubyGems installation with an
 installation done without RubyGems, however.
-- 
Eric Wong

^ permalink raw reply related	[relevance 7%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2009-11-09 16:11     Running the tests - on FreeBSD John-Paul Bader
2009-11-09 18:27  7% ` Eric Wong
2009-11-15 22:34  6% [ANN] unicorn 0.95.0 - we <3 Rainbows! and ponies too Eric Wong

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).