A simple try http://www.mail-archive.com/[email protected]/msg03374.html
2007/5/29, Frank Speiser <[EMAIL PROTECTED]>:
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/[email protected]/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/[email protected]/
_______________________________________________ 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/[email protected]/
