Hi Jim,

On 4 March 2014 at 06:21:34, Jim Newsham ([email protected]) wrote:


Hi,

I'm tinkering around with remoting to get a better feel for it.  I tried some 
(programmatic) remote deployment.  Yes, quite slick indeed!

However, I did notice something a little unexpected.  I found that I can deploy 
to the same name repeatedly, and this creates a new actor instance on the 
remote side each time, at the same exact path.  However, it does not appear as 
if the old instances are ever stopped.  At least, I added logging to postStop() 
and this is not being called.  If the actor is being silently replaced, it 
seems to me that this could cause various issues in user code (lost state).  Am 
I missing something?


I’m not sure what you mean here. Are you giving the actors a name on the 
“local” machine? Then you should get an akka.actor.InvalidActorNameException, 
since the names are not unique. Otherwise you will just create multiple actors 
with automatically generated names on the “remote" machine.

B/


I'm using Akka 2.3.0-RC4.

Thanks,
Jim

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> 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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
Björn Antonsson
Typesafe – Reactive Apps on the JVM
twitter: @bantonsson

-- 
>>>>>>>>>>      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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to