[Dbix-class] Soliciting Design Input for an Object Caching Module

Dave Howorth dhoworth at mrc-lmb.cam.ac.uk
Wed May 16 10:53:09 GMT 2007


Dave Cardwell wrote:
> Brandon Black wrote:
>> I would assume that different caches have different interfaces and
>> behaviors, and we need to either write to a really useful one
>> (memcached gets my vote), or we need to first abstract all of the
>> useful caching backends into something generic we can use (kinda like
>> how Storage abstracts DBI).
> 
> I had envisaged writing a driver that was effectively a generic
> wrapper for modules that implement the Cache::Cache [1] interface,
> with the option for people to inherit from and overwrite the driver's
> methods to provide for other cache APIs as required.

I'm looking to refactor some homebrew hash-cacheing, so I'm interested
in this topic but know nothing about the capabilities of the various
Perl modules. Is there a good primer anywhere or is it just a question
of RTFM?

Thanks, Dave



More information about the Dbix-class mailing list