[Maypole] Maypole::Cache

Simon Cozens simon@simon-cozens.org
Tue, 6 Jul 2004 22:37:28 +0100


Perrin Harkins:
> Yes, all of them do.  I recommend Cache::FastMmap as a starting point. 

Nice idea, but Cache::FastMmap doesn't conform to the Cache::Cache API.
For instance, I can't set a namespace, and, most annoyingly, ->new takes
a hash not a hash reference. The whole point of having {cache_opts}{class}
in the Maypole::Cache config is so that people can set their own caching
class out of mutually compatible cache implementations - of which
Cache::FastMmap is sadly not one.

-- 
Look, there are only a few billion people in the world, right?  And they can 
only possibly know a few thousand bits of information not known by someone 
else, right?  So the human race will never have a real need for more than a 
few terabits of storage, except possibly as cache. - Geraint Jones