nguyennv / pysage

Automatically exported from code.google.com/p/pysage
0 stars 0 forks source link

Enhancement: Make actor messaging location transparent #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently it is necessary to know if an actor is in the current process, a 
process group or on the network. If I wanted to move an actor to another group, 
I'd need to rework every line where a message is being sent to that actor.

It would be cleaner to simply dispatch messages and have routing provided by 
the framework. I understand this is difficult for network actors but it would 
be an improvement if it's done for process groups.

http://en.wikipedia.org/wiki/Location_transparency

Original issue reported on code.google.com by javier.r...@gmail.com on 3 May 2011 at 11:30

GoogleCodeExporter commented 8 years ago
If the propagation wasn't stopped by returning True and with a global registry 
in the main process, the dispatcher would know where to send messages every 
time.

I'm rather new to this library, is conditional propagation a greatly used 
feature?

Original comment by javier.r...@gmail.com on 9 May 2011 at 4:34