httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Edmundsson <>
Subject mod_disk_cache jumbopatch - 20070727 revision
Date Fri, 27 Jul 2007 21:15:18 GMT

I have uploaded the version of our mod_disk_cache jumbopatch that 
we've been using on for some time now to
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, 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 
* 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.

  Niklas Edmundsson, Admin @ {acc,hpc2n}      |
  We are AT&T of Borg, MCI will be assimilated

View raw message