mod_cache > Using both mod_mem_cache and mod_disk_cache for faster times?

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

 



Dear List,

 

When two cache sources are configured the documentation says Apache tries to pull the object from the first cache source and if it's not there, it tries the second.

 

Based on this, is it efficient to use 2 caches for the same content:

 

- mod_mem_cache for frequently used and fast access

- and mod_disk_cache for slightly slower access (but nearly unlimited storage space)?

 

Seems this would be good but maybe the overhead of polling both caches results in everything being slower?

Anyone with experience here?  Sample config below.

 

Thanks,

 

Geoff Millikan, http://www.t1shopper.com/

 

---== Sample Config Snippet ==---

CacheRoot /var/cache/mod_cache/

CacheEnable  mem /

CacheEnable disk /

#Limit RAM cache to 10MB and 100 items.  Put everything else on the disk.

MCacheSize 2048

MCacheMaxObjectCount 100

MCacheRemovalAlgorithm GDSF

CacheDisable /images

 

 

 


[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