Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 98792 invoked from network); 12 Dec 2008 19:15:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2008 19:15:04 -0000 Received: (qmail 58093 invoked by uid 500); 12 Dec 2008 19:15:12 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 58030 invoked by uid 500); 12 Dec 2008 19:15:12 -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 57990 invoked by uid 99); 12 Dec 2008 19:15:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 11:15:12 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [64.59.134.9] (HELO idcmail-mo2no.shaw.ca) (64.59.134.9) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Dec 2008 19:14:57 +0000 Received: from pd5ml1no-ssvc.prod.shaw.ca ([10.0.153.166]) by pd7mo1no-svcs.prod.shaw.ca with ESMTP; 12 Dec 2008 12:14:35 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=0 a=2XDhRfZdrYzDGC0749YA:9 a=y80cOohh_MU4jz3XER7Szn2FE1gA:4 a=JLFSxAIbKxEA:10 a=k74LRfvg_ngA:10 Received: from s010600119555dbca.gv.shawcable.net (HELO [192.168.0.103]) ([24.69.70.142]) by pd5ml1no-dmz.prod.shaw.ca with ESMTP; 12 Dec 2008 12:14:34 -0700 Message-ID: <4942B865.4060801@pearsoncmg.com> Date: Fri, 12 Dec 2008 11:15:49 -0800 From: Chris Darroch Organization: Pearson CMG/CTG User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.18) Gecko/20081114 SeaMonkey/1.1.13 MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: svn commit: r724745 - in /httpd/httpd/trunk: include/ap_socache.h modules/ssl/ssl_scache.c References: <20081209151908.BDA102388879@eris.apache.org> <493EB95B.3040105@pearsoncmg.com> <20081212100748.GA6413@redhat.com> In-Reply-To: <20081212100748.GA6413@redhat.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Joe Orton wrote: > Both modules look very neat! Are you going to commit them? I might > debate the naming of mod_shmap ;) Heh, thanks. I don't know, I hadn't really thought about committing them ... maybe the shmap one is more useful to other folks? >> - have all providers consistently return APR_NOTFOUND from retrieve() >> when an item is not found >> >> - pass a pool argument for temporary allocations to store() and remove() >> >> - return an apr_status_t instead of void from remove() and maybe >> also destroy() > > Those all seem like good ideas - thanks! I saw the commit, thank you! I confess I'm not sure what I was thinking when I said we should pass a pool to remove(), since it already took one. Maybe destroy() should take a pool too? Perhaps that's overkill. One other thought ... does this change need an ap_mmn.h bump? > Well, I stand by my argument on this before: the interface is designed > explicitly for abstraction of small object caching, emphasis both on the > small and the caching. Sure, you can implement more general backends, > but that doesn't change the design of the API. OK, I'll buy that and be quiet ... except for one thing. :-) I feel like "so" is already quite overloaded with the meaning "shared object", and especially so in this case, since we have the long-standing mod_so already in place. To my mind, mod_socache* could easily imply to others that these modules are somehow related to caching .so files in memory, or something like that. Is there anything we could come up with that doesn't imply any connection with mod_so and .so files? I hunted around for something in the past and came up with shmap, but I could live with dcache or scache or something else that seemed unique within in the httpd module population. Any thoughts? Chris. -- GPG Key ID: 366A375B GPG Key Fingerprint: 485E 5041 17E1 E2BB C263 E4DE C8E3 FA36 366A 375B