Yeah, using Death Watch is appropriate. One solution: if you use Akka
Cluster then it is easy to find the next master deterministially by just
scanning the membership list in order and using the first node that has an
appropriate role.


On Thu, Mar 20, 2014 at 7:39 PM, Jonas K <[email protected]> wrote:

>
>
> I'm looking at using the "Pull Pattern" (such as described at
> http://letitcrash.com/post/29044669086/balancing-workload-across-nodes-with-akka-2),
> with workers explicitly requesting work from a master. While the master
> handles worker failures by  rescheduling jobs, I'm wondering what are
> typical techniques used to handle master failures.
>
> For example, the workers could add the master to their DeathWatch, and
> then try to reregister if the master dies and restarts.
> Are there other, better approaches people use?
>
> _jonas
>
> --
> >>>>>>>>>> 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/d/optout.
>



-- 
Cheers,
√

*———————**Viktor Klang*
*Chief Architect - **Typesafe <http://www.typesafe.com/>*

Twitter: @viktorklang

-- 
>>>>>>>>>>      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/d/optout.

Reply via email to