View Source Actors.Actor.Entity.Supervisor (spawn v1.0.0-rc.17)
Entity.Supervisor
is the Supervisor of all Host Actors in the system.
This in turn is Partitioned using a PartitionSupervisor.
We use a hash function based on each Actor's child_spec to partition the actors
so that the entire Supervisor is not overloaded and
lessening the possibility of cascading failures.
Summary
Functions
Returns a specification to start this module under a supervisor.
Adds a Actor to the dynamic supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
@spec lookup_or_create_actor( Eigr.Functions.Protocol.Actors.ActorSystem.t(), Eigr.Functions.Protocol.Actors.Actor.t(), any() ) :: {:ok, any()}
Adds a Actor to the dynamic supervisor.