On Tue, Apr 22, 2008 at 2:02 PM, Kunal ShahThe cache is shared between all works in the same process. That means
<kunal.software.engineer@xxxxxxxxx> wrote:
> Is mod_mem_cache modules "cache" is shared among the Multiple processes
> started using MPM module? Is there any special configuration needed?
it will be mostly-shared when using threaded mpms (worker/event) but
not when using process-based mpms (prefork).
Yes, the disk cache is shared.
>
> My tests with mod_disk_cache works with MPM module, since all processes
> points to the same "cache directory" and finds it.
As I've already mentioned this week, in many circumstances the disk
cache will outperform the memory cache because it offloads the work of
cache and memory management to the highly-optimized kernel filesystem
code. A modern OS will keep frequently-accessed parts of the cache in
the buffer cache, so you don't suffer a speed penalty from the disk
access.
Joshua.
---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx