[erlang-questions] sync gproc table with a slave server

Paul Peregud paulperegud@REDACTED
Fri Dec 19 23:47:31 CET 2014

Pablo, since you have not provided that much information, I'll suggest to
try to get away with calls to master node's gproc app instance via Erlang
distribution (erlang:rpc/3). You will avoid a can of worms.

Or you can try gproc global registration. I would suspect dragons in that
particular area.
On Dec 18, 2014 7:48 PM, "pablo platt" <pablo.platt@REDACTED> wrote:

> Hi,
> I'm using gproc to register user sessions.
> How can I sync the gproc ets table with a slave server?
> Is gen_leader an overkill when the same server will always be the master
> and I don't need master election?
> Can the slave be notified for any change in gproc so it will know when a
> user session added, removed or changed?
> Thanks
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141219/6dae0cc5/attachment.htm>

More information about the erlang-questions mailing list