Using Akka Cluster is an option. It will not quarantine immediately in the
same way as when using only Akka Remoting.
/Patrik
tis 21 juni 2016 kl. 15:44 skrev 'Alexandru Nedelcu' via Akka User List <
[email protected]>:

> Hello,
>
> I have an actor that accepts any number of remote subscribers and pushes
> updates to them.
>
>    - it manages the subscriptions by itself, accepting multiple remote
>    subscribers
>    - I’m setting a “Death Watcher” on each remote subscriber in order to
>    detect closed connections
>
> You can find the sample here:
> https://gist.github.com/alexandru/999b65204ddadc2a172c6625557abcb4
>
> The problem is that, by setting that death watch, if networking problems
> happen the connection is “*Quarantined*“. This was a surprise for me,
> even though it is documented behavior
> <http://doc.akka.io/docs/akka/2.4.7/scala/remoting.html#Lifecycle_and_Failure_Recovery_Model>.
> The problem for me is that, from what I understand, in order to recover the
> connection one of the actor systems have to be restarted. And that’s not
> feasible. I can afford to restart the actors, but not the actor systems.
>
> So what are my options?
>
>    - can I completely disable the Quarantine state?
>    - can I set a death watch
>    
> <http://doc.akka.io/docs/akka/snapshot/scala/actors.html#Lifecycle_Monitoring_aka_DeathWatch>
>    that does not Quarantine connections?
>    - if no and no, what other options do I have?
>
> Cheers,
>
> —
> Alexandru Nedelcu
> alexn.org
>
> --
> >>>>>>>>>> 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.
>

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