[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-dev
Subject:    mod_disk_cache jumbopatch - 20070727 revision
From:       Niklas Edmundsson <nikke () acc ! umu ! se>
Date:       2007-07-27 21:15:18
Message-ID: Pine.GSO.4.64.0707272311160.16617 () kleopatra ! acc ! umu ! se
[Download RAW message or body]


I have uploaded the version of our mod_disk_cache jumbopatch that 
we've been using on ftp.acc.umu.se for some time now to
http://issues.apache.org/bugzilla/show_bug.cgi?id=39380
for those who wants a one-patch solution to using our modifications.

Cut&paste from the bugzilla attachment comment:
httpd 2.2.4 - mod_disk_cache jumbo patch - lfs/diskformat/read-while-caching etc.

A snapshot from 20070727 of our mod_disk_cache jumbo patch and some 
assorted additional patches that's needed for stability. We've been 
running this for a couple of months on ftp.acc.umu.se, they have 
survived Debian/Ubuntu/Mozilla releases gracefully.

This version plays well with other entities using/updating the cache. 
We are using a open()-wrapper in combination with rsync which lets 
rsync utilise the cached bodies, and also cache files.

This patch is provided mostly as a one-patch solution for other sites 
that wishes to use these mod_disk_cache modifications.

Highlights from previous patch:
* More corner case error fixes, most of them triggered by Mozilla 
releases.
* Greatly reduced duplicated data in the cache when using an NFS 
backend by hashing the body on the source files device and inode when 
available. HTTPD has
already done the stat() of the file for us, so it's essentially free.
* Tidied up the handling of updated files, only delete files in cache 
if they're really obsolete.


/Nikke
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     nikke@acc.umu.se
---------------------------------------------------------------------------
  We are AT&T of Borg, MCI will be assimilated
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic