<?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: Performance tips for Ruby on rails application</title>
	<atom:link href="http://blogs.smarteguru.com/ruby-on-rails/performance-tips-for-ruby-on-rails-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.smarteguru.com/ruby-on-rails/performance-tips-for-ruby-on-rails-application/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 09 Mar 2010 10:08:35 +0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: John Taylor</title>
		<link>http://blogs.smarteguru.com/ruby-on-rails/performance-tips-for-ruby-on-rails-application/comment-page-1/#comment-355</link>
		<dc:creator>John Taylor</dc:creator>
		<pubDate>Thu, 23 Apr 2009 23:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.smarteguru.com/?p=149#comment-355</guid>
		<description>I found your blog on Google. I&#039;ve bookmarked it and will watch out for your next blog post.</description>
		<content:encoded><![CDATA[<p>I found your blog on Google. I&#8217;ve bookmarked it and will watch out for your next blog post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danielle</title>
		<link>http://blogs.smarteguru.com/ruby-on-rails/performance-tips-for-ruby-on-rails-application/comment-page-1/#comment-340</link>
		<dc:creator>Danielle</dc:creator>
		<pubDate>Wed, 01 Apr 2009 16:29:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.smarteguru.com/?p=149#comment-340</guid>
		<description>I&#039;ve never given this a try, but I think it&#039;s about time I do.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve never given this a try, but I think it&#8217;s about time I do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick</title>
		<link>http://blogs.smarteguru.com/ruby-on-rails/performance-tips-for-ruby-on-rails-application/comment-page-1/#comment-40</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Thu, 11 Sep 2008 04:27:58 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.smarteguru.com/?p=149#comment-40</guid>
		<description>Nothing substitutes for benchmarks. Things that ought to be fast are sometimes slow. Things that ought to be slow are sometimes fast.

But don&#039;t trust the benchmarks. Sometimes I&#039;d return to my machine to find the *same query* running in less than a second instead of over a minute. I was using SQL_NO_CACHE, so I think background optimisation is responsible here. Since the database was very large, it&#039;s possible that OSX&#039;s virtual memory management was also interfering.</description>
		<content:encoded><![CDATA[<p>Nothing substitutes for benchmarks. Things that ought to be fast are sometimes slow. Things that ought to be slow are sometimes fast.</p>
<p>But don&#8217;t trust the benchmarks. Sometimes I&#8217;d return to my machine to find the *same query* running in less than a second instead of over a minute. I was using SQL_NO_CACHE, so I think background optimisation is responsible here. Since the database was very large, it&#8217;s possible that OSX&#8217;s virtual memory management was also interfering.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck Bergeron</title>
		<link>http://blogs.smarteguru.com/ruby-on-rails/performance-tips-for-ruby-on-rails-application/comment-page-1/#comment-34</link>
		<dc:creator>Chuck Bergeron</dc:creator>
		<pubDate>Tue, 09 Sep 2008 14:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.smarteguru.com/?p=149#comment-34</guid>
		<description>Thanks for the post!

In regards to point #2, there&#039;s some built-in helpers for caching in Rails 2.1 which are super helpful: http://railscasts.com/episodes/115-caching-in-rails-2-1</description>
		<content:encoded><![CDATA[<p>Thanks for the post!</p>
<p>In regards to point #2, there&#8217;s some built-in helpers for caching in Rails 2.1 which are super helpful: <a href="http://railscasts.com/episodes/115-caching-in-rails-2-1" rel="nofollow">http://railscasts.com/episodes/115-caching-in-rails-2-1</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pluron</title>
		<link>http://blogs.smarteguru.com/ruby-on-rails/performance-tips-for-ruby-on-rails-application/comment-page-1/#comment-33</link>
		<dc:creator>Pluron</dc:creator>
		<pubDate>Mon, 08 Sep 2008 18:50:35 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.smarteguru.com/?p=149#comment-33</guid>
		<description>passing a block to a method of ActiveRecord::Associations::HasManyAssociation instance and its friends chews up the memory. 

For example, a single call to association.select { &#124;record&#124; record.new_record? } can allocate up to 10K of memory depending on the association size.</description>
		<content:encoded><![CDATA[<p>passing a block to a method of ActiveRecord::Associations::HasManyAssociation instance and its friends chews up the memory. </p>
<p>For example, a single call to association.select { |record| record.new_record? } can allocate up to 10K of memory depending on the association size.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bamboo</title>
		<link>http://blogs.smarteguru.com/ruby-on-rails/performance-tips-for-ruby-on-rails-application/comment-page-1/#comment-32</link>
		<dc:creator>Bamboo</dc:creator>
		<pubDate>Mon, 08 Sep 2008 18:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.smarteguru.com/?p=149#comment-32</guid>
		<description>Tweaking the database lets you make huge gains in performance without modifying your complex application.</description>
		<content:encoded><![CDATA[<p>Tweaking the database lets you make huge gains in performance without modifying your complex application.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
