[erlang-questions] distributed gproc and gen_leader

wde@REDACTED wde@REDACTED
Tue Oct 6 12:11:44 CEST 2015


Le 10/05/2015 09:20 PM, Josh Adams a écrit :
> I'm interested in using gproc in distributed mode, and it's not
> immediately clear to me what the 'right' gen_leader implementation to
> use is.  Right now I'm using Torben Hoffman's, but I was hopeful there
> would be a nice document someone has written up regarding pros/cons of
> various implementations, ideally with a suggestion for which to use in
> the general case.
>
> Is anyone aware of such a document?  Failing that, can anyone share
> anecdotes regarding how I might choose a gen_leader implementation, or
> whether or not distributed gproc is something I should base a
> distributed system around?  Really just using it for global process
> registry, and also taking advantage of the properties to provide a
> simple ad-hoc 'database query' style for finding processes that are
> fit for various purposes within the system.
>
> Thanks in advance,
>

I have used the following module as leader election system : 
https://github.com/ngmoco/gl_async_bully

regards,




More information about the erlang-questions mailing list