From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.mongrel.devel Subject: Re: [ANN] Unicorn: UNIX+localhost/LAN-only Mongrel fork Date: Mon, 16 Feb 2009 15:39:04 -0800 Message-ID: <20090216233904.GB3198@dcvr.yhbt.net> References: <20090211230457.GB22926@dcvr.yhbt.net> Reply-To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1234827962 9441 80.91.229.12 (16 Feb 2009 23:46:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Feb 2009 23:46:02 +0000 (UTC) To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Tue Feb 17 00:47:17 2009 Return-path: Envelope-to: gclrmd-mongrel-development@m.gmane.org Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-BeenThere: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Errors-To: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Xref: news.gmane.org gmane.comp.lang.ruby.mongrel.devel:91 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1LZDBE-00073X-9I for gclrmd-mongrel-development@m.gmane.org; Tue, 17 Feb 2009 00:47:16 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id D656618580F6; Mon, 16 Feb 2009 18:45:53 -0500 (EST) Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) by rubyforge.org (Postfix) with ESMTP id E5F8618580F4 for ; Mon, 16 Feb 2009 18:39:05 -0500 (EST) Received: from localhost (unknown [127.0.2.5]) by dcvr.yhbt.net (Postfix) with ESMTP id EB96F1F586; Mon, 16 Feb 2009 23:39:04 +0000 (UTC) List-Post: Ezra Zygmuntowicz wrote: > This is really cool. I'm going to play with this now and see how it > works. Hi Ezra, any news on your testing? I've barely had a chance to work with it myself (I started writing this email about 5 hours ago and got interrupted/distracted :x). >>>From informal benchmarks on a purely CPU/memory-bound Sinatra app, when simultaneous connections are less than nr_workers, Unicorn wins slightly; however when there are more workers then the async I/O buffering that Mongrel can do wins slightly over Unicorn. Of course the app I tested with is atypical in that it: 1) is completely thread-safe including all libraries used 2) has no external dependencies outside of the machine it runs on 3) has very uniform response times for all actions Unicorn is of course designed for apps: 1) with non-thread-safe dependencies 2) that depend on (occasionally unreliable) external API calls 3) where some actions taking measurably longer than others Tests were run on a fairly unsaturated GigE LAN. -- Eric Wong