[erlang-questions] How does running nodes() on host knows about all connected nodes?
Tue Jan 20 15:17:22 CET 2015
> 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 n*(n-1)/2
More information about the erlang-questions