<?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"
	>
<channel>
	<title>Comments on: Speed up Ruby-on-Rails with memcached</title>
	<atom:link href="http://www.fak3r.com/2006/05/11/speed-up-ruby-on-rails-with-memcached/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fak3r.com/2006/05/11/speed-up-ruby-on-rails-with-memcached/</link>
	<description>dim high beams for oncoming traffic</description>
	<pubDate>Tue, 02 Dec 2008 02:54:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: ok</title>
		<link>http://www.fak3r.com/2006/05/11/speed-up-ruby-on-rails-with-memcached/#comment-27952</link>
		<dc:creator>ok</dc:creator>
		<pubDate>Thu, 25 Sep 2008 07:29:31 +0000</pubDate>
		<guid isPermaLink="false">http://cryer.us/fak3r.com/?p=16#comment-27952</guid>
		<description>good site aczlix</description>
		<content:encoded><![CDATA[<p>good site aczlix</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: VeeKay</title>
		<link>http://www.fak3r.com/2006/05/11/speed-up-ruby-on-rails-with-memcached/#comment-27712</link>
		<dc:creator>VeeKay</dc:creator>
		<pubDate>Fri, 13 Jun 2008 14:50:47 +0000</pubDate>
		<guid isPermaLink="false">http://cryer.us/fak3r.com/?p=16#comment-27712</guid>
		<description>Hi,

Is there are way we can clear cache in memcached for windows and rails?

Thanks in Advance,
Veekay</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Is there are way we can clear cache in memcached for windows and rails?</p>
<p>Thanks in Advance,<br />
Veekay</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fak3r</title>
		<link>http://www.fak3r.com/2006/05/11/speed-up-ruby-on-rails-with-memcached/#comment-11030</link>
		<dc:creator>fak3r</dc:creator>
		<pubDate>Thu, 03 May 2007 18:00:37 +0000</pubDate>
		<guid isPermaLink="false">http://cryer.us/fak3r.com/?p=16#comment-11030</guid>
		<description>I'm seeing some ideas:
http://www.jsw4.net/info/listserv_archives/cgiapp/06-06/msg00031.html

http://cvs.drupal.org/viewcvs/drupal/contributions/modules/memcache/memcache.inc?rev=1.4

Which both basically deal with creating a cgi or php page to handle the manual clearing of the cache.  If you had access to cron, or any type of scheduling agent, you could set curl or wget to access this page daily to run the clear.</description>
		<content:encoded><![CDATA[<p>I&#8217;m seeing some ideas:<br />
<a href="http://www.jsw4.net/info/listserv_archives/cgiapp/06-06/msg00031.html" onclick="javascript:pageTracker._trackPageview('/outbound/comment/www.jsw4.net');" >http://www.jsw4.net/info/listserv_archives/cgiapp/06-06/msg00031.html</a></p>
<p><a href="http://cvs.drupal.org/viewcvs/drupal/contributions/modules/memcache/memcache.inc?rev=1.4" onclick="javascript:pageTracker._trackPageview('/outbound/comment/cvs.drupal.org');" >http://cvs.drupal.org/viewcvs/drupal/contributions/modules/memcache/memcache.inc?rev=1.4</a></p>
<p>Which both basically deal with creating a cgi or php page to handle the manual clearing of the cache.  If you had access to cron, or any type of scheduling agent, you could set curl or wget to access this page daily to run the clear.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Johnston</title>
		<link>http://www.fak3r.com/2006/05/11/speed-up-ruby-on-rails-with-memcached/#comment-8448</link>
		<dc:creator>Michael Johnston</dc:creator>
		<pubDate>Mon, 23 Apr 2007 08:58:51 +0000</pubDate>
		<guid isPermaLink="false">http://cryer.us/fak3r.com/?p=16#comment-8448</guid>
		<description>Is there any way to clear memcached? I have not been able to figure this out. Killing and restarting it is not an option as I have limited abilities on the server.</description>
		<content:encoded><![CDATA[<p>Is there any way to clear memcached? I have not been able to figure this out. Killing and restarting it is not an option as I have limited abilities on the server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2006-11-30 at The International House of Nathos</title>
		<link>http://www.fak3r.com/2006/05/11/speed-up-ruby-on-rails-with-memcached/#comment-1756</link>
		<dc:creator>links for 2006-11-30 at The International House of Nathos</dc:creator>
		<pubDate>Mon, 25 Dec 2006 11:20:45 +0000</pubDate>
		<guid isPermaLink="false">http://cryer.us/fak3r.com/?p=16#comment-1756</guid>
		<description>[...] Speed up Ruby-on-Rails with memcached just like it says (tags: ruby rails database performance) [...]</description>
		<content:encoded><![CDATA[<p>[...] Speed up Ruby-on-Rails with memcached just like it says (tags: ruby rails database performance) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fak3r</title>
		<link>http://www.fak3r.com/2006/05/11/speed-up-ruby-on-rails-with-memcached/#comment-839</link>
		<dc:creator>fak3r</dc:creator>
		<pubDate>Wed, 06 Dec 2006 16:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://cryer.us/fak3r.com/?p=16#comment-839</guid>
		<description>That rocks, I will write another memcached article soon, this one using multiple servers on the same network for better performance.</description>
		<content:encoded><![CDATA[<p>That rocks, I will write another memcached article soon, this one using multiple servers on the same network for better performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jj</title>
		<link>http://www.fak3r.com/2006/05/11/speed-up-ruby-on-rails-with-memcached/#comment-368</link>
		<dc:creator>jj</dc:creator>
		<pubDate>Mon, 14 Aug 2006 13:31:51 +0000</pubDate>
		<guid isPermaLink="false">http://cryer.us/fak3r.com/?p=16#comment-368</guid>
		<description>This worked perfectly, thanks for the how to.  After clearing my filesystem cache and rerunning the app, I never got any more files written in, but the site felt faster.  ThankS!</description>
		<content:encoded><![CDATA[<p>This worked perfectly, thanks for the how to.  After clearing my filesystem cache and rerunning the app, I never got any more files written in, but the site felt faster.  ThankS!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fak3r</title>
		<link>http://www.fak3r.com/2006/05/11/speed-up-ruby-on-rails-with-memcached/#comment-11</link>
		<dc:creator>fak3r</dc:creator>
		<pubDate>Wed, 21 Jun 2006 02:47:10 +0000</pubDate>
		<guid isPermaLink="false">http://cryer.us/fak3r.com/?p=16#comment-11</guid>
		<description>A little update, I got the same error:
&lt;blockquote&gt;Application error (Apache)
Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html&lt;/blockquote&gt;
On a new server...that doesn't have Apache installed! Me thinks that error is a red herring. More digging (!) is needed on this one.</description>
		<content:encoded><![CDATA[<p>A little update, I got the same error:</p>
<blockquote><p>Application error (Apache)<br />
Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html</p></blockquote>
<p>On a new server&#8230;that doesn&#8217;t have Apache installed! Me thinks that error is a red herring. More digging (!) is needed on this one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fak3r</title>
		<link>http://www.fak3r.com/2006/05/11/speed-up-ruby-on-rails-with-memcached/#comment-10</link>
		<dc:creator>fak3r</dc:creator>
		<pubDate>Wed, 21 Jun 2006 02:46:51 +0000</pubDate>
		<guid isPermaLink="false">http://cryer.us/fak3r.com/?p=16#comment-10</guid>
		<description>I've come across other articles that deal with this memcache issue in FreeBSD / OS X along with other comments on scaling with Rails. I'm still searching for an answer as to why Ruby-Memcache-0.4 works, but memcache-client-1.0.3 doesn't.  More good reading her: &lt;a rel="nofollow" href="http://bob.mobileduo.com/archives/2005/12/memcache_myster.html" rel="nofollow"&gt;Memcache Mysteries&lt;/a&gt;, &lt;a rel="nofollow" href="http://lists.danga.com/pipermail/memcached/2006-March/002018.html" rel="nofollow"&gt;memcached performance on Mac OS 10.4&lt;/a&gt;,&lt;a rel="nofollow" href="http://www.loudthinking.com/arc/000479.html" rel="nofollow"&gt;It's boring to scale with Ruby on Rails&lt;/a&gt; (I like that one), &lt;a rel="nofollow" href="http://lists.rubyonrails.org/pipermail/rails/2006-March/021773.html" rel="nofollow"&gt;[Rails] cached_model and memcache-client slowness&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;ve come across other articles that deal with this memcache issue in FreeBSD / OS X along with other comments on scaling with Rails. I&#8217;m still searching for an answer as to why Ruby-Memcache-0.4 works, but memcache-client-1.0.3 doesn&#8217;t.  More good reading her: <a rel="nofollow" href="http://bob.mobileduo.com/archives/2005/12/memcache_myster.html" onclick="javascript:pageTracker._trackPageview('/outbound/comment/bob.mobileduo.com');" rel="nofollow">Memcache Mysteries</a>, <a rel="nofollow" href="http://lists.danga.com/pipermail/memcached/2006-March/002018.html" onclick="javascript:pageTracker._trackPageview('/outbound/comment/lists.danga.com');" rel="nofollow">memcached performance on Mac OS 10.4</a>,<a rel="nofollow" href="http://www.loudthinking.com/arc/000479.html" onclick="javascript:pageTracker._trackPageview('/outbound/comment/www.loudthinking.com');" rel="nofollow">It&#8217;s boring to scale with Ruby on Rails</a> (I like that one), <a rel="nofollow" href="http://lists.rubyonrails.org/pipermail/rails/2006-March/021773.html" onclick="javascript:pageTracker._trackPageview('/outbound/comment/lists.rubyonrails.org');" >[Rails] cached_model and memcache-client slowness</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fak3r</title>
		<link>http://www.fak3r.com/2006/05/11/speed-up-ruby-on-rails-with-memcached/#comment-9</link>
		<dc:creator>fak3r</dc:creator>
		<pubDate>Wed, 21 Jun 2006 02:46:30 +0000</pubDate>
		<guid isPermaLink="false">http://cryer.us/fak3r.com/?p=16#comment-9</guid>
		<description>Today I read and artcle on &lt;a rel="nofollow" href="http://railsexpress.de/blog/articles/2006/01/24/using-memcached-for-ruby-on-rails-session-storage" rel="nofollow"&gt;RailsExpress.blog&lt;/a&gt; about a new Ruby memcache client that provides better performance than the one I installed above. From the site:

Using memcached for Ruby on Rails session storage
Posted by Stefan Kaes on Tuesday, January 24, 2006
&lt;blockquote&gt;A few days ago Eric Hodel announced the availability of a new pure Ruby memcached client implementation (&lt;a rel="nofollow" href="http://rubyforge.org/frs/?group_id=1266" rel="nofollow"&gt;memcache-client-1.0.3&lt;/a&gt;) with performance improvements over the older &lt;a rel="nofollow" href="http://raa.ruby-lang.org/project/memcache/" rel="nofollow"&gt;Ruby-Memcache-0.4&lt;/a&gt;&lt;a rel="nofollow" href="/blog/articles/2005/12/19/roll-your-own-sql-session-store" rel="nofollow"&gt;Roll your own SQL session store&lt;/a&gt;). implementation.  I had measured the old version previously, for use as a Ruby on Rails fragment cache storage container, but found its performance to be abysmal and completely unusable for my purposes. memcache-client-1.0.3 provides much better performance: much faster than either the old implementation, pstore or ActiveRecordStore, but also faster than my optimized SQLSessionStore using MysqlSession&lt;/blockquote&gt;
So I uninstalled memcache-client (it was version 1.0.3) then installed the newer client, Ruby-Memcache (it was version 0.4 - but it is found under databases/rubygem-memcache-client in the FreeBSD ports) and all seemed to be fine, if it's faster or not I can't tell just by myself, but if you want to 'edit' a post -or- submit a comment to a post it throws the following error:
&lt;blockquote&gt;Application error (Apache)
Chan&lt;em&gt;ge this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html&lt;/em&gt;&lt;/blockquote&gt;
I had to uninstall the newer memcache client and go back to the older client just to post this! I'm going to post this on the Typo list to see if it's Typo, or Rails related. Where is Apache getting thrown into the mix? I use it to do the mod_proxy to ip:3000 so it hits Typo, but I've never gotten an error in Typo that is Apache based (afaik).</description>
		<content:encoded><![CDATA[<p>Today I read and artcle on <a rel="nofollow" href="http://railsexpress.de/blog/articles/2006/01/24/using-memcached-for-ruby-on-rails-session-storage" onclick="javascript:pageTracker._trackPageview('/outbound/comment/railsexpress.de');" >RailsExpress.blog</a> about a new Ruby memcache client that provides better performance than the one I installed above. From the site:</p>
<p>Using memcached for Ruby on Rails session storage<br />
Posted by Stefan Kaes on Tuesday, January 24, 2006</p>
<blockquote><p>A few days ago Eric Hodel announced the availability of a new pure Ruby memcached client implementation (<a rel="nofollow" href="http://rubyforge.org/frs/?group_id=1266" onclick="javascript:pageTracker._trackPageview('/outbound/comment/rubyforge.org');" rel="nofollow">memcache-client-1.0.3</a>) with performance improvements over the older <a rel="nofollow" href="http://raa.ruby-lang.org/project/memcache/" onclick="javascript:pageTracker._trackPageview('/outbound/comment/raa.ruby-lang.org');" rel="nofollow">Ruby-Memcache-0.4</a><a rel="nofollow" href="/blog/articles/2005/12/19/roll-your-own-sql-session-store" >Roll your own SQL session store</a>). implementation.  I had measured the old version previously, for use as a Ruby on Rails fragment cache storage container, but found its performance to be abysmal and completely unusable for my purposes. memcache-client-1.0.3 provides much better performance: much faster than either the old implementation, pstore or ActiveRecordStore, but also faster than my optimized SQLSessionStore using MysqlSession</p></blockquote>
<p>So I uninstalled memcache-client (it was version 1.0.3) then installed the newer client, Ruby-Memcache (it was version 0.4 - but it is found under databases/rubygem-memcache-client in the FreeBSD ports) and all seemed to be fine, if it&#8217;s faster or not I can&#8217;t tell just by myself, but if you want to &#8216;edit&#8217; a post -or- submit a comment to a post it throws the following error:</p>
<blockquote><p>Application error (Apache)<br />
Chan<em>ge this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html</em></p></blockquote>
<p>I had to uninstall the newer memcache client and go back to the older client just to post this! I&#8217;m going to post this on the Typo list to see if it&#8217;s Typo, or Rails related. Where is Apache getting thrown into the mix? I use it to do the mod_proxy to ip:3000 so it hits Typo, but I&#8217;ve never gotten an error in Typo that is Apache based (afaik).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
