<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<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 on: JavaSpace05, the bulk operations API</title>
	<link>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/</link>
	<description></description>
	<pubDate>Fri, 16 May 2008 04:02:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Dan Creswell</title>
		<link>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-273</link>
		<dc:creator>Dan Creswell</dc:creator>
		<pubDate>Mon, 12 Feb 2007 12:43:50 +0000</pubDate>
		<guid>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-273</guid>
		<description>Hi Nati,

Without considerably more detailed discussions (with minimal beer intake) I wouldn't say one way or the other.

However, I believe there are some constraints on contents which are not present in bulk take and can be exploited so as to make bulk take reasonably performant in the common case.

From another angle, if one were following the JavaSpaces spec to the letter I believe it would rule out most optimizations that would make a cluster performant.  So, if we're building a cluster we are likely bending some rules anyways and I think there are some rules in bulk-take that can be bent more than those in contents.

Dan.</description>
		<content:encoded><![CDATA[<p>Hi Nati,</p>
<p>Without considerably more detailed discussions (with minimal beer intake) I wouldn&#8217;t say one way or the other.</p>
<p>However, I believe there are some constraints on contents which are not present in bulk take and can be exploited so as to make bulk take reasonably performant in the common case.</p>
<p>From another angle, if one were following the JavaSpaces spec to the letter I believe it would rule out most optimizations that would make a cluster performant.  So, if we&#8217;re building a cluster we are likely bending some rules anyways and I think there are some rules in bulk-take that can be bent more than those in contents.</p>
<p>Dan.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nati Shalom</title>
		<link>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-269</link>
		<dc:creator>Nati Shalom</dc:creator>
		<pubDate>Mon, 12 Feb 2007 00:52:08 +0000</pubDate>
		<guid>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-269</guid>
		<description>"This is because JavaSpace05 introduces an additional order of complexity to the implementation and it can be resource intensive in some circumstances which would preclude certain deployment options (the contents method for example can be unfriendly in a clustered implementation)."

Dan correct me if i'm wrong but based on my understanding "bulk-take" can be even more challenging then the "content" method under clustered environment. Imagine the following scenario as an example:

If your running bulk-take in a partitioned/clustered environment you can end up in a scenario in which the "bulk-take" may return  from one of the spaces while other take is still performed on other spaces causing entries from those spaces to be lost. 
Based on that bulk-take can be made pretty useless in a clustered environment due to its blocking nature. You may be able to implement it in a way that will work properly however it would be extremely expensive in terms of performance which again makes it pretty useless under clustered scenario.

Nati S.</description>
		<content:encoded><![CDATA[<p>&#8220;This is because JavaSpace05 introduces an additional order of complexity to the implementation and it can be resource intensive in some circumstances which would preclude certain deployment options (the contents method for example can be unfriendly in a clustered implementation).&#8221;</p>
<p>Dan correct me if i&#8217;m wrong but based on my understanding &#8220;bulk-take&#8221; can be even more challenging then the &#8220;content&#8221; method under clustered environment. Imagine the following scenario as an example:</p>
<p>If your running bulk-take in a partitioned/clustered environment you can end up in a scenario in which the &#8220;bulk-take&#8221; may return  from one of the spaces while other take is still performed on other spaces causing entries from those spaces to be lost.<br />
Based on that bulk-take can be made pretty useless in a clustered environment due to its blocking nature. You may be able to implement it in a way that will work properly however it would be extremely expensive in terms of performance which again makes it pretty useless under clustered scenario.</p>
<p>Nati S.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joseph Ottinger</title>
		<link>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-232</link>
		<dc:creator>Joseph Ottinger</dc:creator>
		<pubDate>Mon, 05 Feb 2007 12:13:44 +0000</pubDate>
		<guid>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-232</guid>
		<description>On media - well, a book or wiki would be nice but what *I* want is an article on TSS.... :)</description>
		<content:encoded><![CDATA[<p>On media - well, a book or wiki would be nice but what *I* want is an article on TSS&#8230;. <img src='http://www.dancres.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Creswell</title>
		<link>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-231</link>
		<dc:creator>Dan Creswell</dc:creator>
		<pubDate>Mon, 05 Feb 2007 10:52:18 +0000</pubDate>
		<guid>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-231</guid>
		<description>Hi Patrick,

Re: the spec, absolutely - as with so many things, the River project needs to reach consensus on what to do with this issue.  Will all this stuff be put in the JavaDoc or separated into specs or written up on a Wiki, who "owns" it etc.  My own view is KISS and keep the specs separate plus revise to include JavaSpace05 but I can't predict or promise anything.

No, I'm not casting blame - just trying to be of service and given all the queries I see about this stuff, it seemed right to "blogit".

Re: guidance on usage well I'm looking for feedback.  See, some people want a book, some people want a Wiki, some people want it in specs and so on - any views on what works best would be useful.  I'd also like to draw attention to a conflicting dynamic that I face daily which is that I have the knowledge to answer those questions and others but I have to make a living and writing my knowledge down in a book is neither cost effective nor profitable, the same being true for other "modes of delivery".  The only option that appears to allow me to satisfy the twin goals of education and making a living is consulting right now.  Thoughts on how to deal with that catch-22 situation would also be gratefully received.  Maybe I need to do an electronic book and charge by the chapter or something for download????

On quality of the docs, yeah I think people know but someone has to step up and take control of that.  IMHO, thus far there are plenty of people that want control or have an opinion but aren't prepared to back that up with a commitment to the work involved i.e.  They want their opinion to carry weight but want someone else to do the work for them - not gonna work I fear.......</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>Re: the spec, absolutely - as with so many things, the River project needs to reach consensus on what to do with this issue.  Will all this stuff be put in the JavaDoc or separated into specs or written up on a Wiki, who &#8220;owns&#8221; it etc.  My own view is KISS and keep the specs separate plus revise to include JavaSpace05 but I can&#8217;t predict or promise anything.</p>
<p>No, I&#8217;m not casting blame - just trying to be of service and given all the queries I see about this stuff, it seemed right to &#8220;blogit&#8221;.</p>
<p>Re: guidance on usage well I&#8217;m looking for feedback.  See, some people want a book, some people want a Wiki, some people want it in specs and so on - any views on what works best would be useful.  I&#8217;d also like to draw attention to a conflicting dynamic that I face daily which is that I have the knowledge to answer those questions and others but I have to make a living and writing my knowledge down in a book is neither cost effective nor profitable, the same being true for other &#8220;modes of delivery&#8221;.  The only option that appears to allow me to satisfy the twin goals of education and making a living is consulting right now.  Thoughts on how to deal with that catch-22 situation would also be gratefully received.  Maybe I need to do an electronic book and charge by the chapter or something for download????</p>
<p>On quality of the docs, yeah I think people know but someone has to step up and take control of that.  IMHO, thus far there are plenty of people that want control or have an opinion but aren&#8217;t prepared to back that up with a commitment to the work involved i.e.  They want their opinion to carry weight but want someone else to do the work for them - not gonna work I fear&#8230;&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Logan</title>
		<link>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-230</link>
		<dc:creator>Patrick Logan</dc:creator>
		<pubDate>Mon, 05 Feb 2007 01:51:15 +0000</pubDate>
		<guid>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-230</guid>
		<description>"it’s clear from recent discussions it’s still not well known"

Yes, but remember that the javaspaces documentation needs some work. e.g. the javaspaces 2.1 specification per se does not refer to javaspace05 interface.

I don't think you were casting any "blame" in this message, but I will take the opportunity to re-emphasize to the jini community -- the documentation is not that great. The biggest key to adoption of the new River effort will be *much* better documentation than has been available for the last half decade or so.

When I was looking at events I remember reading through the javaspaces notification stuff and the general jini notification stuff. At the time I think I passed right over javaspace05 for the reason above.

Beyond the spec though is, when and why would I choose to use either of the javaspace notification capabilities? I'm not sure I've seen any help on that. But I could be wrong since jini/javaspaces information is just so scattered -- I have trouble keeping the right set of information nearby.

I don't want to be laying this all on your doorstep (blogstep). Hopefully the long time participants understand just how bad it is. It is discouragingly bad.</description>
		<content:encoded><![CDATA[<p>&#8220;it’s clear from recent discussions it’s still not well known&#8221;</p>
<p>Yes, but remember that the javaspaces documentation needs some work. e.g. the javaspaces 2.1 specification per se does not refer to javaspace05 interface.</p>
<p>I don&#8217;t think you were casting any &#8220;blame&#8221; in this message, but I will take the opportunity to re-emphasize to the jini community &#8212; the documentation is not that great. The biggest key to adoption of the new River effort will be *much* better documentation than has been available for the last half decade or so.</p>
<p>When I was looking at events I remember reading through the javaspaces notification stuff and the general jini notification stuff. At the time I think I passed right over javaspace05 for the reason above.</p>
<p>Beyond the spec though is, when and why would I choose to use either of the javaspace notification capabilities? I&#8217;m not sure I&#8217;ve seen any help on that. But I could be wrong since jini/javaspaces information is just so scattered &#8212; I have trouble keeping the right set of information nearby.</p>
<p>I don&#8217;t want to be laying this all on your doorstep (blogstep). Hopefully the long time participants understand just how bad it is. It is discouragingly bad.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Creswell</title>
		<link>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-229</link>
		<dc:creator>Dan Creswell</dc:creator>
		<pubDate>Sun, 04 Feb 2007 20:10:05 +0000</pubDate>
		<guid>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-229</guid>
		<description>Hi Mike,

I'll tackle these in order:

"So I assume that it is it correct to say that JavaSpace05.registerForAvailabilityEvent() is similar to a subscription in JMS?"

Well yes, because get a copy of the relevant Entry in the delivered event but you have to remember that the Entry will still be in the space of course.  Also, you can get "additional" events triggered by for example, open txn, take entry, abort txn which would signify the entry becoming available for other consumers.

"Also do you know why JavaSpace05 is an optional extension? "

To be honest, I can't recall whether there was a reason even though I was involved (as a JavaSpaces implementor myself of course) in the work. If you asked me now if making it optional made sense I'd say yes.  This is because JavaSpace05 introduces an additional order of complexity to the implementation and it can be resource intensive in some circumstances which would preclude certain deployment options (the contents method for example can be unfriendly in a clustered implementation).

"Oh yeah and meant to say thanks Dan."

You're welcome!</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>I&#8217;ll tackle these in order:</p>
<p>&#8220;So I assume that it is it correct to say that JavaSpace05.registerForAvailabilityEvent() is similar to a subscription in JMS?&#8221;</p>
<p>Well yes, because get a copy of the relevant Entry in the delivered event but you have to remember that the Entry will still be in the space of course.  Also, you can get &#8220;additional&#8221; events triggered by for example, open txn, take entry, abort txn which would signify the entry becoming available for other consumers.</p>
<p>&#8220;Also do you know why JavaSpace05 is an optional extension? &#8221;</p>
<p>To be honest, I can&#8217;t recall whether there was a reason even though I was involved (as a JavaSpaces implementor myself of course) in the work. If you asked me now if making it optional made sense I&#8217;d say yes.  This is because JavaSpace05 introduces an additional order of complexity to the implementation and it can be resource intensive in some circumstances which would preclude certain deployment options (the contents method for example can be unfriendly in a clustered implementation).</p>
<p>&#8220;Oh yeah and meant to say thanks Dan.&#8221;</p>
<p>You&#8217;re welcome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Herrick</title>
		<link>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-228</link>
		<dc:creator>Mike Herrick</dc:creator>
		<pubDate>Sun, 04 Feb 2007 19:16:24 +0000</pubDate>
		<guid>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-228</guid>
		<description>Oh yeah and meant to say thanks Dan.</description>
		<content:encoded><![CDATA[<p>Oh yeah and meant to say thanks Dan.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Herrick</title>
		<link>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-227</link>
		<dc:creator>Mike Herrick</dc:creator>
		<pubDate>Sun, 04 Feb 2007 19:15:53 +0000</pubDate>
		<guid>http://www.dancres.org/blitzblog/2007/02/04/javaspace05-the-bulk-operations-api/#comment-227</guid>
		<description>I was one of the ones who was confused on the events: http://www.theserverside.com/news/thread.tss?thread_id=44042#226550

So I assume that it is it correct to say that JavaSpace05.registerForAvailabilityEvent() is similar to a subscription in JMS?

Also do you know why JavaSpace05 is an optional extension?</description>
		<content:encoded><![CDATA[<p>I was one of the ones who was confused on the events: <a href="http://www.theserverside.com/news/thread.tss?thread_id=44042#226550" rel="nofollow">http://www.theserverside.com/news/thread.tss?thread_id=44042#226550</a></p>
<p>So I assume that it is it correct to say that JavaSpace05.registerForAvailabilityEvent() is similar to a subscription in JMS?</p>
<p>Also do you know why JavaSpace05 is an optional extension?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
