logo       
Google Custom Search
    AddThis Social Bookmark Button

REPOST: memcache / DBIx::Class: msg#00416

Subject: REPOST: memcache / DBIx::Class
Hi Folks,

[ APOLOGIES IF I MUFFLED UP YOUR EMAIL CLIENT ]

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@xxxxxxxxxxxxxxxxx/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




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>