On Wed, 2005-08-24 at 07:02 -0400, Sean Davis wrote:
> As an aside, are there rules of thumb about what cache works best in various
> situations?

Cache::FastMmap and BerkeleyDB are the fastest by far, but they are
local to one machine.  Cache::Memcached or a simple key/value table in a
MySQL server are second fastest, and can be shared between machines.
After that, everything else is a lot slower.  Some stats are available
here:
http://cpan.robm.fastmail.fm/cache_perf.html

> Are RDBMS's, if accessible, generally a good solution?

For caching?  MySQL is surprisingly fast when handling primary key
requests  against a simple table.  It's faster than Cache::Cache and
most of the other caching modules.

- Perrin

Reply via email to