<?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: File Uploads in Merb versus Rails</title>
	<atom:link href="http://www.mikeperham.com/2007/10/02/file-uploads-in-merb-versus-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikeperham.com/2007/10/02/file-uploads-in-merb-versus-rails/</link>
	<description>On Ruby, software and the Internet</description>
	<lastBuildDate>Tue, 07 Feb 2012 17:12:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: 使用Merb处理Rails中大文件上传难题 - IceskYsl@1sters!</title>
		<link>http://www.mikeperham.com/2007/10/02/file-uploads-in-merb-versus-rails/comment-page-1/#comment-1320</link>
		<dc:creator>使用Merb处理Rails中大文件上传难题 - IceskYsl@1sters!</dc:creator>
		<pubDate>Tue, 03 Jan 2012 16:14:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeperham.com/2007/10/02/file-uploads-in-merb-versus-rails/#comment-1320</guid>
		<description>[...] 详细的测试比较，请参考“File Uploads in Merb versus Rails”这里文章，其结论差不多是这样的“Merb’s average response time is 16 ms while Rails’s average is 205 ms (over 10x faster), yet the throughput is 3000 vs 2000 req/min (only 50% greater).”，针对其throughput提高不多的情况，merb的人给出的方案是add”:use_mutex: false”in merb.yml，其原因说因为AR是非线程安全的才需要这个选项，设置成fasle后可以大大的提高性能。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 详细的测试比较，请参考“File Uploads in Merb versus Rails”这里文章，其结论差不多是这样的“Merb’s average response time is 16 ms while Rails’s average is 205 ms (over 10x faster), yet the throughput is 3000 vs 2000 req/min (only 50% greater).”，针对其throughput提高不多的情况，merb的人给出的方案是add”:use_mutex: false”in merb.yml，其原因说因为AR是非线程安全的才需要这个选项，设置成fasle后可以大大的提高性能。 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 800 Steps To Go &#187; Blog Archive &#187; Rails Performance: A Brief History of the Universe</title>
		<link>http://www.mikeperham.com/2007/10/02/file-uploads-in-merb-versus-rails/comment-page-1/#comment-40</link>
		<dc:creator>800 Steps To Go &#187; Blog Archive &#187; Rails Performance: A Brief History of the Universe</dc:creator>
		<pubDate>Mon, 28 Jan 2008 10:12:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeperham.com/2007/10/02/file-uploads-in-merb-versus-rails/#comment-40</guid>
		<description>[...] that makes an effort at better performance. Entries from this side of the arena include Grails and Merb. The question I&#8217;d be asking myself if I were a Rails evangelist that wanted to see the [...]</description>
		<content:encoded><![CDATA[<p>[...] that makes an effort at better performance. Entries from this side of the arena include Grails and Merb. The question I&#8217;d be asking myself if I were a Rails evangelist that wanted to see the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mperham</title>
		<link>http://www.mikeperham.com/2007/10/02/file-uploads-in-merb-versus-rails/comment-page-1/#comment-5</link>
		<dc:creator>mperham</dc:creator>
		<pubDate>Thu, 04 Oct 2007 18:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeperham.com/2007/10/02/file-uploads-in-merb-versus-rails/#comment-5</guid>
		<description>Thanks Tom, that&#039;s good info to have; I didn&#039;t use it because it&#039;s not documented.  Could you add it to the merb.yml (commented out like the other various options) so that people know about it in future releases?</description>
		<content:encoded><![CDATA[<p>Thanks Tom, that&#8217;s good info to have; I didn&#8217;t use it because it&#8217;s not documented.  Could you add it to the merb.yml (commented out like the other various options) so that people know about it in future releases?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Mornini</title>
		<link>http://www.mikeperham.com/2007/10/02/file-uploads-in-merb-versus-rails/comment-page-1/#comment-4</link>
		<dc:creator>Tom Mornini</dc:creator>
		<pubDate>Wed, 03 Oct 2007 17:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikeperham.com/2007/10/02/file-uploads-in-merb-versus-rails/#comment-4</guid>
		<description>Hello Mike. Thanks for writing this nice post on Merb!

Did you turn off locking?

By default, Merb will lock through the controller code, serializing that portion of the requests. This is required for ActiveRecord code to behave, as AR is not thread safe.

The Merb responses are quicker because it&#039;s threaded up to that point, whereas Rails locks for *everything*.

If you add:

  :use_mutex:  false

in merb.yml

You&#039;ll get better results yet. :-)</description>
		<content:encoded><![CDATA[<p>Hello Mike. Thanks for writing this nice post on Merb!</p>
<p>Did you turn off locking?</p>
<p>By default, Merb will lock through the controller code, serializing that portion of the requests. This is required for ActiveRecord code to behave, as AR is not thread safe.</p>
<p>The Merb responses are quicker because it&#8217;s threaded up to that point, whereas Rails locks for *everything*.</p>
<p>If you add:</p>
<p>  :use_mutex:  false</p>
<p>in merb.yml</p>
<p>You&#8217;ll get better results yet. <img src='http://www.mikeperham.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

