httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Mateja <pa...@netsafe.cz>
Subject Re: [users@httpd] Mod_proxy problem in 2.2.4
Date Thu, 31 May 2007 15:40:13 GMT
> But the disk cache often has better performance than the memory cache
> even on a normal disk. There are two reasons for this:
>
> 1. The disk cache is shared between all processes, while the mem cache
> must keep copies of each object for each processes.
>
> 2. The disk cache takes full advantage of your OSes buffer caches and
> zero-copy networking. If you have enough memory, then frequently
> accessed stuff from the disk cache is going to be kept in memory by
> your OS. And instead of apache having to handle all the
> synchronization itself, it will all be handled in the kernel where it
> is the most efficient.

I know all of this. But our application has cca 10M hits per day per proxy and 
we are trying to cache cca 3GB of images in 200MB of RAM (rest of 1GB is 
consumed by apache and iptables) to save some traffic. No harddisk known to 
me can really handle this.
-- 
Pavel Mateja

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message