<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">]>
<rss version="2.0" xml:base="http://www.kai-mai.com">
<channel>
 <title>Kai Mai&#039;s Blog - Take Back the Web - Nodes for ruby_on_rails</title>
 <link>http://www.kai-mai.com/tags/ruby_on_rails</link>
 <description>Nodes containing the tag ruby_on_rails</description>
 <language>en</language>
<item>
 <title>Ruby on Rails Caching: memcached Connection Lost Problem - FiveRuns&#039; Memcache-client to Rescue</title>
 <link>http://www.kai-mai.com/node/146</link>
 <description>&lt;p&gt;
You use &lt;a href=&quot;http://www.danga.com/memcached/&quot;&gt;memcached server&lt;/a&gt; and &lt;a href=&quot;http://seattlerb.rubyforge.org/memcache-client/&quot;&gt;memcached-client&lt;/a&gt; for caching with your Ruby on Rails application.
One day, &lt;a href=&quot;http://tildeslash.com/monit/&quot;&gt;monit&lt;/a&gt; tells you that memcached got restarted.  Sounds good.  But when you check your Ruby on Rails app, it gives you 500 errrors all over the place.
You check your server logs.  Tons of errors on &#039;lost connection&#039; with memcache.
It turned out that &lt;a href=&quot;http://seattlerb.rubyforge.org/memcache-client/&quot;&gt;memcached-client&lt;/a&gt; doesn&#039;t automatically retry on failed memcached connection.
&lt;/p&gt;
&lt;p&gt;
Fortunately, FiveRuns &lt;a href=&quot;http://blog.fiveruns.com/2008/6/11/fiveruns-and-seattle-rb-s-memcache-client&quot;&gt;fixed&lt;/a&gt; memcached-client and &lt;a href=&quot;http://github.com/fiveruns/memcache-client/tree/master&quot;&gt;released&lt;/a&gt; it
&lt;/p&gt;
&lt;p class=&quot;awTags_TagLinks&quot;&gt;Tags: &lt;a href=&quot;tags/266&quot;&gt;ruby_on_rails&lt;/a&gt; &lt;a href=&quot;tags/267&quot;&gt;memcached&lt;/a&gt; &lt;a href=&quot;tags/268&quot;&gt;fiveruns&lt;/a&gt; &lt;a href=&quot;tags/269&quot;&gt;memcache-client&lt;/a&gt; &lt;/p&gt;</description>
 <category domain="http://www.technorati.com/tag">ruby_on_rails</category>
 <category domain="http://www.technorati.com/tag">memcached</category>
 <category domain="http://www.technorati.com/tag">fiveruns</category>
 <category domain="http://www.technorati.com/tag">memcache-client</category>
 <pubDate>Sun, 05 Oct 2008 23:56:45 -0700</pubDate>
</item>
<item>
 <title>Impressions with Heroku:  Just Another Nice Toy for Deploying Simple Ruby on Rails Applications</title>
 <link>http://www.kai-mai.com/node/145</link>
 <description>&lt;p&gt;
I finally had a chance to play with Heroku cause I wanted to quickly try out &lt;a href=&quot;http://github.com/seven1m/onebody/wikis&quot;&gt;OneBody - open source Ruby on Rails based social network&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
I followed the &lt;a href=&quot;http://technicalpickles.com/posts/playing-with-heroku&quot;&gt;instruction&lt;/a&gt; to create my app. What&#039;s missing there is that you&#039;d need to generate public/private key before calling &#039;heroku create urapp&#039;.  It&#039;s as simple as issuing &#039;ssh-keygen -t rsa&#039; for Linux.  see &lt;a href=&quot;http://github.com/guides/providing-your-ssh-key&quot;&gt;GitHub docs&lt;/a&gt; for more information.
&lt;/p&gt;
&lt;p&gt;
I also tried to use the import interface at Heroku to import OneBody, but it always timed out.   Heroku should have provided a simple import command via Heroku gem to create a new application through importing.
&lt;/p&gt;
&lt;p class=&quot;awTags_TagLinks&quot;&gt;Tags: &lt;a href=&quot;tags/147&quot;&gt;aws&lt;/a&gt; &lt;a href=&quot;tags/149&quot;&gt;ec2&lt;/a&gt; &lt;a href=&quot;tags/256&quot;&gt;vps&lt;/a&gt; &lt;a href=&quot;tags/265&quot;&gt;heroku&lt;/a&gt; &lt;a href=&quot;tags/266&quot;&gt;ruby_on_rails&lt;/a&gt; &lt;a href=&quot;tags/270&quot;&gt;deployment&lt;/a&gt; &lt;/p&gt;</description>
 <category domain="http://www.technorati.com/tag">aws</category>
 <category domain="http://www.technorati.com/tag">ec2</category>
 <category domain="http://www.technorati.com/tag">vps</category>
 <category domain="http://www.technorati.com/tag">heroku</category>
 <category domain="http://www.technorati.com/tag">ruby_on_rails</category>
 <category domain="http://www.technorati.com/tag">deployment</category>
 <pubDate>Sun, 05 Oct 2008 23:11:41 -0700</pubDate>
</item>
</channel>
</rss>

