That's a great idea. A bit of work to do there ... but I will give this a 
shot. 

Thank you :)




On Tuesday, April 12, 2016 at 8:36:04 PM UTC+10, Guido Medina wrote:
>
> What I meant by distributed data was "in-memory akka distributed data 
> extension"
>
> On Tuesday, April 12, 2016 at 11:35:01 AM UTC+1, Guido Medina wrote:
>>
>> When shutting down your old actor, send its latest state to some 
>> distributed data, when loading the actor check the state at that 
>> distributed data repository.
>> The tricky part is if messages are sent to the old actor after it got 
>> poisoned, then you will have to drain its mailbox to your distributed data 
>> as well.
>> You might also need a timer service checking for state on the distributed 
>> data so that it can send anything new to the new actor.
>>
>> Hope that helps,
>>
>> Guido.
>>
>> On Tuesday, April 12, 2016 at 10:46:03 AM UTC+1, Chelios wrote:
>>>
>>> Hey Guys,
>>>
>>> Suppose I have an Akka application which always keeps the state of all 
>>> the actors in memory and commands are flowing through which are modifying 
>>> the state of the Actors constantly and I want to upgrade my application 
>>> code to a newer version. How do I do that without any downtime ? 
>>>
>>> The problem I see if I fire up another machine (Machine_B) with newer 
>>> version of the application, I will have to wait for the all the state of 
>>> all the Actors to be initialized which might take time and while the new 
>>> application is load, older Machine_A's application would've already 
>>> processed more commands which might have modified the state of the Actors. 
>>> What are the best practices to solve this problem ? 
>>>
>>>
>>>

-- 
>>>>>>>>>>      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