Hewitt, Meijer and Szyperski: The Actor Model (everything you wanted to know, but were afraid to ask)Apr 10, 2012 at 8:53 AM
Hi, nice video!
This important subject has got a lot of attention lately. I'll expect some interesting conversation here (or maybe part 2)...
With F# I have used the type mailboxprocessor, often called agent model.
I googled the differences between actors and agents, and the result was not completely in sync with this video. So what are the differences of these terms, or are they equivalent:
- Message passing
As far as I understand: the main difference of agents and actors (which both are implementations of message passing) is between the control: actors control themselves while agents are controlled from somewhere outside.
Hewitt said it would be a miss-understanding to see actors as event loop (OO-programmer may refer event loop as CQRS Event Sourcing), because actors know their internal state. Is that the only difference? From the outside view they are pretty close though, aren't they? For example: Reactive Extensions has this class ReplaySubject. I use it and it works. But do I know if it uses actor model or event loop inside...?