[erlang-questions] Distributed Process Registry
Loïc Hoguin
essen@REDACTED
Sun Feb 8 22:41:25 CET 2015
On 02/08/2015 10:10 PM, Michael Truog wrote:
>> Is there any reason why using these process groups be beneficial in my
>> use case?
> The main reason is that you avoid the need to resolve state conflicts
> when global state gets merged after a netsplit. With pg2 and cpg, all
> the state relevant to the local node is stored locally and remote state
> gets merged as nodes are added. When a node dies, its pids are removed,
> as expected, but there is no need for centralized global state.
I'm curious.
When a node connects it sends its state to all the nodes it connects to?
And when a process group gets registered it sends this info to all the
nodes?
--
Loïc Hoguin
http://ninenines.eu
More information about the erlang-questions
mailing list