[Dbix-class] memcache / pulling out SQL from DBIx::Class

Oleg Pronin syber.rus at gmail.com
Tue May 29 19:54:56 GMT 2007


A simple try
http://www.mail-archive.com/dbix-class@lists.rawmode.org/msg03374.html


2007/5/29, Frank Speiser <frank at takkle.com>:
>
> Hi Folks,
>
> I was wondering if anyone had thoughts on how to best implement memcache
> support.
> Currently, I am looking for a way to pull out the prepared SQL from the
> statement handle, and maybe override or subclass DBI's execute method.
>
> What I'm trying to do is make sure I don't have to wrap every* call to
> cache...
>
> I would think we might try do it at resultset
> (http://search.cpan.org/dist/DBIx-Class/lib/DBIx/Class/ResultSet.pm),
> but Matt Trout was saying in this thread:
>
> http://www.mail-archive.com/dbix-class@lists.rawmode.org/msg03182.html
>
> ... to do it at the storage layer. I don't know if that is the best
> solution for us, but if anyone has managed to get memcache built in so
> that you don't have to wrap every call the the DB, I'd appreciate
> comments on how you got it to work.
>
> Thanks,
> Frank Speiser
>
> _______________________________________________
> List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
> Wiki: http://dbix-class.shadowcatsystems.co.uk/
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
> Searchable Archive:
> http://www.mail-archive.com/dbix-class@lists.rawmode.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20070529/426=
f9368/attachment-0001.htm


More information about the Dbix-class mailing list