Talk:Tuple space

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Java (Rated Stub-class, Low-importance)
WikiProject icon This article is within the scope of WikiProject Java, a collaborative effort to improve the coverage of Java on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Stub-Class article Stub  This article has been rated as Stub-Class on the project's quality scale.
 Low  This article has been rated as Low-importance on the project's importance scale.
 
WikiProject Computer science (Rated Stub-class)
WikiProject icon This article is within the scope of WikiProject Computer science, a collaborative effort to improve the coverage of Computer science related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Stub-Class article Stub  This article has been rated as Stub-Class on the project's quality scale.
 ???  This article has not yet received a rating on the project's importance scale.
 
Note icon
This article has been automatically rated by a bot or other tool because one or more other projects use this class. Please ensure the assessment is correct before removing the |auto= parameter.

Plural[edit]

Shouldn't this artlce be under "Tuple space" not "Tuple spaces"? Either way, I suggest a redirect be created from the other one.

As far as I know it is only used in plural from. Hence, it should be Tuple Spaces. Creating a redirect is a good thing of course. Koffieyahoo 12:07, 19 August 2005 (UTC)
The following discussion is an archived debate of the proposal. Please do not modify it. Subsequent comments should be made in a new section on the talk page. No further edits should be made to this section.

The result of the debate was merge both.--Jorfer 16:23, 12 June 2007 (UTC)

On the proposed merge[edit]

Seems like a good idea. However, it would propose to merge the JavaSpaces example to that article and add a pseudo code based example here. -- Koffieyahoo 03:11, 17 July 2006 (UTC)

There are two different things here:
1. to use or not the plural. Tuple space could means the space where the element of the touple are defined and tuple spaces could means the space of tuples. IMHO is a difference.
2. to merge Java Spaces, Object Spaces, Tuple Spaces into one section or something like that. AFAIK the object spaces and tuple spaces have roots in two different programming paradigms so to merge into a common section could be good or not.

Well, I don't REALLY know much about this stuff but it seems to me that "Tuple space" is a more general idea that Object Space falls under and JavaSpaces utilizes. Though Tuple space is the weakest article of the three, I think merging the two articles into it would create a better picture of the concept and also serve to concentrate further expansion on the subject. I vote YES to merging all of the articles into "Tuple space." -- Nanobri 3:36, 6 June 2007 (UTC)
Subsequent comments should be made in a new section on this talk page. No further edits should be made to this section.

Java example[edit]

Are the try-catch blocks in the current Java example really necessary? It seems to me that either

  • no exception can be thrown by the try-block, in which case the catch-block is useless and confusing, and should be deleted; or else
  • some exception could be thrown by the try-block, indicating an error, in which case it would be caught and ignored by the catch-block, silently introducing a bug.

If any of the operations in the Java example could actually throw exceptions, those exception types should be listed in a throw-specification, and in any case, the catch-block should be removed. If possible, someone with more Java experience than I should rewrite the code so that it cannot throw any exceptions in the first place. --Quuxplusone 05:30, 2 August 2007 (UTC)


What about the comment "Pause for 10 seconds and then retrieve the Entry and check its state."? It seems to me that we actually pause for 10 minutes. If sleep() expects milliseconds then 10*60*1000 is 10 minutes.

Then, to me, the way you create an object space seems odd: JavaSpace space = (JavaSpace)space(); // Create an Object Space Where does the method space() come from and why can you be safe to cast it to a JavaSpace? Sorry, if that is obvious, but to me it unfortunately isn't. --NimoTh (talk) 06:56, 23 June 2009 (UTC)


I chime in:

In the Java example, the Server class's main method calls space.write(entry, null, Lease.FOREVER); and the Client class's main method calls SpaceEntry e = space.take(new SpaceEntry(), null, Long.MAX_VALUE);.

Now I am wondering: which mechanism makes sure that the e obtained by the Client is/equals the entry provided by the Server? --Abdull (talk) 13:18, 14 August 2013 (UTC)

Unsupported claims[edit]

"Implementations of tuple spaces have also been developed for Smalltalk, Java (JavaSpaces), Python, Ruby, TCL, and Lisp." It would be nice if pointers to all of the claimed implementations were provided. The quoted sentence (as of this writing) only points to the Wikipedia pages for those six languages. The "Implementations" section has five links, but doesn't say which links are for which language, nor which which of the languages are left out. —Preceding unsigned comment added by Vrmlguy (talkcontribs) 12:41, 17 September 2007 (UTC)

DSM[edit]

Tuple space is an example of DSM. Agree? If yes, I will put appriopriate links Szopen (talk) 14:08, 17 April 2008 (UTC) Since no one opposed, I will add appriopriate sentence in the lead. Szopen (talk) 06:56, 5 August 2008 (UTC)

Real world applications[edit]

In the JavaSpaces section it says "JavaSpaces remains a niche technology mostly used in the financial services and telco industries where it continues to maintain a faithful following." It would be good to add more information and references to real-world examples of JavaSpaces. Robert (talk) 02:29, 27 April 2009 (UTC)