<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Robby on Rails: Rails on SCGI and Lighttpd</title>
    <link>http://www.robbyonrails.com/articles/2006/02/26/rails-on-scgi-and-lighttpd</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>thoughts.sort_by{|t| t[:topic]}.collect </description>
    <item>
      <title>Rails on SCGI and Lighttpd</title>
      <description>&lt;p&gt;Just recently, we began testing out &lt;a href="http://www.zedshaw.com/projects/scgi_rails/index.html"&gt;&lt;span class="caps"&gt;SCGI&lt;/span&gt;&lt;/a&gt; with Lighttpd. We were running into weird problems with &lt;span class="caps"&gt;FCGI&lt;/span&gt; and both Apache and Lighttpd&amp;#8230; things like fcgi processes that would get spawned and just hang around after the apache or lighttpd processes were killed. We have a few cron scripts that try to play cleanup&amp;#8230; but that isn&amp;#8217;t a long-term solution.&lt;/p&gt;


	&lt;p&gt;So, we took the plunge on a few client projects for their demos and I am happy to report that it took maybe 15 minutes to read &lt;a href="http://www.zedshaw.com/projects/scgi_rails/lighttpd.html"&gt;the documentation&lt;/a&gt; and get things going.&lt;/p&gt;


	&lt;p&gt;I have a new friend and &lt;code&gt;scgi_ctrl&lt;/code&gt; is it&amp;#8217;s name.&lt;/p&gt;


	&lt;p&gt;It&amp;#8217;s only a matter of time before we work on an rbot plugin so that we can reload our applications via &lt;span class="caps"&gt;IRC&lt;/span&gt;. :-)&lt;/p&gt;
</description>
      <pubDate>Sun, 26 Feb 2006 09:23:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:23e59abf-d40e-4ccb-b6e9-483e5e03897e</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2006/02/26/rails-on-scgi-and-lighttpd</link>
      <category>scgi</category>
      <category>lighttpd</category>
      <category>rails</category>
    </item>
    <item>
      <title>"Rails on SCGI and Lighttpd" by dgibbons</title>
      <description>&lt;p&gt;I&amp;#8217;ve still noticed some occations when you have to restart the entire webserver not just the scgi process. So it&amp;#8217;s still kind of hit or miss on that part.&lt;/p&gt;


	&lt;p&gt;However being able to specifically restart processes via rdb makes much easier to write a script to  restart only one site rather then the killall -9 that I see with fastcgi that wipes out all the sites you have running.&lt;/p&gt;


	&lt;p&gt;As far as speed concerns of tcp/ip to sockets, I can&amp;#8217;t imagine there would be many. Most people are using tcp/ip for their database already and it&amp;#8217;s on the local system, so the loopback interface is rarely seen as the slowdown in something like this.&lt;/p&gt;


	&lt;p&gt;Having to manage Yet Another Port is kinda an annoyance but not much worse then having a seperate postgresql instance for each customer.&lt;/p&gt;</description>
      <pubDate>Fri, 03 Mar 2006 12:14:04 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:be906596-704a-4bfc-9101-cbd90fa4c5ac</guid>
      <link>http://www.robbyonrails.com/articles/2006/02/26/rails-on-scgi-and-lighttpd#comment-1894</link>
    </item>
    <item>
      <title>"Rails on SCGI and Lighttpd" by eliott</title>
      <description>&lt;p&gt;hmmm..
Interesting. I will have to give it a shot. It would be nice to reload my rails app without having to restart the webserver (ala fcgi+lighttpd).&lt;/p&gt;</description>
      <pubDate>Thu, 02 Mar 2006 18:08:12 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:4c55d04d-d316-485f-8973-337c48585cad</guid>
      <link>http://www.robbyonrails.com/articles/2006/02/26/rails-on-scgi-and-lighttpd#comment-1892</link>
    </item>
    <item>
      <title>"Rails on SCGI and Lighttpd" by Damien Tanner</title>
      <description>&lt;p&gt;Glad to hear some scgi success.&lt;/p&gt;</description>
      <pubDate>Mon, 27 Feb 2006 10:37:29 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:7e781b73-ccfa-4c2d-83a1-a606a90e97fe</guid>
      <link>http://www.robbyonrails.com/articles/2006/02/26/rails-on-scgi-and-lighttpd#comment-1884</link>
    </item>
    <item>
      <title>"Rails on SCGI and Lighttpd" by Ilya</title>
      <description>&lt;p&gt;Hi!&lt;/p&gt;


	&lt;p&gt;I also did one SCGI+Lighttpd installation and it seems to be very simple to start this configuration.&lt;/p&gt;


	&lt;p&gt;Is there SwitchTower support for this cofiguration?&lt;/p&gt;


	&lt;p&gt;Ilya&lt;/p&gt;</description>
      <pubDate>Mon, 27 Feb 2006 00:43:26 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:62ca1e65-6dc2-4193-b842-0b746280640d</guid>
      <link>http://www.robbyonrails.com/articles/2006/02/26/rails-on-scgi-and-lighttpd#comment-1883</link>
    </item>
    <item>
      <title>"Rails on SCGI and Lighttpd" by øyvinds</title>
      <description>&lt;p&gt;seem to remember that you cant use it with unix sockets? Is there any performance penalty for using tcp/ip?&lt;/p&gt;


	&lt;p&gt;ö&lt;/p&gt;</description>
      <pubDate>Sun, 26 Feb 2006 17:16:19 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:1827dbd6-09ed-4ed8-8894-6399d2b02d4f</guid>
      <link>http://www.robbyonrails.com/articles/2006/02/26/rails-on-scgi-and-lighttpd#comment-1882</link>
    </item>
  </channel>
</rss>
