Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 26736 invoked from network); 26 Sep 2006 09:54:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Sep 2006 09:54:52 -0000 Received: (qmail 10911 invoked by uid 500); 26 Sep 2006 09:54:48 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 10861 invoked by uid 500); 26 Sep 2006 09:54:48 -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 10850 invoked by uid 99); 26 Sep 2006 09:54:48 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Sep 2006 02:54:48 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=colmmacc@stdlib.net; spf=permerror X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received-SPF: error (idunn.apache.osuosl.org: domain stdlib.net from 82.195.155.60 cause and error) Received: from [82.195.155.60] ([82.195.155.60:58352] helo=dochas.stdlib.net) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 4D/60-07011-5E8F8154 for ; Tue, 26 Sep 2006 02:54:47 -0700 Received: from colmmacc by dochas.stdlib.net with local (Exim 4.50) id 1GS9fj-0004Dz-Kd for dev@httpd.apache.org; Tue, 26 Sep 2006 10:56:15 +0100 Date: Tue, 26 Sep 2006 10:56:15 +0100 From: Colm MacCarthaigh To: dev@httpd.apache.org Subject: Re: [PATCH] mod_disk_cache working LFS (filecopy) Message-ID: <20060926095615.GA16223@dochas.stdlib.net> Reply-To: colm@stdlib.net References: <4518F6C3.4020207@beamartyr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4518F6C3.4020207@beamartyr.net> User-Agent: Mutt/1.5.9i X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Tue, Sep 26, 2006 at 12:45:39PM +0300, Issac Goldstand wrote: > Forgive me for missing the obvious, but why not just use mod_file_cache > for this? > I recall you mentioning that your use of mod_cache was for locally > caching very large remote files, so don't see how this would help that > in any case since the file doesn't exist locally when being stored, and > if the file is otherwise known to be on the file system, there's no > reason to keep it in mod_disk_cache's cache area (in any case, it > wouldn't improve performance - only mod_file_cache would). So what am I > missing? There are plenty of instances in which moving it to a cache area may well improve performance. For example if you have several terabytes of cheap storage, but a nice U360 RAID-0 as a cache area. Of course the move will end up being a byte by byte copy anyway, since you can't just re-link the inode accross filesystems, but still. -- Colm MacC�rthaigh Public Key: colm+pgp@stdlib.net