<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<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 for Stephans Blog</title>
	<link>http://stephan.reposita.org</link>
	<description>Productivity in software development</description>
	<pubDate>Fri, 25 Jul 2008 03:14:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>Comment on Using Google Guice Providers to Solve Law of Demeter Problems by stephan</title>
		<link>http://stephan.reposita.org/archives/2008/07/24/using-google-guice-providers-to-solve-law-of-demeter-problems/#comment-135733</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Thu, 24 Jul 2008 19:25:54 +0000</pubDate>
		<guid>http://stephan.reposita.org/archives/2008/07/24/using-google-guice-providers-to-solve-law-of-demeter-problems/#comment-135733</guid>
		<description>@Doug: Of course you're right, my error, passing in &lt;code&gt;Context&lt;/code&gt; is IoC.

"Sometimes that’s not possible. With IoC this can be solved without (much) refactoring."

Reading my post again, I didn't write that passing in a Context is not IoC, just that IoC can solve the problem.</description>
		<content:encoded><![CDATA[<p>@Doug: Of course you&#8217;re right, my error, passing in <code>Context</code> is IoC.</p>
<p>&#8220;Sometimes that’s not possible. With IoC this can be solved without (much) refactoring.&#8221;</p>
<p>Reading my post again, I didn&#8217;t write that passing in a Context is not IoC, just that IoC can solve the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Google Guice Providers to Solve Law of Demeter Problems by Doug</title>
		<link>http://stephan.reposita.org/archives/2008/07/24/using-google-guice-providers-to-solve-law-of-demeter-problems/#comment-135662</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 24 Jul 2008 16:25:41 +0000</pubDate>
		<guid>http://stephan.reposita.org/archives/2008/07/24/using-google-guice-providers-to-solve-law-of-demeter-problems/#comment-135662</guid>
		<description>To be picky about terminology, passing a Context object IS a form of IoC. It's what used to be called "Type 1" IoC, or "Contextualized Dependency Lookup". It's not Dependency Injection, but it IS Inversion of Control. (One could argue that the dependency on the injected context qualifies as DI, but I don't think that argument would win many supporters.) As noted, it's harder to test than DI is.

As for the Law of Demeter, I say "ptthht." There are some places where it's a reasonable guideline, and many places where it isn't. The real problem with passing a Context object instead of an Engine object is one of increased coupling: the method is not only coupled to the Engine class but to the Context class as well.</description>
		<content:encoded><![CDATA[<p>To be picky about terminology, passing a Context object IS a form of IoC. It&#8217;s what used to be called &#8220;Type 1&#8243; IoC, or &#8220;Contextualized Dependency Lookup&#8221;. It&#8217;s not Dependency Injection, but it IS Inversion of Control. (One could argue that the dependency on the injected context qualifies as DI, but I don&#8217;t think that argument would win many supporters.) As noted, it&#8217;s harder to test than DI is.</p>
<p>As for the Law of Demeter, I say &#8220;ptthht.&#8221; There are some places where it&#8217;s a reasonable guideline, and many places where it isn&#8217;t. The real problem with passing a Context object instead of an Engine object is one of increased coupling: the method is not only coupled to the Engine class but to the Context class as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unscientific Jetty versus Glassfish for REST by stephan</title>
		<link>http://stephan.reposita.org/archives/2008/07/20/unscientific-jetty-versus-glassfish-for-rest/#comment-133300</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Mon, 21 Jul 2008 19:39:20 +0000</pubDate>
		<guid>http://stephan.reposita.org/archives/2008/07/20/unscientific-jetty-versus-glassfish-for-rest/#comment-133300</guid>
		<description>@Greg: Sorry, no source code yet, but it's a simple Jersey REST resource which returns Json.


The versions were probably not the newest, the Jetty plugin is 6.1.10, the Glassfish plugin is 1.0-alpha-4. 

"The difference between jetty/glassfish may be something as simple as default configured depth of accept queues. Unscientific as it is, its no fun having psuedo benchmarks published that you can’t analyse or respond to."

I'm sorry, with some hindsight I wasn't clever to publish numbers, a "around 1000req/sec" would have been enough. As I've said, both are so fast, that the numbers are really no problem to me (but might be for others, I agree).

It probably wouldn't help if I do another benchmark, with published source code and documented configuration.

That aside, Jetty is an excellent container and the container of choice whenever I do something with servlets. Ever since we've developed SnipSnap some years ago I love Jetty.</description>
		<content:encoded><![CDATA[<p>@Greg: Sorry, no source code yet, but it&#8217;s a simple Jersey REST resource which returns Json.</p>
<p>The versions were probably not the newest, the Jetty plugin is 6.1.10, the Glassfish plugin is 1.0-alpha-4. </p>
<p>&#8220;The difference between jetty/glassfish may be something as simple as default configured depth of accept queues. Unscientific as it is, its no fun having psuedo benchmarks published that you can’t analyse or respond to.&#8221;</p>
<p>I&#8217;m sorry, with some hindsight I wasn&#8217;t clever to publish numbers, a &#8220;around 1000req/sec&#8221; would have been enough. As I&#8217;ve said, both are so fast, that the numbers are really no problem to me (but might be for others, I agree).</p>
<p>It probably wouldn&#8217;t help if I do another benchmark, with published source code and documented configuration.</p>
<p>That aside, Jetty is an excellent container and the container of choice whenever I do something with servlets. Ever since we&#8217;ve developed SnipSnap some years ago I love Jetty.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Decided on a NAS: Zyxel, Infrant or Qnap by GroverBlue</title>
		<link>http://stephan.reposita.org/archives/2008/03/30/decided-on-a-nas-zyxel-infrant-or-qnap/#comment-133290</link>
		<dc:creator>GroverBlue</dc:creator>
		<pubDate>Mon, 21 Jul 2008 18:13:59 +0000</pubDate>
		<guid>http://stephan.reposita.org/archives/2008/03/30/decided-on-a-nas-zyxel-infrant-or-qnap/#comment-133290</guid>
		<description>The Infrant box is hardware RAID, where as the QNAP box is software.</description>
		<content:encoded><![CDATA[<p>The Infrant box is hardware RAID, where as the QNAP box is software.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unscientific Jetty versus Glassfish for REST by lumpynose</title>
		<link>http://stephan.reposita.org/archives/2008/07/20/unscientific-jetty-versus-glassfish-for-rest/#comment-133277</link>
		<dc:creator>lumpynose</dc:creator>
		<pubDate>Mon, 21 Jul 2008 17:05:24 +0000</pubDate>
		<guid>http://stephan.reposita.org/archives/2008/07/20/unscientific-jetty-versus-glassfish-for-rest/#comment-133277</guid>
		<description>Very true.

I think the Rails scalability issue bothers me because I work with people who are Rails fanatics and their fanaticism blinds them to the scalability and reliability issues with Rails.  The Rails people are typically chanting about how with it you can crank out a web app in no time at all, and within the Rails community you find very few people who think about the design and architecture of web applications.  The whole mind set is to just use the tools that Rails gives you and be thankful that you don't have to think about the gritty under the hood implementation details or alternative choices.  They think of that as time wasted.  I call it the Duncan Hines mind set.  Duncan Hines is a cake mix in a box here in the states.</description>
		<content:encoded><![CDATA[<p>Very true.</p>
<p>I think the Rails scalability issue bothers me because I work with people who are Rails fanatics and their fanaticism blinds them to the scalability and reliability issues with Rails.  The Rails people are typically chanting about how with it you can crank out a web app in no time at all, and within the Rails community you find very few people who think about the design and architecture of web applications.  The whole mind set is to just use the tools that Rails gives you and be thankful that you don&#8217;t have to think about the gritty under the hood implementation details or alternative choices.  They think of that as time wasted.  I call it the Duncan Hines mind set.  Duncan Hines is a cake mix in a box here in the states.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unscientific Jetty versus Glassfish for REST by stephan</title>
		<link>http://stephan.reposita.org/archives/2008/07/20/unscientific-jetty-versus-glassfish-for-rest/#comment-133254</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Mon, 21 Jul 2008 16:06:30 +0000</pubDate>
		<guid>http://stephan.reposita.org/archives/2008/07/20/unscientific-jetty-versus-glassfish-for-rest/#comment-133254</guid>
		<description>What I miss when people talk about scalability, is not if somethings scales or not (your app should be designed in a way that it scales), but how much it will cost. Linear scalability for academics is the same independent of the scaling factor (2n or 10n), for business it makes a huge difference (5x more money though both technologies scale linear). 

I think it's funny that VCs don't care about how much a chosen technology costs to scale.

And no, I have no facts that Rails doesn't scale as good as e.g. Spring, just a gut feeling.

But the post was mainly to reassure me that my scaling factor for the REST solution is cheap, not to bash Rails/Ruby (I was afraid after reading the report).</description>
		<content:encoded><![CDATA[<p>What I miss when people talk about scalability, is not if somethings scales or not (your app should be designed in a way that it scales), but how much it will cost. Linear scalability for academics is the same independent of the scaling factor (2n or 10n), for business it makes a huge difference (5x more money though both technologies scale linear). </p>
<p>I think it&#8217;s funny that VCs don&#8217;t care about how much a chosen technology costs to scale.</p>
<p>And no, I have no facts that Rails doesn&#8217;t scale as good as e.g. Spring, just a gut feeling.</p>
<p>But the post was mainly to reassure me that my scaling factor for the REST solution is cheap, not to bash Rails/Ruby (I was afraid after reading the report).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unscientific Jetty versus Glassfish for REST by lumpynose</title>
		<link>http://stephan.reposita.org/archives/2008/07/20/unscientific-jetty-versus-glassfish-for-rest/#comment-133246</link>
		<dc:creator>lumpynose</dc:creator>
		<pubDate>Mon, 21 Jul 2008 15:42:58 +0000</pubDate>
		<guid>http://stephan.reposita.org/archives/2008/07/20/unscientific-jetty-versus-glassfish-for-rest/#comment-133246</guid>
		<description>With Rails it was 320 requests per seconds with what, 25 servers?  Given my experience probably a significant percentage of those servers were needed because so many are being restarted by some external monitoring process because the Mongrel, Webrick, or whatever, was hung.  One of the Rails fanboys here was complaining that the monitoring program he uses, god, was sending him several false positives emails a day about the server being hung.  Talk about adding insult to injury.  But he doesn't see it that way or what black comedy the whole Rails thing is.</description>
		<content:encoded><![CDATA[<p>With Rails it was 320 requests per seconds with what, 25 servers?  Given my experience probably a significant percentage of those servers were needed because so many are being restarted by some external monitoring process because the Mongrel, Webrick, or whatever, was hung.  One of the Rails fanboys here was complaining that the monitoring program he uses, god, was sending him several false positives emails a day about the server being hung.  Talk about adding insult to injury.  But he doesn&#8217;t see it that way or what black comedy the whole Rails thing is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unscientific Jetty versus Glassfish for REST by Greg Wilkins</title>
		<link>http://stephan.reposita.org/archives/2008/07/20/unscientific-jetty-versus-glassfish-for-rest/#comment-133022</link>
		<dc:creator>Greg Wilkins</dc:creator>
		<pubDate>Mon, 21 Jul 2008 07:31:13 +0000</pubDate>
		<guid>http://stephan.reposita.org/archives/2008/07/20/unscientific-jetty-versus-glassfish-for-rest/#comment-133022</guid>
		<description>Stephan,

What versions of jetty/glassfish were compared?  Also, any chance you can make the source for this project available, or at least something similar.

The difference between jetty/glassfish may be something as simple as default configured depth of accept queues.  Unscientific as it is, its no fun having psuedo benchmarks published that you can't analyse or respond to.

cheers</description>
		<content:encoded><![CDATA[<p>Stephan,</p>
<p>What versions of jetty/glassfish were compared?  Also, any chance you can make the source for this project available, or at least something similar.</p>
<p>The difference between jetty/glassfish may be something as simple as default configured depth of accept queues.  Unscientific as it is, its no fun having psuedo benchmarks published that you can&#8217;t analyse or respond to.</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unscientific Jetty versus Glassfish for REST by stephan</title>
		<link>http://stephan.reposita.org/archives/2008/07/20/unscientific-jetty-versus-glassfish-for-rest/#comment-132981</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Mon, 21 Jul 2008 06:32:38 +0000</pubDate>
		<guid>http://stephan.reposita.org/archives/2008/07/20/unscientific-jetty-versus-glassfish-for-rest/#comment-132981</guid>
		<description>Sorry, I don't have a tutorial at hand, everytime I implement something new wit etags I use google to find the information I need. It's usually not very often.

Peace
-stephan</description>
		<content:encoded><![CDATA[<p>Sorry, I don&#8217;t have a tutorial at hand, everytime I implement something new wit etags I use google to find the information I need. It&#8217;s usually not very often.</p>
<p>Peace<br />
-stephan</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Unscientific Jetty versus Glassfish for REST by anjan bacchu</title>
		<link>http://stephan.reposita.org/archives/2008/07/20/unscientific-jetty-versus-glassfish-for-rest/#comment-132977</link>
		<dc:creator>anjan bacchu</dc:creator>
		<pubDate>Mon, 21 Jul 2008 06:16:30 +0000</pubDate>
		<guid>http://stephan.reposita.org/archives/2008/07/20/unscientific-jetty-versus-glassfish-for-rest/#comment-132977</guid>
		<description>hi Stephan,

  thanks for the info.

E-Tag : I've been reading up on this for a while. Would you know of a tutorial /introduction on how to use it efficiently ?

Thank you,

BR,
~A</description>
		<content:encoded><![CDATA[<p>hi Stephan,</p>
<p>  thanks for the info.</p>
<p>E-Tag : I&#8217;ve been reading up on this for a while. Would you know of a tutorial /introduction on how to use it efficiently ?</p>
<p>Thank you,</p>
<p>BR,<br />
~A</p>
]]></content:encoded>
	</item>
</channel>
</rss>
