akka.net - How can I make my actor not die? -


i'm learning akka.net. i've set running test i'm running actor locally, , remotely on actor on vm in azure.

the problem is, after i'm done , close application locally remote actor goes down.

"an existing connection forcibly closed remote host"

what need remote actor accept termination, , wait next connection actor running locally. how can fix this?

if you're creating actors using remote deployment, actor stopped, once it's parent die (due actor system shutdown). in case, while child living on machine, it's still child of local actor. natural part of actor system lifecycle - children cannot live without parents.

if you're interested having actors scattered among cluster nodes , make them rebalanced/recreated automatically, may take @ akka.cluster.sharding plugin. keep in mind, while lot easier, solution more complex , slower solution standard akka actors. make sure need features.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -