I have in AWS a cluster let´s call it "Blue" with lots of actors alive in 
memory, each of these running its own schedulers every a period of time.

When I deploy to Prod another instance of the cluster and let´s call it 
"Green" I just change the routing to point out to the new cluster instance 
and then I terminate the old version of the cluster Blue.

The issue is that somehow I need to awake and bring into memory all those 
actors that were running in the terminated cluster (all of these act as 
Crons using the actor context scheduler), how can I achieve this?

I thought about a hack, overring the postStop() method and to publish 
events from cluster Blue to a certain Topic, in order for the new cluster 
Green to pull out from the topic and recover the actors alive in the 
terminated cluster.

Thanks,
Sebastian

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to