<?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: A Good Java NIO Tutorial</title>
	<atom:link href="http://devnulled.com/content/2007/04/a-good-java-nio-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://devnulled.com/content/2007/04/a-good-java-nio-tutorial/</link>
	<description>devnulled provides news, tips, resources, and articles about various topics that software developers and engineers enjoy.</description>
	<lastBuildDate>Tue, 09 Mar 2010 05:34:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: bea</title>
		<link>http://devnulled.com/content/2007/04/a-good-java-nio-tutorial/comment-page-1/#comment-168104</link>
		<dc:creator>bea</dc:creator>
		<pubDate>Fri, 27 Jul 2007 06:42:45 +0000</pubDate>
		<guid isPermaLink="false">http://devnulled.com/content/2007/04/a-good-java-nio-tutorial/#comment-168104</guid>
		<description>There is another good &lt;a href=&quot;http://today.java.net/cs/user/print/a/350&quot; rel=&quot;nofollow&quot;&gt; nio tutorial&lt;/a&gt; on java. net.</description>
		<content:encoded><![CDATA[<p>There is another good <a href="http://today.java.net/cs/user/print/a/350" rel="nofollow"> nio tutorial</a> on java. net.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Herou</title>
		<link>http://devnulled.com/content/2007/04/a-good-java-nio-tutorial/comment-page-1/#comment-145747</link>
		<dc:creator>Marcus Herou</dc:creator>
		<pubDate>Mon, 02 Jul 2007 19:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://devnulled.com/content/2007/04/a-good-java-nio-tutorial/#comment-145747</guid>
		<description>Yep. I dug into it when it was first released but I never understood the benefits fully back then. And how the world can documentation about such a nice piece of architecture as event driven communication (which bytw is hot hot hot in lighttpd, apache etc) be so crappy ?

Anyway I think most tutorials only work in windows especially the thing that a key mostly is writeable in linux will make you to hack some workarounds to not have zillions of wakeups on write events.

I will try this tutorial. I&#039;m writing since 4 years (yet another) caching framework (which I will release on SF) and will include a nonblocking distributed server/client cache. I have a total well performing blocking solution with worker threads, traffic control etc but I want to measure the difference between a well implemented nonblocking solution compared to a blocking.

It will not be easy since serialization is involved and I think I will be needing a bunch of worker threads handling send queues. People tend to say that you always should use one thread but I&#039;m skeptic since  
the underlying operations might read a file, db or so=block.

Everywhere I read people says Serialization=not NIO. but I know it can be done since I have a stupid echo serializing server now.


Keep up the blogging about this issue I sure need it :)

Kindly

//Marcus</description>
		<content:encoded><![CDATA[<p>Yep. I dug into it when it was first released but I never understood the benefits fully back then. And how the world can documentation about such a nice piece of architecture as event driven communication (which bytw is hot hot hot in lighttpd, apache etc) be so crappy ?</p>
<p>Anyway I think most tutorials only work in windows especially the thing that a key mostly is writeable in linux will make you to hack some workarounds to not have zillions of wakeups on write events.</p>
<p>I will try this tutorial. I&#8217;m writing since 4 years (yet another) caching framework (which I will release on SF) and will include a nonblocking distributed server/client cache. I have a total well performing blocking solution with worker threads, traffic control etc but I want to measure the difference between a well implemented nonblocking solution compared to a blocking.</p>
<p>It will not be easy since serialization is involved and I think I will be needing a bunch of worker threads handling send queues. People tend to say that you always should use one thread but I&#8217;m skeptic since<br />
the underlying operations might read a file, db or so=block.</p>
<p>Everywhere I read people says Serialization=not NIO. but I know it can be done since I have a stupid echo serializing server now.</p>
<p>Keep up the blogging about this issue I sure need it <img src='http://devnulled.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Kindly</p>
<p>//Marcus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brandon Harper</title>
		<link>http://devnulled.com/content/2007/04/a-good-java-nio-tutorial/comment-page-1/#comment-90331</link>
		<dc:creator>Brandon Harper</dc:creator>
		<pubDate>Thu, 12 Apr 2007 03:40:30 +0000</pubDate>
		<guid isPermaLink="false">http://devnulled.com/content/2007/04/a-good-java-nio-tutorial/#comment-90331</guid>
		<description>Yeah, I have yet to actually dive into NIO myself, but a library I&#039;m using at the moment is NIO based as well as some other stuff in the platform I work on, so it&#039;s been on my radar lately.</description>
		<content:encoded><![CDATA[<p>Yeah, I have yet to actually dive into NIO myself, but a library I&#8217;m using at the moment is NIO based as well as some other stuff in the platform I work on, so it&#8217;s been on my radar lately.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean LeBlanc</title>
		<link>http://devnulled.com/content/2007/04/a-good-java-nio-tutorial/comment-page-1/#comment-90328</link>
		<dc:creator>Sean LeBlanc</dc:creator>
		<pubDate>Thu, 12 Apr 2007 03:28:33 +0000</pubDate>
		<guid isPermaLink="false">http://devnulled.com/content/2007/04/a-good-java-nio-tutorial/#comment-90328</guid>
		<description>Funny you should blog about this. I&#039;ve been spending a good deal of the last week trying to untangle NIO (the non-blocking networking part, not all the other stuff that NIO entails like memory mapping).

I found that a pretty nice package has been moved into Apache called &lt;a href=&quot;http://mina.apache.org/ &quot; rel=&quot;nofollow&quot;&gt;MINA&lt;/a&gt;. I&#039;ve decided that I will most likely use this for our purposes. It was previously called Netty2. If you don&#039;t feel like struggling with a poorly documented API unnecessarily, I&#039;d consider it. MINA is still lacking documentation, too, but the mailing list is very lively, and the examples are pretty good.

I&#039;ve also read that under certain conditions/requirements, using BIO still wins out in performance. I&#039;ll be darned if I remember where, but I think it was on Sun discussion boards, or maybe the IBM ones.</description>
		<content:encoded><![CDATA[<p>Funny you should blog about this. I&#8217;ve been spending a good deal of the last week trying to untangle NIO (the non-blocking networking part, not all the other stuff that NIO entails like memory mapping).</p>
<p>I found that a pretty nice package has been moved into Apache called <a href="http://mina.apache.org/ " rel="nofollow">MINA</a>. I&#8217;ve decided that I will most likely use this for our purposes. It was previously called Netty2. If you don&#8217;t feel like struggling with a poorly documented API unnecessarily, I&#8217;d consider it. MINA is still lacking documentation, too, but the mailing list is very lively, and the examples are pretty good.</p>
<p>I&#8217;ve also read that under certain conditions/requirements, using BIO still wins out in performance. I&#8217;ll be darned if I remember where, but I think it was on Sun discussion boards, or maybe the IBM ones.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PaulH</title>
		<link>http://devnulled.com/content/2007/04/a-good-java-nio-tutorial/comment-page-1/#comment-89815</link>
		<dc:creator>PaulH</dc:creator>
		<pubDate>Wed, 11 Apr 2007 06:29:56 +0000</pubDate>
		<guid isPermaLink="false">http://devnulled.com/content/2007/04/a-good-java-nio-tutorial/#comment-89815</guid>
		<description>cool, i&#039;ve had to make use of NIO several time over the last few years, wish i&#039;d seen that tutorial before.  thanks.</description>
		<content:encoded><![CDATA[<p>cool, i&#8217;ve had to make use of NIO several time over the last few years, wish i&#8217;d seen that tutorial before.  thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->