[erlang-questions] How does running nodes() on host knows about all connected nodes?
Tue Jan 20 18:18:25 CET 2015
That is very interesting to learn. Thanks a lot for explaining this to me.
The follow up question then becomes, is it recommended to have such a mesh?
(because I read word problematic). How do people in general connect to
server? so they start with *-connect_all false* as mentioned?
On Tue, Jan 20, 2015 at 6:17 AM, Mihai Balea <mihai@REDACTED> wrote:
> > On Jan 20, 2015, at 9:03 AM, Mihai Balea <mihai@REDACTED> wrote:
> > When a node connects to another node in a running cluster, it gets a
> list of nodes already in the cluster. It then establishes connections to
> every one of them automatically. You end up with a fully connected mesh.
> That is the default behavior, and the reason why large erlang clusters
> become problematic (n*n connections). There are ways to override this
> behavior at a loss of some functionality.
> Just to be accurate, the number of connection is given by the formula
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions