From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Wayne Seguin Newsgroups: gmane.comp.lang.ruby.mongrel.devel Subject: Re: Mongrel 2.0 Date: Wed, 19 Nov 2008 21:31:49 -0500 Message-ID: <4FF8586B-5B06-4F63-8A10-531AAC942EB3@gmail.com> References: <20081118053629.GK1405@zedshaw> Reply-To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1227148328 32123 80.91.229.12 (20 Nov 2008 02:32:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2008 02:32:08 +0000 (UTC) To: mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Original-X-From: mongrel-development-bounces-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org Thu Nov 20 03:33:10 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:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=NxuDmrG9St2HX6e196zDIVrM2FFeFPLSwIVAOZuCNws=; b=TjUk2IaAzNgNILWNGCXOTZJ7dcJhddjOrlb82ZUnYE6HjJiEp4YVf4mP7BCRYqAhMm R2johWOBpgfFbdDOZTYID7iPwjWlmexgo1EaeLRJhvOgBXNzEKK+djLm8KFFeF1xZnnP T17uO4m4dt/3PK2Ar9ijOXrbsTLaBjryHQFmU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=xhilMYt0gnNGA2sWIYGOsHyD6vyndIfQXpXk+TTscwV3ku2jCwlh36OvuQgNcPsNUI NZPQPabrCs4EGPoU/TErSA67YCEmIR7BXR08RFZmCkW1RV0GsIET3MG83ls3UJczjA+T zZ67QXmVUv2WarH/+84kfOKrYkp+wfXNMB/Ts= In-Reply-To: X-Mailer: Apple Mail (2.929.2) 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:76 Archived-At: Received: from rubyforge.org ([205.234.109.19]) by lo.gmane.org with esmtp (Exim 4.50) id 1L2zLx-0007Ph-Lz for gclrmd-mongrel-development@m.gmane.org; Thu, 20 Nov 2008 03:33:09 +0100 Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 7AE6E16780DD; Wed, 19 Nov 2008 21:31:58 -0500 (EST) Received: from mail-qy0-f21.google.com (mail-qy0-f21.google.com [209.85.221.21]) by rubyforge.org (Postfix) with ESMTP id D72DE18585B5 for ; Wed, 19 Nov 2008 21:31:52 -0500 (EST) Received: by qyk14 with SMTP id 14so249475qyk.11 for ; Wed, 19 Nov 2008 18:31:52 -0800 (PST) Received: by 10.214.217.3 with SMTP id p3mr1918609qag.166.1227148312198; Wed, 19 Nov 2008 18:31:52 -0800 (PST) Received: from ?10.0.4.69? (cpe-69-207-100-59.buffalo.res.rr.com [69.207.100.59]) by mx.google.com with ESMTPS id 9sm492036yws.5.2008.11.19.18.31.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 19 Nov 2008 18:31:51 -0800 (PST) List-Post: Evan, I believe that optional with default being to drop the connection would be best in this case. It will serve the 98% case just fine and for those who are more demanding they can opt in. The rest look like a good set for a 2.0 release to me. ~Wayne On Nov 18, 2008, at 00:49 , Evan Weaver wrote: > 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 > _______________________________________________ > Mongrel-development mailing list > Mongrel-development-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org > http://rubyforge.org/mailman/listinfo/mongrel-development