[erlang-questions] sync gproc table with a slave server
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
On Dec 18, 2014 7:48 PM, "pablo platt" <> wrote:
> 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?
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions