httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <>
Subject Re: Possible new cache architecture
Date Mon, 01 May 2006 20:17:33 GMT
William A. Rowe, Jr. wrote:

> And, of course, inserting the hit once it's composed is important, and can
> happen in parallel (3 clients looking for the same, and then fetching the
> same page from the origin).  But it's harmless if the insertion is mutex
> protected, and the insertion can only happen once the page is fetched
> complete.

in the case of mod_disk_cache the way I would do it is to have a 
deterministic tempfile rather than user apr_tempfile and opening it EXCL.

Brian Akins
Lead Systems Engineer
CNN Internet Technologies

View raw message