<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: What&#8217;s the Point?</title>
	<atom:link href="http://yehudakatz.com/2009/02/12/whats-the-point/feed/" rel="self" type="application/rss+xml" />
	<link>http://yehudakatz.com/2009/02/12/whats-the-point/</link>
	<description>Random Geek-Related Thoughts</description>
	<lastBuildDate>Wed, 08 Sep 2010 23:53:11 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Alistair Holt</title>
		<link>http://yehudakatz.com/2009/02/12/whats-the-point/comment-page-1/#comment-15828</link>
		<dc:creator>Alistair Holt</dc:creator>
		<pubDate>Fri, 13 Feb 2009 00:28:40 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=217#comment-15828</guid>
		<description>Love it. Rack for key/value stores!</description>
		<content:encoded><![CDATA[<p>Love it. Rack for key/value stores!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GMFlash</title>
		<link>http://yehudakatz.com/2009/02/12/whats-the-point/comment-page-1/#comment-15827</link>
		<dc:creator>GMFlash</dc:creator>
		<pubDate>Thu, 12 Feb 2009 22:24:01 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=217#comment-15827</guid>
		<description>Moneta looks great! Have you considered supporting the memcached gem   libmemcached library in addition to the memcache-client gem?  From what I read this combination has better performance at the cost of being slightly harder to install since it has to compile.</description>
		<content:encoded><![CDATA[<p>Moneta looks great! Have you considered supporting the memcached gem   libmemcached library in addition to the memcache-client gem?  From what I read this combination has better performance at the cost of being slightly harder to install since it has to compile.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Kubb</title>
		<link>http://yehudakatz.com/2009/02/12/whats-the-point/comment-page-1/#comment-15826</link>
		<dc:creator>Dan Kubb</dc:creator>
		<pubDate>Thu, 12 Feb 2009 22:05:01 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=217#comment-15826</guid>
		<description>Whoops.. I meant to say: &quot;When Yehuda showed me his moneta API, I realized we could use a moneta store as an *IM* — with no code changes to DataMapper or Moneta whatsoever.&quot;

IM == IdentityMap, which is something DataMapper uses internally to cache objects by their key in memory.  When you use Model#get, DM checks the IM to see if you&#039;ve already retrieved the object, and if so, just pulls it from there, saving you a call to the backend.  This behavior only happens inside a repository() block, so it&#039;s opt-in only, but extremely useful.

Originally the plan was to make some DataMapper::IdentityMap plugins for Memcache and Tokyo Cabinet, but I might just tell people to use a store that is Moneta-compatible instead.  The advantage to this approach is that a Moneta store isn&#039;t DM-only, you could conceivably use it as a key/value cache for merb-cache, Rack::Cache or ActiveRecord among other things.</description>
		<content:encoded><![CDATA[<p>Whoops.. I meant to say: &#8220;When Yehuda showed me his moneta API, I realized we could use a moneta store as an *IM* — with no code changes to DataMapper or Moneta whatsoever.&#8221;</p>
<p>IM == IdentityMap, which is something DataMapper uses internally to cache objects by their key in memory.  When you use Model#get, DM checks the IM to see if you&#8217;ve already retrieved the object, and if so, just pulls it from there, saving you a call to the backend.  This behavior only happens inside a repository() block, so it&#8217;s opt-in only, but extremely useful.</p>
<p>Originally the plan was to make some DataMapper::IdentityMap plugins for Memcache and Tokyo Cabinet, but I might just tell people to use a store that is Moneta-compatible instead.  The advantage to this approach is that a Moneta store isn&#8217;t DM-only, you could conceivably use it as a key/value cache for merb-cache, Rack::Cache or ActiveRecord among other things.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Kubb</title>
		<link>http://yehudakatz.com/2009/02/12/whats-the-point/comment-page-1/#comment-15825</link>
		<dc:creator>Dan Kubb</dc:creator>
		<pubDate>Thu, 12 Feb 2009 21:56:50 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=217#comment-15825</guid>
		<description>The target with DataMapper&#039;s IdentityMap for the next minor release was using a subset of the Hash API anyway.  When Yehuda showed me his moneta API, I realized we could use a moneta store as an I -- with no code changes to DataMapper or Moneta whatsoever.

I love it when libraries base their API conventions on Ruby core classes.</description>
		<content:encoded><![CDATA[<p>The target with DataMapper&#8217;s IdentityMap for the next minor release was using a subset of the Hash API anyway.  When Yehuda showed me his moneta API, I realized we could use a moneta store as an I &#8212; with no code changes to DataMapper or Moneta whatsoever.</p>
<p>I love it when libraries base their API conventions on Ruby core classes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wycats</title>
		<link>http://yehudakatz.com/2009/02/12/whats-the-point/comment-page-1/#comment-15823</link>
		<dc:creator>wycats</dc:creator>
		<pubDate>Thu, 12 Feb 2009 19:07:39 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=217#comment-15823</guid>
		<description>Whoops... I forgot to include it in the original description of the API. Moneta has fetch, but it behaves like Ruby&#039;s #fetch (i.e. doesn&#039;t store the value)</description>
		<content:encoded><![CDATA[<p>Whoops&#8230; I forgot to include it in the original description of the API. Moneta has fetch, but it behaves like Ruby&#8217;s #fetch (i.e. doesn&#8217;t store the value)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Burkert</title>
		<link>http://yehudakatz.com/2009/02/12/whats-the-point/comment-page-1/#comment-15822</link>
		<dc:creator>Ben Burkert</dc:creator>
		<pubDate>Thu, 12 Feb 2009 19:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://yehudakatz.com/?p=217#comment-15822</guid>
		<description>Why not add a #fetch method? Both Rails &amp; Merb&#039;s caching implementation have a fetch method.</description>
		<content:encoded><![CDATA[<p>Why not add a #fetch method? Both Rails &amp; Merb&#8217;s caching implementation have a fetch method.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
