Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 26541 invoked from network); 16 Jul 2005 02:57:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Jul 2005 02:57:40 -0000 Received: (qmail 14650 invoked by uid 500); 16 Jul 2005 02:57:37 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 14597 invoked by uid 500); 16 Jul 2005 02:57:37 -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 14584 invoked by uid 99); 16 Jul 2005 02:57:36 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2005 19:57:36 -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.197 as permitted sender) Received: from [64.233.162.197] (HELO zproxy.gmail.com) (64.233.162.197) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2005 19:57:33 -0700 Received: by zproxy.gmail.com with SMTP id 13so440633nzp for ; Fri, 15 Jul 2005 19:57:34 -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=nIq9YeFH6tyiMTXc0O+gpRVz1khcYVcmcAalY9VbD1vdEK69eh3qLTxG7eVYMrF1uXGX0m/7/GNd6JeqJWrwzBlnu3InBgWeNB08UgQjlwWCUjpkcPbeYgonZmxvq1qHZig58ug6WR411jJR7Ysz07+DcuwRfBIyIjDLWQOLB+w= Received: by 10.36.227.64 with SMTP id z64mr2083867nzg; Fri, 15 Jul 2005 19:57:34 -0700 (PDT) Received: by 10.36.158.18 with HTTP; Fri, 15 Jul 2005 19:57:34 -0700 (PDT) Message-ID: Date: Fri, 15 Jul 2005 21:57:34 -0500 From: Parin Shah Reply-To: Parin Shah To: dev@httpd.apache.org Subject: Re: mod-cache-requestor plan In-Reply-To: <20050715085424.GA18082@stdlib.net> 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> <20050715085424.GA18082@stdlib.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 7/15/05, Colm MacCarthaigh wrote: > On Fri, Jul 15, 2005 at 01:23:29AM -0500, Parin Shah wrote: > > - 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. >=20 > Is a counter strictly speaking the right approach? Why not a time of > last access? >=20 > I havn't run a statistical analysis but based on my logs the likelyhood > of a url being accessed is very highly correlated to how recently it has > been accessed before. A truly popular page will always have been > accessed recently, a page that is becoming popular (and therefore very > likely to get future hits) will have been accessed recently and a page > who's popularity is rapidly diminishing will not have been accessed > recently. >=20 Last Access Time is definetaly better solution when compared to counter mechanism. Would like to know other ppl's opinion too. Thanks, Parin.