<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Upgrading from Rails 2.0 (ish) to Rails 2.2</title>
	<link>http://codemonkey.ravelry.com/2008/12/03/upgrading-from-rails-20-ish-to-rails-22/</link>
	<description>Technical tidbits (somewhat) related to my work on Ravelry.com</description>
	<pubDate>Sun, 22 Nov 2009 22:37:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Luke Francl</title>
		<link>http://codemonkey.ravelry.com/2008/12/03/upgrading-from-rails-20-ish-to-rails-22/#comment-789</link>
		<dc:creator>Luke Francl</dc:creator>
		<pubDate>Fri, 02 Jan 2009 20:38:31 +0000</pubDate>
		<guid>http://codemonkey.ravelry.com/2008/12/03/upgrading-from-rails-20-ish-to-rails-22/#comment-789</guid>
		<description>&lt;p&gt;Hi, thanks for using xss_terminate.&lt;/p&gt;

&lt;p&gt;Sorry it took so long to reply to your issue in the tracker - I just realized today that it is not set up to email me new bugs!&lt;/p&gt;

&lt;p&gt;Anyway, I have fixed the incompatibility with Rails 2.2, while still being backwards compatible with Rails 2.0 and 2.1. You can get the new code from the GitHub repository:&lt;/p&gt;

&lt;p&gt;http://github.com/look/xss_terminate/tree/master&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi, thanks for using xss_terminate.</p>

<p>Sorry it took so long to reply to your issue in the tracker - I just realized today that it is not set up to email me new bugs!</p>

<p>Anyway, I have fixed the incompatibility with Rails 2.2, while still being backwards compatible with Rails 2.0 and 2.1. You can get the new code from the GitHub repository:</p>

<p><a href="http://github.com/look/xss_terminate/tree/master" rel="nofollow">http://github.com/look/xss_terminate/tree/master</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://codemonkey.ravelry.com/2008/12/03/upgrading-from-rails-20-ish-to-rails-22/#comment-788</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Fri, 02 Jan 2009 14:59:02 +0000</pubDate>
		<guid>http://codemonkey.ravelry.com/2008/12/03/upgrading-from-rails-20-ish-to-rails-22/#comment-788</guid>
		<description>&lt;p&gt;Hi Casey,&lt;/p&gt;

&lt;p&gt;Thank your for your reply. I will probably give mod_rails a try. However we will still keep Nginx as we heavily rely on it for streaming protected video content.&lt;/p&gt;

&lt;p&gt;Best wishes,&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi Casey,</p>

<p>Thank your for your reply. I will probably give mod_rails a try. However we will still keep Nginx as we heavily rely on it for streaming protected video content.</p>

<p>Best wishes,</p>]]></content:encoded>
	</item>
	<item>
		<title>By: casey</title>
		<link>http://codemonkey.ravelry.com/2008/12/03/upgrading-from-rails-20-ish-to-rails-22/#comment-787</link>
		<dc:creator>casey</dc:creator>
		<pubDate>Thu, 01 Jan 2009 21:42:33 +0000</pubDate>
		<guid>http://codemonkey.ravelry.com/2008/12/03/upgrading-from-rails-20-ish-to-rails-22/#comment-787</guid>
		<description>&lt;p&gt;(Pasting my email response to Thomas)&lt;/p&gt;

&lt;p&gt;Happy new year to you!&lt;/p&gt;

&lt;p&gt;We actually switched to mod_rails about a month ago.  I'm happy with it for the reasons that Tobias describes here:
http://blog.leetsoft.com/2008/11/15/passenger&lt;/p&gt;

&lt;p&gt;However, there are a couple difficulties:&lt;/p&gt;

&lt;p&gt;First - it crashes from time to time. I don't know why.
http://code.google.com/p/phusion-passenger/issues/detail?id=174&#38;colspec=ID%20Type%20Status%20Priority%20Milestone%20Stars%20Summary&lt;/p&gt;

&lt;p&gt;This isn't as big a problem as it would be for many people because I am running 6 passenger+Apaches and still using HAProxy. If one
crashes, we get an email alert (thanks to Nagios), the site is not affected (because HAProxy starts ignoring it) and I restart it
when I have a chance.&lt;/p&gt;

&lt;p&gt;The second issue is that I had to create a more complicated Capistrano deploy script to deploy applications. This is because we were
having lots of problems when deploying while Passenger is running so I had to set up Capistrano to remove each server from the load
balancing, stop Apache, deploy the application, and restart. At least one other person confirmed this problem:&lt;/p&gt;

&lt;p&gt;http://groups.google.com/group/phusion-passenger/browse_thread/thread/954171096e17c6f5/95ecc5b5cd6fb843?lnk=gst&#38;q=restart#95ecc5b5cd6
fb843&lt;/p&gt;

&lt;p&gt;Now that I have something that works, this is no trouble at all. If the random crashing was fixed that I'd be very happy with this
setup.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>(Pasting my email response to Thomas)</p>

<p>Happy new year to you!</p>

<p>We actually switched to mod_rails about a month ago.  I&#8217;m happy with it for the reasons that Tobias describes here:
<a href="http://blog.leetsoft.com/2008/11/15/passenger" rel="nofollow">http://blog.leetsoft.com/2008/11/15/passenger</a></p>

<p>However, there are a couple difficulties:</p>

<p>First - it crashes from time to time. I don&#8217;t know why.
<a href="http://code.google.com/p/phusion-passenger/issues/detail?id=174&amp;colspec=ID%20Type%20Status%20Priority%20Milestone%20Stars%20Summary" rel="nofollow">http://code.google.com/p/phusion-passenger/issues/detail?id=174&amp;colspec=ID%20Type%20Status%20Priority%20Milestone%20Stars%20Summary</a></p>

<p>This isn&#8217;t as big a problem as it would be for many people because I am running 6 passenger+Apaches and still using HAProxy. If one
crashes, we get an email alert (thanks to Nagios), the site is not affected (because HAProxy starts ignoring it) and I restart it
when I have a chance.</p>

<p>The second issue is that I had to create a more complicated Capistrano deploy script to deploy applications. This is because we were
having lots of problems when deploying while Passenger is running so I had to set up Capistrano to remove each server from the load
balancing, stop Apache, deploy the application, and restart. At least one other person confirmed this problem:</p>

<p><a href="http://groups.google.com/group/phusion-passenger/browse_thread/thread/954171096e17c6f5/95ecc5b5cd6fb843?lnk=gst&amp;q=restart#95ecc5b5cd6" rel="nofollow">http://groups.google.com/group/phusion-passenger/browse_thread/thread/954171096e17c6f5/95ecc5b5cd6fb843?lnk=gst&amp;q=restart#95ecc5b5cd6</a>
fb843</p>

<p>Now that I have something that works, this is no trouble at all. If the random crashing was fixed that I&#8217;d be very happy with this
setup.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Glasgow</title>
		<link>http://codemonkey.ravelry.com/2008/12/03/upgrading-from-rails-20-ish-to-rails-22/#comment-786</link>
		<dc:creator>Thomas Glasgow</dc:creator>
		<pubDate>Thu, 01 Jan 2009 21:18:11 +0000</pubDate>
		<guid>http://codemonkey.ravelry.com/2008/12/03/upgrading-from-rails-20-ish-to-rails-22/#comment-786</guid>
		<description>&lt;p&gt;Thanks a lot for this blog post,&lt;/p&gt;

&lt;p&gt;I managed to create the initializer so that xss_terminate can correctly load in production mode.&lt;/p&gt;

&lt;p&gt;Have you tried mod_rails VS Nginx+HAProxy+Thin?&lt;/p&gt;

&lt;p&gt;On our VoD website, we use Nginx+Thin only.&lt;/p&gt;

&lt;p&gt;I will follow your blog closely.&lt;/p&gt;

&lt;p&gt;Best regards and happy new year&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this blog post,</p>

<p>I managed to create the initializer so that xss_terminate can correctly load in production mode.</p>

<p>Have you tried mod_rails VS Nginx+HAProxy+Thin?</p>

<p>On our VoD website, we use Nginx+Thin only.</p>

<p>I will follow your blog closely.</p>

<p>Best regards and happy new year</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Victor</title>
		<link>http://codemonkey.ravelry.com/2008/12/03/upgrading-from-rails-20-ish-to-rails-22/#comment-776</link>
		<dc:creator>Victor</dc:creator>
		<pubDate>Tue, 09 Dec 2008 02:49:08 +0000</pubDate>
		<guid>http://codemonkey.ravelry.com/2008/12/03/upgrading-from-rails-20-ish-to-rails-22/#comment-776</guid>
		<description>&lt;p&gt;Just out of curiosity how large do your mongrel servers get on average? How many of them do you run? And if you don’t mind disclosing but how much traffic per day actually hits the mongrel/rails process do you estimate?&lt;/p&gt;

&lt;p&gt;I interested in the resource requirements of Rails/RoR under traffic.&lt;/p&gt;

&lt;p&gt;I remember you mentioned that you get a ton of calls to your ravelry API. Does Activerecord perform adequately since it has nothing like hibernate's second level cache?&lt;/p&gt;

&lt;p&gt;I am actually thinking of dabbling with Rails once again since JRuby has matured and Rails is thread safe.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Just out of curiosity how large do your mongrel servers get on average? How many of them do you run? And if you don’t mind disclosing but how much traffic per day actually hits the mongrel/rails process do you estimate?</p>

<p>I interested in the resource requirements of Rails/RoR under traffic.</p>

<p>I remember you mentioned that you get a ton of calls to your ravelry API. Does Activerecord perform adequately since it has nothing like hibernate&#8217;s second level cache?</p>

<p>I am actually thinking of dabbling with Rails once again since JRuby has matured and Rails is thread safe.</p>]]></content:encoded>
	</item>
</channel>
</rss>
