<?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: Catalyst vs Rails Round Two</title>
	<atom:link href="http://letsgetdugg.com/2009/04/30/catalyst-vs-rails-round-two/feed/" rel="self" type="application/rss+xml" />
	<link>http://letsgetdugg.com/2009/04/30/catalyst-vs-rails-round-two/</link>
	<description>Random tech jargon</description>
	<lastBuildDate>Mon, 07 May 2012 11:01:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: c9s</title>
		<link>http://letsgetdugg.com/2009/04/30/catalyst-vs-rails-round-two/comment-page-1/#comment-320</link>
		<dc:creator>c9s</dc:creator>
		<pubDate>Tue, 21 Jun 2011 11:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://letsgetdugg.com/?p=156#comment-320</guid>
		<description>by using Perl5.10 + Feersum + Plack,

you can reach more than 15000+ requests per sec.</description>
		<content:encoded><![CDATA[<p>by using Perl5.10 + Feersum + Plack,</p>
<p>you can reach more than 15000+ requests per sec.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davewood</title>
		<link>http://letsgetdugg.com/2009/04/30/catalyst-vs-rails-round-two/comment-page-1/#comment-284</link>
		<dc:creator>davewood</dc:creator>
		<pubDate>Tue, 09 Nov 2010 09:30:33 +0000</pubDate>
		<guid isPermaLink="false">http://letsgetdugg.com/?p=156#comment-284</guid>
		<description>Currently fastcgi with apache seems to be the most recommended deployment method for catalyst.

Alternatives:
- nginx
- lighttpd
- apache(mode_perl, fastcgi)
- IIS
- LiteSpeed
- Starman

http://wiki.catalystframework.org/wiki/deployment</description>
		<content:encoded><![CDATA[<p>Currently fastcgi with apache seems to be the most recommended deployment method for catalyst.</p>
<p>Alternatives:<br />
- nginx<br />
- lighttpd<br />
- apache(mode_perl, fastcgi)<br />
- IIS<br />
- LiteSpeed<br />
- Starman</p>
<p><a href="http://wiki.catalystframework.org/wiki/deployment" rel="nofollow">http://wiki.catalystframework.org/wiki/deployment</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathieu</title>
		<link>http://letsgetdugg.com/2009/04/30/catalyst-vs-rails-round-two/comment-page-1/#comment-149</link>
		<dc:creator>Mathieu</dc:creator>
		<pubDate>Fri, 13 Nov 2009 20:11:54 +0000</pubDate>
		<guid isPermaLink="false">http://letsgetdugg.com/?p=156#comment-149</guid>
		<description>how do you deploy your applications ?
mod_perl for catalyst ?
passenger for rails ?

and you should not compile ruby with -O3, -OS is better. there are some articles about that around the net.

and I believe MRI != 1.9, you can&#039;t call 1.9 MRI.</description>
		<content:encoded><![CDATA[<p>how do you deploy your applications ?<br />
mod_perl for catalyst ?<br />
passenger for rails ?</p>
<p>and you should not compile ruby with -O3, -OS is better. there are some articles about that around the net.</p>
<p>and I believe MRI != 1.9, you can&#8217;t call 1.9 MRI.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Caleb Cushing ( xenoterracide )</title>
		<link>http://letsgetdugg.com/2009/04/30/catalyst-vs-rails-round-two/comment-page-1/#comment-136</link>
		<dc:creator>Caleb Cushing ( xenoterracide )</dc:creator>
		<pubDate>Sat, 24 Oct 2009 10:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://letsgetdugg.com/?p=156#comment-136</guid>
		<description>Any Chance you&#039;d throw some benchmarks of django up? and maybe one of the php frameworks?</description>
		<content:encoded><![CDATA[<p>Any Chance you&#8217;d throw some benchmarks of django up? and maybe one of the php frameworks?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: victori</title>
		<link>http://letsgetdugg.com/2009/04/30/catalyst-vs-rails-round-two/comment-page-1/#comment-108</link>
		<dc:creator>victori</dc:creator>
		<pubDate>Mon, 31 Aug 2009 20:24:40 +0000</pubDate>
		<guid isPermaLink="false">http://letsgetdugg.com/?p=156#comment-108</guid>
		<description>@Ted

Sorry for the late response...

1. config.threadsafe! is enabled and jruby-rack is configured for a single runtime. 

2. I use jetty as our production and test container. It handles requests concurrently due to config.threadsafe being enabled. 

Hope that helps.</description>
		<content:encoded><![CDATA[<p>@Ted</p>
<p>Sorry for the late response&#8230;</p>
<p>1. config.threadsafe! is enabled and jruby-rack is configured for a single runtime. </p>
<p>2. I use jetty as our production and test container. It handles requests concurrently due to config.threadsafe being enabled. </p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tex</title>
		<link>http://letsgetdugg.com/2009/04/30/catalyst-vs-rails-round-two/comment-page-1/#comment-107</link>
		<dc:creator>Tex</dc:creator>
		<pubDate>Mon, 24 Aug 2009 10:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://letsgetdugg.com/?p=156#comment-107</guid>
		<description>Hi, very interesting article.

I have a question: when you refer to JRuby Multi-Threaded what do you mean ? config.thread_safe! enabled on config/environments/production.rb or something else ?

I&#039;m wondering how to handle concurrent requests on rails 2.3.x using JRuby on Glassfish Gem, using Mongrel Java and so on but without results...

Example:

rails concurrent
cd concurrent
script/generate controller test test

edit app/controllers/test.rb

&lt;code&gt;
class TestController &lt; ApplicationController
  def test
   sleep 10
   @value = Time.now
  end
end
&lt;/code&gt;

edit app/views/test/test.test.html.erb

&lt;code&gt;

&lt;/code&gt;

edit config/database.yml

&lt;code&gt;
production:
  adapter: jdbcsqlite3
  database: db/production.sqlite3
  pool: 5
  timeout: 5000
&lt;/code&gt;

Now launch glassfish gem in production mode:

jruby -S glassfish -e production -n 4 --runtimes-min 4 --runtimes-max 4

Now try (concurrently) get 4 times the page:

http://localhost:3000/test/test

I receive the results queued (the last result after 40 seconds) this happens for glassfish gem, webrick, mongrel...

How can I handle concurrent requests under jruby/rails ?</description>
		<content:encoded><![CDATA[<p>Hi, very interesting article.</p>
<p>I have a question: when you refer to JRuby Multi-Threaded what do you mean ? config.thread_safe! enabled on config/environments/production.rb or something else ?</p>
<p>I&#8217;m wondering how to handle concurrent requests on rails 2.3.x using JRuby on Glassfish Gem, using Mongrel Java and so on but without results&#8230;</p>
<p>Example:</p>
<p>rails concurrent<br />
cd concurrent<br />
script/generate controller test test</p>
<p>edit app/controllers/test.rb</p>
<div class="codesnip-container" >class TestController &lt; ApplicationController<br />
  def test<br />
   sleep 10<br />
   @value = Time.now<br />
  end<br />
end</div>
<p>edit app/views/test/test.test.html.erb</p>
<div class="codesnip-container" ></div>
<p>edit config/database.yml</p>
<div class="codesnip-container" >production:<br />
  adapter: jdbcsqlite3<br />
  database: db/production.sqlite3<br />
  pool: 5<br />
  timeout: 5000</div>
<p>Now launch glassfish gem in production mode:</p>
<p>jruby -S glassfish -e production -n 4 &#8211;runtimes-min 4 &#8211;runtimes-max 4</p>
<p>Now try (concurrently) get 4 times the page:</p>
<p><a href="http://localhost:3000/test/test" rel="nofollow">http://localhost:3000/test/test</a></p>
<p>I receive the results queued (the last result after 40 seconds) this happens for glassfish gem, webrick, mongrel&#8230;</p>
<p>How can I handle concurrent requests under jruby/rails ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Radu B.</title>
		<link>http://letsgetdugg.com/2009/04/30/catalyst-vs-rails-round-two/comment-page-1/#comment-97</link>
		<dc:creator>Radu B.</dc:creator>
		<pubDate>Fri, 17 Jul 2009 16:02:27 +0000</pubDate>
		<guid isPermaLink="false">http://letsgetdugg.com/?p=156#comment-97</guid>
		<description>Where is django in the new benchmark? :)
I really think it could be very interesting to know the difference...</description>
		<content:encoded><![CDATA[<p>Where is django in the new benchmark? <img src='http://letsgetdugg.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I really think it could be very interesting to know the difference&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nilson Santos F. Jr.</title>
		<link>http://letsgetdugg.com/2009/04/30/catalyst-vs-rails-round-two/comment-page-1/#comment-94</link>
		<dc:creator>Nilson Santos F. Jr.</dc:creator>
		<pubDate>Wed, 01 Jul 2009 16:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://letsgetdugg.com/?p=156#comment-94</guid>
		<description>I think Nateware comment is extremely unhelpful to the passerby as he lists his frustrations with two other technologies *unrelated* to Catalyst.

Neither FormBuilder nor SQL::Abstract are parts of Catalyst. As a matter of fact, FormBuilder isn&#039;t even a recommended option at this point.</description>
		<content:encoded><![CDATA[<p>I think Nateware comment is extremely unhelpful to the passerby as he lists his frustrations with two other technologies *unrelated* to Catalyst.</p>
<p>Neither FormBuilder nor SQL::Abstract are parts of Catalyst. As a matter of fact, FormBuilder isn&#8217;t even a recommended option at this point.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john napiorkowski</title>
		<link>http://letsgetdugg.com/2009/04/30/catalyst-vs-rails-round-two/comment-page-1/#comment-68</link>
		<dc:creator>john napiorkowski</dc:creator>
		<pubDate>Thu, 28 May 2009 17:03:26 +0000</pubDate>
		<guid isPermaLink="false">http://letsgetdugg.com/?p=156#comment-68</guid>
		<description>I&#039;m sorry you had such a bad experience with Catalyst, however you may not have dug so deeply since SQL::Abstract is used not in Catalyst but in DBIx::Class (a pure Perl ORM) and FormBuilder is a completely separate project.  You&#039;re confusion is reasonable, since many people contribute to both DBIx::Class and Catalyst and a lot of the examples floating around do use both.

Formbuilder is probably not the recommended system at this time.

Since I don&#039;t know what you were trying to do, I really can&#039;t offer any suggestions.  I have the opposite experience from you.  I pulled my hair out trying to make Rails do what I needed.  I find Rails seems to be fine for brand new project with no legacy code, since you have to restrict yourself very heavily to the Rails Cool Aid to get the benefits.  But when I need to integrate legacy databases, or have databases with multi field primary / foreign keys, etc. I just didn&#039;t enjoy it.  Again, it might be a personality thing as well, programming languages fit people like gloves.</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry you had such a bad experience with Catalyst, however you may not have dug so deeply since SQL::Abstract is used not in Catalyst but in DBIx::Class (a pure Perl ORM) and FormBuilder is a completely separate project.  You&#8217;re confusion is reasonable, since many people contribute to both DBIx::Class and Catalyst and a lot of the examples floating around do use both.</p>
<p>Formbuilder is probably not the recommended system at this time.</p>
<p>Since I don&#8217;t know what you were trying to do, I really can&#8217;t offer any suggestions.  I have the opposite experience from you.  I pulled my hair out trying to make Rails do what I needed.  I find Rails seems to be fine for brand new project with no legacy code, since you have to restrict yourself very heavily to the Rails Cool Aid to get the benefits.  But when I need to integrate legacy databases, or have databases with multi field primary / foreign keys, etc. I just didn&#8217;t enjoy it.  Again, it might be a personality thing as well, programming languages fit people like gloves.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nateware</title>
		<link>http://letsgetdugg.com/2009/04/30/catalyst-vs-rails-round-two/comment-page-1/#comment-46</link>
		<dc:creator>Nateware</dc:creator>
		<pubDate>Thu, 14 May 2009 03:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://letsgetdugg.com/?p=156#comment-46</guid>
		<description>Yeah, but this benchmark misses the point that Catalyst still sucks.

We tried to develop in it, since mod_perl screams and I contributed FormBuilder and SQL::Abstract which are heavily used within Catalyst.  It was a horrible experience which I&#039;ve tried to wipe from my memory at all costs.

When we switched to Rails, my stress level decreased by dramatically, and our app performs quite well.

The database is always the bottleneck anyways.</description>
		<content:encoded><![CDATA[<p>Yeah, but this benchmark misses the point that Catalyst still sucks.</p>
<p>We tried to develop in it, since mod_perl screams and I contributed FormBuilder and SQL::Abstract which are heavily used within Catalyst.  It was a horrible experience which I&#8217;ve tried to wipe from my memory at all costs.</p>
<p>When we switched to Rails, my stress level decreased by dramatically, and our app performs quite well.</p>
<p>The database is always the bottleneck anyways.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

