Erlang clusters

前端 未结 5 1970
栀梦
栀梦 2021-02-05 10:31

I\'m trying to implement a cluster using Erlang as the glue that holds it all together. I like the idea that it creates a fully connected graph of nodes, but upon reading differ

5条回答
  •  有刺的猬
    2021-02-05 10:47

    The distribution protocol is about providing robustness, not scalability. What you want to do is to group your cluster into smaller areas and then use connections, which are not distribution in Erlang but in, say, TCP sessions. You could run 5 groups of 10 machines each. This means the 10 machines have seamless Pid distribution: you can call a pid on another machine. But distributing to another group means you can't seamlessly address the group like that.

    You generally want some kind of "route reflection" as in BGP.

提交回复
热议问题