[erlang-questions] gen_leader usage/pointers
Thu Sep 23 03:25:13 CEST 2010
If you're planning to use gen_leader you definitely want to use my fork
which contains many bug fixes and some new features like dynamic addition of
candidate nodes. The code is at:
I'm working on a test suite for it which I'm going to release soon, and I'll
probably write some doc too.
Here are some examples of gen_leader usage:
Let me know if you have more questions.
On Wed, Sep 22, 2010 at 7:15 PM, Juan Jose Comellas <juanjo@REDACTED>wrote:
> Can anyone who's ever used or (even better!) written one of the many
> gen_leader incarnations point me to some documentation/examples on how to
> use it? I have a scenario where I have to keep a master process (to be
> chosen randomly or according to load) with slaves that takeover when the
> master goes down. I'm not sure if gen_leader is the correct solution, as
> master communicates to an external service and there will be more than one.
> Both the master and the slave have open sockets to the external service and
> the slave socket is "activated" as soon as the master goes down.
> I'd appreciate any pointers anybody might give me.
More information about the erlang-questions