<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Recent Posts in 'My experiences with the book, so far...' | Pragmatic Forums</title>
    <link>http://fora.pragprog.com/forums/44/topics/132</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <description></description>
    <item>
      <title>My experiences with the book, so far... posted by Nathan Manousos @ Sat, 05 Jan 2008 16:20:25 -0000</title>
      <description>&lt;p&gt;I also took the books advice on changing my ssh port, but had to use google to find the ssh_options[:port] thing.&lt;/p&gt;</description>
      <pubDate>Sat, 05 Jan 2008 16:20:25 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:44:132:2121</guid>
      <author>Nathan Manousos</author>
      <link>http://fora.pragprog.com/forums/44/topics/132</link>
    </item>
    <item>
      <title>My experiences with the book, so far... posted by Trevor Stow @ Wed, 07 Nov 2007 15:02:02 -0000</title>
      <description>&lt;p&gt;First off, the books definitely worth getting.  I&amp;#8217;ve got several young rails apps in production and am hoping to keep them moving snappily, taking Ezra&amp;#8217;s advice.&lt;/p&gt;


	&lt;p&gt;1) Benchmarking performance.&lt;br /&gt;I built an almost-empty rails app and ran &lt;code&gt;ab -n 1000 &amp;lt;URL&amp;gt;&lt;/code&gt; against it.  The results were frighteningly bad &amp;#8230; roughly 27 requests per second.  I was about to file a ticket with my hosting provider when I realized I&amp;#8217;d started up the emtpy rails app in development.  Switch to production and I&amp;#8217;m up above 200 requests per sec.  A happy moment.&lt;/p&gt;


	&lt;p&gt;2) Setting up &lt;span class="caps"&gt;SSH&lt;/span&gt;.  &lt;br /&gt;I switched my &lt;span class="caps"&gt;SSH&lt;/span&gt; port from 22 (default) to a higher number.&lt;br /&gt;This required a change to my capistrano deploy.rb scripts.&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;ssh_options[:port] = '&amp;lt;port-number&amp;gt;'&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;This should probably be noted in the book.&lt;/p&gt;


	&lt;p&gt;3) Also regarding &lt;span class="caps"&gt;SSH&lt;/span&gt;&amp;#8230;&lt;br /&gt;Following the book&amp;#8217;s advice, I disallowed root logins on the server.  Several of my capistrano scripts &amp;#8211; notably, grabbing a mysqldump and importing it into the dev db &amp;#8211; had to be tweaked to use sudo.&lt;/p&gt;</description>
      <pubDate>Wed, 07 Nov 2007 15:02:02 -0000</pubDate>
      <guid isPermaLink="false">fora.pragprog.com:44:132:1909</guid>
      <author>Trevor Stow</author>
      <link>http://fora.pragprog.com/forums/44/topics/132</link>
    </item>
  </channel>
</rss>
