httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kunal Shah" <kunal.software.engin...@gmail.com>
Subject Re: [users@httpd] Using mod_mem_cache with MPM
Date Tue, 22 Apr 2008 19:37:28 GMT
Thanks Joshua for your response.  I hope this is documented somewhere.

I was wondering if any other disk operation e.g. cleanup would interfere and
degrade the overall performance.

Thanks,
Kunal

On Tue, Apr 22, 2008 at 1:22 PM, Joshua Slive <joshua@slive.ca> wrote:

> On Tue, Apr 22, 2008 at 2:02 PM, Kunal Shah
> <kunal.software.engineer@gmail.com> wrote:
> > Is mod_mem_cache modules "cache" is shared among the Multiple processes
> > started using MPM module?  Is there any special configuration needed?
>
> The cache is shared between all works in the same process. That means
> it will be mostly-shared when using threaded mpms (worker/event) but
> not when using process-based mpms (prefork).
>
> >
> > My tests with mod_disk_cache works with MPM module, since all processes
> > points to the same "cache directory" and finds it.
>
> Yes, the disk cache is shared.
>
> 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@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