Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 27938 invoked from network); 15 Jul 2005 06:23:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Jul 2005 06:23:37 -0000 Received: (qmail 16348 invoked by uid 500); 15 Jul 2005 06:23:31 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 16309 invoked by uid 500); 15 Jul 2005 06:23:31 -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 16296 invoked by uid 99); 15 Jul 2005 06:23:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2005 23:23:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of parin.soc@gmail.com designates 64.233.162.193 as permitted sender) Received: from [64.233.162.193] (HELO zproxy.gmail.com) (64.233.162.193) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jul 2005 23:23:28 -0700 Received: by zproxy.gmail.com with SMTP id 13so311306nzn for ; Thu, 14 Jul 2005 23:23:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BE/6KfsmOLY5IgdcWOdvFFW+Ro94WsOMgmUa0kvqasCDgYcwsu4SeITn29A8VyGjBDPEYuADFCI2fubo4j+yrb2g6Zfxl8koqYusSVu3rzAiUTkC33tMtWn790Tp0ltqcCQw1fikcnLuWVH2vS4iSfM/KZF1Jz4eg6ZMd9e+8+4= Received: by 10.36.178.18 with SMTP id a18mr1143307nzf; Thu, 14 Jul 2005 23:23:29 -0700 (PDT) Received: by 10.36.158.18 with HTTP; Thu, 14 Jul 2005 23:23:29 -0700 (PDT) Message-ID: Date: Fri, 15 Jul 2005 01:23:29 -0500 From: Parin Shah Reply-To: Parin Shah To: dev@httpd.apache.org Subject: Re: mod-cache-requestor plan In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42D66FAF.2090709@holsman.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks all for for your thoughts on this issue. > > The priority re-fetch would make sure the > > popular pages are always in cache, while others are allowed to die at > > their expense. >=20 >=20 > So every request for an object would update a counter for that url? >=20 - we need to maintain a counter for url in this case which would decide the priority of the url. But mainting this counter should be a low overhead operation, I believe. > Both approaches have disadvantages. I guess you just have to choose your > poison :) >=20 - I would prefer the approach where we maintain priority queue to keep track of popularity. But again you guys have more insight and understanding. so whichever approach you guys decide, I am ready to work on it! ;-) Thanks, Parin.