httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akins, Brian" <>
Subject [PATCH] mod_disk_cache deterministic tempfiles
Date Wed, 17 Aug 2005 19:37:03 GMT
The current 2.1 mod_disk_cache allows any number of workers to be actively
trying to cache the same object.  This is because of the use of

This patch makes the tempfiles the same per cache object rather than
"random".  I basically added a temp_file() that mimics data_file() and

This way only one thread is trying to cache that object and avoids a
"thundering herd." The other threads fail the EXCL flag, and serve like

View raw message