[Maypole] Maypole::Cache
Perrin Harkins
perrin@elem.com
Tue, 06 Jul 2004 17:46:26 -0400
On Tue, 2004-07-06 at 17:37, Simon Cozens wrote:
> Nice idea, but Cache::FastMmap doesn't conform to the Cache::Cache API.
Yes, but neither does any other cache module worth using. The sad fact
is that all of the Cache::Cache modules are considerably slower than a
simple MySQL query. They have a clean API, but no one else has adopted
it, so it's not very useful.
You can use the share_file parameter with Cache::FastMmap to get
different namespaces.
IPC::MM and BerkeleyDB also have acceptable performance for shared data,
but don't have an API designed specifically for caching, so expiration
would be an additional thing to implement on top of them.
- Perrin