Re:Microsoft Orleans – An approach to building distributed a...
by jamesblonde on Sunday July 17, 2016 @03:59PM
(#12111531)
You don't add types to state machines, however you can add typed ports and channels to actors. There is no requirement for a single inbox for messages.
See kompics
http://www.springer.com/la/book/9783642450648
In the actor model you often end up modeling state machines, and especially in the presence of asynchrony, it is impossible to meaningfully add types to such state machines. Because you see, the full set of messages that an actor recognizes at some point is much less interesting than the set of messages an actor accepts right now.
Another problem is that actors often communicate with multiple other actors at the same time, possibly aggregating data from multiple sources, outputting data on multiple channels. Thus a single actor can expose different APIs, depending on whom it is taking to.
And yet another problem is that often actors act as proxies or supervisors, simply forwarding messages around.
Basically people complaining about the untyped nature of actors are terribly misunderstanding the actor model. Or distributed systems.