protoactor-dotnet icon indicating copy to clipboard operation
protoactor-dotnet copied to clipboard

Auto boot actors on system startup

Open rogeralsing opened this issue 2 years ago • 2 comments

An often requested feature is the ability to boot specific actors during system start. e.g. say you want all your PlayerActors to boot up before getting any direct messages.

I'm thinking this ought to be super easy to set up. e.g. plugin that just reads a list of actor names from a DB. then send a Touch message to each of them. (just loop over a stream from the DB, we don't even need to read them all into memory.)

rogeralsing avatar Dec 12 '21 13:12 rogeralsing

https://github.com/asynkron/protoactor-dotnet/blob/dd8e7983951037a95edbee8ca443e83cc885b1b9/src/Proto.Cluster/Singleton/SingletonManager.cs

rogeralsing avatar Jan 30 '22 19:01 rogeralsing

Very much related to https://github.com/asynkron/protoactor-dotnet/issues/1114

rogeralsing avatar Jan 30 '22 19:01 rogeralsing