What I'm thinking of would be to combine an actor framework like Kilim, actorsguild, actorsfoundry, or Akka with a tree-based or tuple-based store acessed by an clojure-style agent as mediator. Using a JavaSpaces implementation would give you event notification for free. Wonder whether Blitz can be run in vm-local mode. Then it would be an option.

Regards, Oliver

Am 02.12.2010 23:30, schrieb Shay Hassidim:
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:[email protected]]
Sent: Thursday, December 02, 2010 4:47 PM
To: [email protected]
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



Reply via email to