-
Notifications
You must be signed in to change notification settings - Fork 10
What are ElasticActors?
Joost van de Wijgerd edited this page Feb 1, 2015
·
1 revision
ElasticActors is an Actor Framework that implements the Actor Model and provides some additional services such as persistency and scalability. The core principles behind the ElasticActors Framework are the following:
- All actors are persistent by default. Developers do not have to do anything special, the framework will take care of persisting the state of an actor in a durable way.
- All actors are singleton within a Actor cluster. Developers do not have to worry about where the actor runs in the cluster, the framework will take care of this.
Because any Actor System will need to communicate with the outside world, there are two other types of Actors in the ElasticActor Framework:
- Temporary Actors: The main use of temp actors is to handle short lived tasks, one of their main use cases is to link into the communication layer (http, tcp) to provide an asynchronous communication channel to the outside world.
- Service Actors: To be able to communicate to databases or external systems via http, or to provide services to all actors living a a cluster node, there is the concept of a Service Actor. A Service Actor is a singleton per cluster node.