We call these polling (one 2 one publisher/consumer model - i.e. queue) and notify one 2 many publisher/consumer model - i.e. topic) container with GigaSpaces:
For Java: http://www.gigaspaces.com/wiki/display/XAP71/Polling+Container http://www.gigaspaces.com/wiki/display/XAP71/Notify+Container For .Net: http://www.gigaspaces.com/wiki/display/XAP71NET/Polling+Container+Component http://www.gigaspaces.com/wiki/display/XAP71NET/Notify+Container+Component Shay -----Original Message----- From: Oliver Plohmann [mailto:oli...@objectscape.org] Sent: Thursday, December 02, 2010 4:47 PM To: river-user@incubator.apache.org Subject: Tuple spaces and actors Hi, has anybody thought of combining Linda-style tuple spaces with clojure-style agents? I just got the idea that combining actors with tuple spaces would be a useful fit. There is a single actor that controls access to the tuple space in an asynchronous actor-style fashion. Every access to the tuple space is queued. The queue is processed sequentially by a single actor associated with that tuple space or a sub-tree of it (hence no race conditions as with clojure agents). This would also automatically add event notification to the actors in use. The actor frameworks I've seen so far don't have that. Just would like to discuss this a bit with anybody interested in the idea. Cheers, Oliver