You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Rob Mueller <ro...@fastmail.fm> on 2005/04/15 12:41:24 UTC

Note on performance of Cache::SizeAwareFileCache modules...

I did an analysis of the performance of different caching modules a little 
while back which I posted to this list. At the time one of the caches I 
benchmarked was Cache::FileCache. I just received an email from someone 
pointing out that it's worth knowing that Cache::SizeAwareFileCache is many, 
many times slower than Cache::FileCache. Probably something worth being 
aware of.

I've updated the page here:
http://cpan.robm.fastmail.fm/cache_perf.html

So probably at the moment the two best modules to use are:
1. For a size limited or expiring cache: Cache::FastMmap
2. For a size unlimited and/or non-expiring cache: BerkeleyDB

Rob