Re: Using mod_mem_cache with MPM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 22, 2008 at 2:02 PM, Kunal Shah
<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?

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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux