Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 29009 invoked from network); 31 Oct 2006 10:00:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2006 10:00:20 -0000 Received: (qmail 35824 invoked by uid 500); 31 Oct 2006 10:00:29 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 35476 invoked by uid 500); 31 Oct 2006 10:00:27 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 35461 invoked by uid 99); 31 Oct 2006 10:00:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2006 02:00:27 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [80.229.52.226] (HELO grimnir.webthing.com) (80.229.52.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2006 02:00:15 -0800 Received: from grimnir (localhost [127.0.0.1]) by grimnir.webthing.com (Postfix) with ESMTP id 1863E2136 for ; Tue, 31 Oct 2006 09:59:53 +0000 (GMT) Date: Tue, 31 Oct 2006 09:59:52 +0000 From: Nick Kew To: dev@httpd.apache.org Subject: Re: cache: the store_body interface Message-ID: <20061031095952.677ec5e3@grimnir> In-Reply-To: <3C80B8D5-6A90-45FA-A198-FBB51C3D0B16@gbiv.com> References: <20061030182310.GC25419@redhat.com> <5c902b9e0610301036j3de36845rc8767e405def7dd8@mail.gmail.com> <20061030204524.78da7f07@grimnir> <3C80B8D5-6A90-45FA-A198-FBB51C3D0B16@gbiv.com> Organization: WebThing X-Mailer: Sylpheed-Claws 2.5.0-rc3 (GTK+ 2.10.6; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 31 Oct 2006 00:43:12 -0800 "Roy T. Fielding" wrote: (dammit, I wasn't going to post again in this discussion, for the forseeable, but this wants an answer) > > If you are going to -1 something, you need to have a technical reason > for it IN THE MESSAGE. You can't assume that your reason is obvious. > In this case, I have to assume that you are worried about the file > bucket having to go through user space to be stored, as opposed to > more efficient routines handling it like a sendfile. However, > since we aren't talking about network writes in store_body, and > store_body will have to read/write the data as buffers anyway, > I don't see any justification for that veto. It was not intended as any such thing. Just a comment noting that we have an extremely simple case in which this caching strategy will degrade system performance not just a little, but by a whole order of magnitude. The lusers will love it. I'm not vetoing anything in mod_cache. I'm nowhere near familiar enough with it for that. But I do know that "I wouldn't start from here": by bypassing the normal request processing cycle, it's introduced a lot of extra complexity for a very questionable gain (would you use mod_cache to serve local, static contents?) -- Nick Kew