[erlang-questions] How does running nodes() on host knows about all connected nodes?

Harit Himanshu <>
Mon Jan 19 18:10:55 CET 2015


Hi

I am new to this and I am totally surprised how this works

I have a server (gru) and 3 minions talking to gru. But none of the minions
ever talked to each other.

Still when I run nodes() on any of the minions tells me which other minions
are connected.

*Gru*

()7> nodes().

['','',

 '']

()8>

*minion1*

()6> nodes().

['','',

 '']

*minion2*

()2> nodes().

['','',

 '']

()3>

*minion3*

()2> nodes().

['','',

 '']

()3>



How does this process work? What's going on behind the scenes?

Thanks
+ Harit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150119/0aea54da/attachment.htm>


More information about the erlang-questions mailing list