Re: Implementation of take (multiple) in Jini starter kit
"John McClain - Sun Microsystems, Inc." <[email protected]>
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <[email protected]> |
Gregg Wonderly wrote: > John McClain - Sun Microsystems, Inc. wrote: >> Having said all that, for me the main motivation for the phrase "an >> implementation may chose to take fewer entries from the space than the >> maximum available or the maximum allowed by maxEntries" was so the space >> could protect itself from have to load all the entries into memory so it >> could ship them back to the client... > > John, given the use of a smart proxy, and a streaming connection from > the server to the client, it would be possible for the server to load > a small number at a time, and then write those batches through the > stream to the client, where the client iterator could make these > small groups look like one batch could it not? Yes (though I am guessing you have to be careful about how you mark the entries as removed...), but I didn't want to require such an implementation since it would make using most (any?) off the shelf RPC implementation imposable (maybe only difficult, you could always do multiple RPC calls under the covers I suppose). Having said that it might be really nice to have an RPC implementation that did give you access to the streams..... -- BTW, if you want to reply to this message, please direct your reply to the list, thanks John McClain [email protected] Sun Microsystems, Inc. Burlington, MA And it is that way today. We are tricked by hope into starting companies, beginning books, immigrating to this country and investing in telecom networks. The challenges turn out to be tougher than we imagined. Our excessive optimism is exposed. New skills are demanded. But nothing important was ever begun in a prudential frame of mind. - David Brooks =========================================================================== 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