<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Rails and Merb Merge: Performance (Part 2 of 6)</title>
	<atom:link href="http://www.engineyard.com/blog/2009/rails-and-merb-merge-performance-part-2-of-6/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.engineyard.com/blog/2009/rails-and-merb-merge-performance-part-2-of-6/</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 12:12:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: gohanlon</title>
		<link>http://www.engineyard.com/blog/2009/rails-and-merb-merge-performance-part-2-of-6/comment-page-1/#comment-42253</link>
		<dc:creator>gohanlon</dc:creator>
		<pubDate>Mon, 17 May 2010 16:12:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=3099#comment-42253</guid>
		<description>Our app *decreased* in performance by 25% after migrating from Rails 2.3.5 to Rails 3.0.0.beta3. This is a similar reduction to the above, and measured with similar &quot;ab&quot; performance testing methodology. 
 
We&#039;re not on Ruby 1.9.2--we&#039;re on Ruby 1.8.7 (actually, REE). </description>
		<content:encoded><![CDATA[<p>Our app *decreased* in performance by 25% after migrating from Rails 2.3.5 to Rails 3.0.0.beta3. This is a similar reduction to the above, and measured with similar &quot;ab&quot; performance testing methodology. </p>
<p>We&#039;re not on Ruby 1.9.2&#8211;we&#039;re on Ruby 1.8.7 (actually, REE).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wondering</title>
		<link>http://www.engineyard.com/blog/2009/rails-and-merb-merge-performance-part-2-of-6/comment-page-1/#comment-41199</link>
		<dc:creator>wondering</dc:creator>
		<pubDate>Thu, 25 Feb 2010 12:07:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=3099#comment-41199</guid>
		<description>Rails 3 works well on simple scaffold blog application with ruby 1.9.2 for me, except it works slower than Rails 2 :(  
 
Try this:  
 
1. generate scaffold title:string body:text (sqlite3)  
2. run server in production mode  
3. ab -n 1000 http://localhost:3000/posts (on 20 records)  
 
I&#039;ve got about 50 req/s for Rails 2 and only 35 req/s for the same page, which is strange after all that buzz about performance optimizations in Rails 3. It seems all improvements was ruby 1.8.7 only (haven&#039;t checked if Rails 3 is really faster on 1.8.7 though).  
 
Also in development environment performance degradation comparing to Rails 2 is even worse :( 
 
Anybody have similar results? </description>
		<content:encoded><![CDATA[<p>Rails 3 works well on simple scaffold blog application with ruby 1.9.2 for me, except it works slower than Rails 2 :(  </p>
<p>Try this:  </p>
<p>1. generate scaffold title:string body:text (sqlite3)<br />
2. run server in production mode<br />
3. ab -n 1000 <a href="http://localhost:3000/posts" rel="nofollow">http://localhost:3000/posts</a> (on 20 records)  </p>
<p>I&#039;ve got about 50 req/s for Rails 2 and only 35 req/s for the same page, which is strange after all that buzz about performance optimizations in Rails 3. It seems all improvements was ruby 1.8.7 only (haven&#039;t checked if Rails 3 is really faster on 1.8.7 though).  </p>
<p>Also in development environment performance degradation comparing to Rails 2 is even worse :( </p>
<p>Anybody have similar results?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bach</title>
		<link>http://www.engineyard.com/blog/2009/rails-and-merb-merge-performance-part-2-of-6/comment-page-1/#comment-38967</link>
		<dc:creator>bach</dc:creator>
		<pubDate>Tue, 12 Jan 2010 23:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=3099#comment-38967</guid>
		<description>I second Rodrigo Dellacqua&#039;s question.  
When will we see a stable release for RoR3? 
 
 </description>
		<content:encoded><![CDATA[<p>I second Rodrigo Dellacqua&#039;s question.<br />
When will we see a stable release for RoR3?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edvin Aghanian</title>
		<link>http://www.engineyard.com/blog/2009/rails-and-merb-merge-performance-part-2-of-6/comment-page-1/#comment-38788</link>
		<dc:creator>Edvin Aghanian</dc:creator>
		<pubDate>Tue, 05 Jan 2010 02:44:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=3099#comment-38788</guid>
		<description>You are right my friend. I should not have asked you to refrain from posting your thoughts. It is your right to voice your opinions. I just reacted to the feeling of futility in your post. Honestly though, I&#039;m sure you can help make Merb/Rails 3 a product to be proud of by contributing your effort rather than your general condemnation. </description>
		<content:encoded><![CDATA[<p>You are right my friend. I should not have asked you to refrain from posting your thoughts. It is your right to voice your opinions. I just reacted to the feeling of futility in your post. Honestly though, I&#039;m sure you can help make Merb/Rails 3 a product to be proud of by contributing your effort rather than your general condemnation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ara.t.howard</title>
		<link>http://www.engineyard.com/blog/2009/rails-and-merb-merge-performance-part-2-of-6/comment-page-1/#comment-38718</link>
		<dc:creator>ara.t.howard</dc:creator>
		<pubDate>Thu, 31 Dec 2009 19:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=3099#comment-38718</guid>
		<description>yehuda - why not simply 
 
template_for = Hash.new{&#124;hash, object&#124; hash.update object.class =&gt; compute_template_for(object.class)} 
 
... 
 
@collection.each{&#124;object&#124; template_for[object].... 
 
that way you don&#039;t have to do any up front template selection and worst case == best case == one lookup  </description>
		<content:encoded><![CDATA[<p>yehuda &#8211; why not simply </p>
<p>template_for = Hash.new{|hash, object| hash.update object.class =&gt; compute_template_for(object.class)} </p>
<p>&#8230; </p>
<p>@collection.each{|object| template_for[object]&#8230;. </p>
<p>that way you don&#039;t have to do any up front template selection and worst case == best case == one lookup</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: k776</title>
		<link>http://www.engineyard.com/blog/2009/rails-and-merb-merge-performance-part-2-of-6/comment-page-1/#comment-38705</link>
		<dc:creator>k776</dc:creator>
		<pubDate>Wed, 30 Dec 2009 22:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=3099#comment-38705</guid>
		<description>Jaroslaw, DHH has estimated a beta release by end of January: &lt;a href=&quot;http://twitter.com/dhh/statuses/7208225785&quot; target=&quot;_blank&quot;&gt;http://twitter.com/dhh/statuses/7208225785&lt;/a&gt;   It may change, but at least it gives some indication of how close Rails 3 is 
 
There is nothing stopping you from using it right now though. Rails master has been stable for some time now. All tests are passing. I&#039;ve been able to generate and run an application off Rails 3 for some time now. 
 
So rather than saying &quot;RoR3 is not ready for serious usage&quot;, say exactly why it isn&#039;t ready so developers might be able to address the issues. Statements like that without explaination don&#039;t help anyone. </description>
		<content:encoded><![CDATA[<p>Jaroslaw, DHH has estimated a beta release by end of January: <a href="http://twitter.com/dhh/statuses/7208225785" target="_blank">http://twitter.com/dhh/statuses/7208225785</a>   It may change, but at least it gives some indication of how close Rails 3 is </p>
<p>There is nothing stopping you from using it right now though. Rails master has been stable for some time now. All tests are passing. I&#039;ve been able to generate and run an application off Rails 3 for some time now. </p>
<p>So rather than saying &quot;RoR3 is not ready for serious usage&quot;, say exactly why it isn&#039;t ready so developers might be able to address the issues. Statements like that without explaination don&#039;t help anyone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: k776</title>
		<link>http://www.engineyard.com/blog/2009/rails-and-merb-merge-performance-part-2-of-6/comment-page-1/#comment-38704</link>
		<dc:creator>k776</dc:creator>
		<pubDate>Wed, 30 Dec 2009 21:57:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=3099#comment-38704</guid>
		<description>Several of the developers and a few of the community have been making blog posts or tweets about whats been going into Rails 3 for some time now. If you&#039;re following the right people, you&#039;ll know that the bulk of features are implemented. In no way is the following list exhaustive of what is already implemented in Rails 3: 
 
* Increasing Performance and reducing overhead (this post) 
* Separation of responsibility and Dependency declaration (previous post) 
* ARel integration with ActiveRecord (no blog posts I know of, but a lot of commits for it recently) 
* Rails router DSL improved - &lt;a href=&quot;http://rizwanreza.com/2009/12/20/revamped-routes-in-rails-3&quot; target=&quot;_blank&quot;&gt;http://rizwanreza.com/2009/12/20/revamped-routes-...&lt;/a&gt; and &lt;a href=&quot;http://yehudakatz.com/2009/12/26/the-rails-3-router-rack-it-up/&quot; target=&quot;_blank&quot;&gt;http://yehudakatz.com/2009/12/26/the-rails-3-rout...&lt;/a&gt; 
* Gem bundler (allowing references to Rubygems to be removed) - &lt;a href=&quot;http://yehudakatz.com/2009/11/03/using-the-new-gem-bundler-today/&quot; target=&quot;_blank&quot;&gt;http://yehudakatz.com/2009/11/03/using-the-new-ge...&lt;/a&gt; 
* Major cleanup / refactoring of internals (particularly around dispatching/respond_to) 
* many many more&#8230;. 
 
As for timelines, while there isn&#039;t a specific one available, mainly because with project like this, it is very hard to accuratly predict them, DHH has estimated a beta release by end of January: &lt;a href=&quot;http://twitter.com/dhh/statuses/7208225785&quot; target=&quot;_blank&quot;&gt;http://twitter.com/dhh/statuses/7208225785&lt;/a&gt; 
 
From what I have seen regarding plugins, Rails 3 will maintain backward compatability, but includes new features such as off loading the rake task loading to the plugin, and adding support for initializers within the plugin. As an example of this, ActiveRecord is now treated as a plugin of Railties (which should make swapping out the ORM a lot less painful). Example: &lt;a href=&quot;http://github.com/rails/rails/blob/master/activerecord/lib/active_record/rails.rb&quot; target=&quot;_blank&quot;&gt;http://github.com/rails/rails/blob/master/activer...&lt;/a&gt;   . These added abilities should make development via gems a lot easier. </description>
		<content:encoded><![CDATA[<p>Several of the developers and a few of the community have been making blog posts or tweets about whats been going into Rails 3 for some time now. If you&#039;re following the right people, you&#039;ll know that the bulk of features are implemented. In no way is the following list exhaustive of what is already implemented in Rails 3: </p>
<p>* Increasing Performance and reducing overhead (this post)<br />
* Separation of responsibility and Dependency declaration (previous post)<br />
* ARel integration with ActiveRecord (no blog posts I know of, but a lot of commits for it recently)<br />
* Rails router DSL improved &#8211; <a href="http://rizwanreza.com/2009/12/20/revamped-routes-in-rails-3" target="_blank">http://rizwanreza.com/2009/12/20/revamped-routes-&#8230;</a> and <a href="http://yehudakatz.com/2009/12/26/the-rails-3-router-rack-it-up/" target="_blank">http://yehudakatz.com/2009/12/26/the-rails-3-rout&#8230;</a><br />
* Gem bundler (allowing references to Rubygems to be removed) &#8211; <a href="http://yehudakatz.com/2009/11/03/using-the-new-gem-bundler-today/" target="_blank">http://yehudakatz.com/2009/11/03/using-the-new-ge&#8230;</a><br />
* Major cleanup / refactoring of internals (particularly around dispatching/respond_to)<br />
* many many more&hellip;. </p>
<p>As for timelines, while there isn&#039;t a specific one available, mainly because with project like this, it is very hard to accuratly predict them, DHH has estimated a beta release by end of January: <a href="http://twitter.com/dhh/statuses/7208225785" target="_blank">http://twitter.com/dhh/statuses/7208225785</a> </p>
<p>From what I have seen regarding plugins, Rails 3 will maintain backward compatability, but includes new features such as off loading the rake task loading to the plugin, and adding support for initializers within the plugin. As an example of this, ActiveRecord is now treated as a plugin of Railties (which should make swapping out the ORM a lot less painful). Example: <a href="http://github.com/rails/rails/blob/master/activerecord/lib/active_record/rails.rb" target="_blank">http://github.com/rails/rails/blob/master/activer&#8230;</a>   . These added abilities should make development via gems a lot easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Seiler</title>
		<link>http://www.engineyard.com/blog/2009/rails-and-merb-merge-performance-part-2-of-6/comment-page-1/#comment-38696</link>
		<dc:creator>Christian Seiler</dc:creator>
		<pubDate>Wed, 30 Dec 2009 14:49:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=3099#comment-38696</guid>
		<description>Object allocation may be cheap, but GC actually does take its toll. Any numbers on memory churn comparing Rails 2 and 3? </description>
		<content:encoded><![CDATA[<p>Object allocation may be cheap, but GC actually does take its toll. Any numbers on memory churn comparing Rails 2 and 3?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drogus</title>
		<link>http://www.engineyard.com/blog/2009/rails-and-merb-merge-performance-part-2-of-6/comment-page-1/#comment-38695</link>
		<dc:creator>drogus</dc:creator>
		<pubDate>Wed, 30 Dec 2009 14:41:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=3099#comment-38695</guid>
		<description>Jarosław, Rodrigo: 
 
As it has been said many times before, Rails 3 API will be almost entirely backwards compatible. There  are some changes in public API (like router changes and new responds format), but huge amount of work was done *inside* Rails. 
 
It implies to things: 
1. You don&#039;t have to wait for Rails 3, most of the knowledge learned for rails 2 will be still valid. 
2. Almost all the plugins will be broken, so if you start with Rails 3 try to not use big plugins. 
 
So the short answer: 
If you are newbie start with rails 2. </description>
		<content:encoded><![CDATA[<p>Jarosław, Rodrigo:</p>
<p>As it has been said many times before, Rails 3 API will be almost entirely backwards compatible. There  are some changes in public API (like router changes and new responds format), but huge amount of work was done *inside* Rails.</p>
<p>It implies to things:</p>
<p>1. You don&#039;t have to wait for Rails 3, most of the knowledge learned for rails 2 will be still valid.</p>
<p>2. Almost all the plugins will be broken, so if you start with Rails 3 try to not use big plugins.</p>
<p>So the short answer:</p>
<p>If you are newbie start with rails 2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drogus</title>
		<link>http://www.engineyard.com/blog/2009/rails-and-merb-merge-performance-part-2-of-6/comment-page-1/#comment-38694</link>
		<dc:creator>drogus</dc:creator>
		<pubDate>Wed, 30 Dec 2009 14:26:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=3099#comment-38694</guid>
		<description>Check one of doezns of Yehuda&#039;s presentation about Rails 3. This is pretty good source of knowledge. You can also check documentation, specs and code in current github version of rails. 
 
I&#039;ve started writing application in Rails 3 and it basically works. I&#039;ve managed to rewrite some gems using new Rails 3 modules (ActiveSupport::Callbacks, ActiveModel::Validations and so on) and it&#039;s well structured easy to understand code. 
 
If you feel that you know very little, at least *try* to find any information. Merb was also not so well documented and you had to figure out many things from code. 
 </description>
		<content:encoded><![CDATA[<p>Check one of doezns of Yehuda&#039;s presentation about Rails 3. This is pretty good source of knowledge. You can also check documentation, specs and code in current github version of rails.</p>
<p>I&#039;ve started writing application in Rails 3 and it basically works. I&#039;ve managed to rewrite some gems using new Rails 3 modules (ActiveSupport::Callbacks, ActiveModel::Validations and so on) and it&#039;s well structured easy to understand code.</p>
<p>If you feel that you know very little, at least *try* to find any information. Merb was also not so well documented and you had to figure out many things from code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

