I was wondering if anyone had any experience with using memcached to cache Active Record objects. I am planning on doing this for my site but I am trying to decide the best way to implement it. I''d rather not make my own api for db access which encapsulates AR and memcached somehow because I love using the AR api directly. I''d like to build the caching into AR somehow so that it''s transparent. Although this might prove to not be flexible enough. I was just curious if anyone had any experience or suggestions that might help me out. Thanks in advance. - Steve Dp
On 10-okt-2005, at 23:31, Steve Dp wrote:> I was wondering if anyone had any experience with using memcached to > cache Active Record objects. I am planning on doing this for my site > but I am trying to decide the best way to implement it. I''d rather > not > make my own api for db access which encapsulates AR and memcached > somehow > because I love using the AR api directly. I''d like to build the > caching > into AR somehow so that it''s transparent. Although this might > prove to > not be flexible enough. > > I was just curious if anyone had any experience or suggestions that > might help me out. > > Thanks in advance.I remember Dmitry Sabanin had implemented something like this, look under his name on Rubyforge. THe project name was something like ar2cache or so -- Julian "Julik" Tarkhanov
Julian ''Julik'' Tarkhanov <listbox@...> writes:> I remember Dmitry Sabanin had implemented something like this, look > under his name on Rubyforge. > THe project name was something like ar2cache or so >Found it. It was cacheAR under his muravey project. Gives me a good place to start. Thanks a lot!! - steve