From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Zed A. Shaw" Newsgroups: gmane.comp.lang.ruby.mongrel.devel Subject: Re: Mongrel 2.0 Date: Mon, 17 Nov 2008 21:36:29 -0800 Message-ID: <20081118053629.GK1405@zedshaw> References: 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 1226986917 13708 80.91.229.12 (18 Nov 2008 05:41:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2008 05:41:57 +0000 (UTC) To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Tue Nov 18 06:43:00 2008 Return-path: Envelope-to: gclrmd-mongrel-development@m.gmane.org X-Greylist: delayed 314 seconds by postgrey-1.31 at rubycentral.org; Tue, 18 Nov 2008 00:41:46 EST 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:72 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1L2JMa-0002xJ-72 for gclrmd-mongrel-development@m.gmane.org; Tue, 18 Nov 2008 06:43:00 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 6C49A1678115; Tue, 18 Nov 2008 00:41:49 -0500 (EST) Received: from mail.zedshaw.com (67-207-134-146.slicehost.net [67.207.134.146]) by rubyforge.org (Postfix) with ESMTP id F1E871678115 for ; Tue, 18 Nov 2008 00:41:46 -0500 (EST) Received: by mail.zedshaw.com (Postfix, from userid 1000) id 466BC20CCF1; Mon, 17 Nov 2008 21:36:29 -0800 (PST) List-Post: Very cool, nice work. One small comment... On Mon, Nov 17, 2008 at 03:32:33PM -0500, Evan Weaver wrote: > Hi Mongrels, > > - Error code instead of connection-close, as discussed earlier With this do you mean returning one of the many error codes in an HTTP response when the server is overloaded? I would recommend against that if that's the case. In theory it's nice to return an error code to clients that could be waiting. In practice, your queue is already overloaded, so taking more time to send a response to clients only adds to the problem. In a modern system this isn't such a big deal, but in Ruby it becomes a mess because of the file id limits in the select loop. I'd say, if you add that, make it optional to turn it off and be prepared with a FAQ about it in case people have problems. Have fun. -- Zed A. Shaw http://freehackersunion.org/