httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject Re: svn commit: r468373 - in /httpd/httpd/trunk: CHANGES modules/cache/mod_cache.c modules/cache/mod_cache.h modules/cache/mod_disk_cache.c modules/cache/mod_disk_cache.h modules/cache/mod_mem_cache.c
Date Fri, 27 Oct 2006 20:36:58 GMT
Davi Arnaut wrote:

> Because the data is already in memory. Why should I write something to
> disk, erase it from memory, and read it again shortly ? Why should I
> take care of something that is the job of the OS ? Why should I trash
> the VM constantly ?

Because reading slowly from a cache disk is less resource intensive than 
reading from CGI, proxy, slow NFS drives, etc. And reading from cache 
disk gives you SENDFILE. Try it out, you will see.

Regards,
Graham
--

Mime
View raw message