httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Akins <>
Subject Re: [PATCH] mod_cache fixes
Date Mon, 02 Aug 2004 12:35:55 GMT
Justin Erenkrantz wrote:

> 3) Allow mod_disk_cache to use sendfile

This, in my experience is a huge gain.  Another thing to consider is to 
use normal open/read/close on the headers file.  This saves a few 
apr_alloc's and strdup's, which in turn saves some mutex locks.  This 
may not seem like much, but when you are doing 20k+ requests/sec it 
makes a difference.

Brian Akins
Senior Systems Engineer
CNN Internet Technologies

View raw message