Re: Latency issues
Calum Shaw-Mackay <[email protected]> Sun, 18 Feb 2007 20:23:48 +0000
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <[email protected]> |
> I am new to JavaSpaces… so bare with me J > > Let's say I have 100 computers sharing the same Java-Space. > > 2 computers are putting new objects in, and 98 computers are collecting the > objects. > > > > Are the objects inserted into java-spaces stored on multiple computers (for > redundancy)? Not neccessarily - remember you have one Javaspace that has 100 clients. The Javaspace is not like a P2P model, entries are not stored on the clients and therefore the sapce is taken as being the collevtive entries held on all clients. Some Javaspaces do have replication and other HA features in them, however I'm not an expert in that area so others may speak up about that particular area. > If so, Does java-spaces guarantee that only one of the computers collecting > the objects will get a specific object? Yes. > Are all of the computers sharing the same java-space aware of all the > objects inserted into the java-space? They are accessible to all clients, use of the notify method would allow the clients to be told about the entries when they are written. > Are the objects replicated to all of the computers sharing the same > java-space? Again, a Javaspace is a Jini service that you talk to remotely and the storage model, etc is up to the space implementation. There is no replication of indiviudal entries from the Javaspace to clients for localised storage. Now this is not to say that this couldn't happen, either using some inbuilt replication behind the scenes or some form of Javaspace network. --Calum =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff JAVASPACES-USERS". For general help, send email to [email protected] and include in the body of the message "help". To view past JAVASPACES-USERS postings, please see: http://archives.java.sun.com/archives/javaspaces-users.html