Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 29746 invoked from network); 13 Sep 2010 15:19:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Sep 2010 15:19:52 -0000 Received: (qmail 855 invoked by uid 500); 13 Sep 2010 15:19:51 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 516 invoked by uid 500); 13 Sep 2010 15:19:49 -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 508 invoked by uid 99); 13 Sep 2010 15:19:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 15:19:49 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.232.224.73] (HELO mailout04.vodafone.com) (195.232.224.73) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Sep 2010 15:19:40 +0000 Received: from mailint04 (localhost [127.0.0.1]) by mailout04 (Postfix) with ESMTP id 6278C132580 for ; Mon, 13 Sep 2010 17:19:14 +0200 (CEST) Received: from avoexs02.internal.vodafone.com (unknown [145.230.4.135]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mailint04 (Postfix) with ESMTPS id 56D9613248F for ; Mon, 13 Sep 2010 17:19:14 +0200 (CEST) Received: from VF-MBX11.internal.vodafone.com ([145.230.5.21]) by avoexs02.internal.vodafone.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 13 Sep 2010 17:19:15 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: mod_cache: store_body() bites off more than it can chew Date: Mon, 13 Sep 2010 17:19:13 +0200 Message-ID: <99EA83DCDE961346AFA9B5EC33FEC08B04A3CF9F@VF-MBX11.internal.vodafone.com> In-Reply-To: <7425A0BE-A6FA-4609-B577-607474409FD5@sharp.fm> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: mod_cache: store_body() bites off more than it can chew Thread-Index: ActTUOx5WNtGBnuiR/G75e5HvXvyQQABbZwA References: <68B35D56-BB55-458F-A7BB-E225AFEB8544@sharp.fm> <7FB83631-3176-468A-B10C-E84B91326DFE@sharp.fm> <99EA83DCDE961346AFA9B5EC33FEC08B04A3CF47@VF-MBX11.internal.vodafone.com> <7425A0BE-A6FA-4609-B577-607474409FD5@sharp.fm> From: =?iso-8859-1?Q?=22Pl=FCm=2C_R=FCdiger=2C_VF-Group=22?= To: X-OriginalArrivalTime: 13 Sep 2010 15:19:15.0133 (UTC) FILETIME=[06C9A6D0:01CB5357] =20 > -----Original Message----- > From: Graham Leggett=20 > Sent: Montag, 13. September 2010 16:35 > To: dev@httpd.apache.org > Subject: Re: mod_cache: store_body() bites off more than it can chew >=20 > On 13 Sep 2010, at 4:18 PM, Pl=FCm, R=FCdiger, VF-Group wrote: >=20 > > It is not a problem for mod_disk_cache as you say, but > > I guess he meant for 3rd party providers that could only deliver > > the cached responses via heap buckets. >=20 > The cache provider itself puts the bucket in the brigade, and=20 > has the =20 > power to put any bucket into the brigade it likes, including=20 > it's own =20 > custom developed buckets. The fact that brigades become heap buckets =20 > when read is a property of our bucket brigades, they aren't a =20 > restriction applied by the cache. >=20 > For example, in the large disk cache patch, a special bucket was =20 > invented that represented a file that was not be completely present, =20 > and that blocked waiting for more data if the in-flight cache=20 > file was =20 > not yet all there. There was no need to change the API to=20 > support this =20 > scenario, the cache just dropped the special bucket into the brigade =20 > and it was done. Yeah, but in a tricky way, which is absolutely fine and cool if you = cannot change the API, but the question is: Is this the way providers should go and does the API looks like as it should? Regards R=FCdiger