<?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"
	>
<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>
	<pubDate>Sun, 23 Nov 2008 11:41:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>By: bea</title>
		<link>http://devnulled.com/content/2007/04/a-good-java-nio-tutorial/#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="http://today.java.net/cs/user/print/a/350" rel="nofollow"&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" onclick="javascript:pageTracker._trackPageview('/outbound/comment/today.java.net');" 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-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'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'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-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'm using at the moment is NIO based as well as some other stuff in the platform I work on, so it'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-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'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="http://mina.apache.org/ " rel="nofollow"&gt;MINA&lt;/a&gt;. I've decided that I will most likely use this for our purposes. It was previously called Netty2. If you don't feel like struggling with a poorly documented API unnecessarily, I'd consider it. MINA is still lacking documentation, too, but the mailing list is very lively, and the examples are pretty good.

I've also read that under certain conditions/requirements, using BIO still wins out in performance. I'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/ " onclick="javascript:pageTracker._trackPageview('/outbound/comment/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-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've had to make use of NIO several time over the last few years, wish i'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>
