From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Evan Weaver" Newsgroups: gmane.comp.lang.ruby.mongrel.devel Subject: Re: Mongrel 2.0 Date: Tue, 18 Nov 2008 00:49:14 -0500 Message-ID: References: <20081118053629.GK1405@zedshaw> 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 1226987370 14571 80.91.229.12 (18 Nov 2008 05:49:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Nov 2008 05:49:30 +0000 (UTC) To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Tue Nov 18 06:50:32 2008 Return-path: Envelope-to: gclrmd-mongrel-development@m.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=yTBiPOrz/pKriU6WRyN8mTXC0AYDNbi39yeGsMN1r5E=; b=GoDYeOChfK8Sr1mkSRtuhj+Z2gRwvm3g+utgz1bIp2YfAN1I9HIkP9Vopo3cviw+cC Pf6VssKOlOFPVB8Hw5+gofjqj6TzyoUDeoVD631cszpzG8liL/ScVZO1jgoy2BbEMpWc CSeTNGcD4+Fjk/MDPHKdWn7gfqMHC01TMAmoo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=iB0sqgHL29rYJSKdDaPEB48mKpBzOILnATgtrc7Y4rd23b7vvF2KjpkNotMPEaOKvr 9PLf+ERULwtOszG0262CK0N1rup5jJbpGEWmJKlKX5cu7+fz2KlOk7giW6rbSp5EXwXp S7kj8ndFRzpstQlXTxc8KdmyTctE56vfI5CrA= In-Reply-To: <20081118053629.GK1405@zedshaw> Content-Disposition: inline X-Google-Sender-Auth: 0bfe99aabf7ffcc8 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:73 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1L2JTo-0004RU-13 for gclrmd-mongrel-development@m.gmane.org; Tue, 18 Nov 2008 06:50:28 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 4184916780DF; Tue, 18 Nov 2008 00:49:17 -0500 (EST) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by rubyforge.org (Postfix) with ESMTP id 808881858197 for ; Tue, 18 Nov 2008 00:49:15 -0500 (EST) Received: by wf-out-1314.google.com with SMTP id 28so2897022wfc.29 for ; Mon, 17 Nov 2008 21:49:15 -0800 (PST) Received: by 10.142.107.1 with SMTP id f1mr2401296wfc.140.1226987355001; Mon, 17 Nov 2008 21:49:15 -0800 (PST) Received: by 10.143.18.8 with HTTP; Mon, 17 Nov 2008 21:49:14 -0800 (PST) List-Post: Optional is a good compromise. Evan On Tue, Nov 18, 2008 at 12:36 AM, Zed A. Shaw wrote: > 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/ > _______________________________________________ > Mongrel-development mailing list > Mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org > http://rubyforge.org/mailman/listinfo/mongrel-development > -- Evan Weaver