<div dir="ltr">Ok, can these other protocols handle the cookie authentication? I'm not very familiar with them. And let's not forget that "old" nodes need to work with this.<div><br></div><div>For the record, I'm not a fan of epmd either, but it might be tricky to replace.<br><div><br></div><div>regards,</div><div>Vlad</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 9, 2015 at 11:42 AM, Benoit Chesneau <span dir="ltr"><<a href="mailto:bchesneau@gmail.com" target="_blank">bchesneau@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><br><div class="gmail_quote"><span class=""><div dir="ltr">On Wed, Dec 9, 2015 at 11:36 AM Vlad Dumitrescu <<a href="mailto:vladdu55@gmail.com" target="_blank">vladdu55@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Geoff,<div><br></div><div>How would you know which port where each erlang node listens on? With epmd, the node publishes the port to the daemon and the peers need not know it. It feels to me that a central registry is still needed, or each node would have to run its own copy somehow. The latter might work relatively easy for regular nodes, but we also have C and Java nodes...</div><div><br></div><div>regards,</div><div>Vlad</div><div><br></div></div></blockquote><div><br></div></span><div>Exposing the rpc port could be done using any GOSSIP method, TCP/UDP multicast or broadcast, mdns, ... </div><div><br></div><div>Imo making EPMD optional is a good idea. It would also allows to improve out-of-band messaging using tools like gen_rpc.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>- benoit</div></font></span><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 9, 2015 at 12:57 AM, Geoff Cant <span dir="ltr"><<a href="mailto:nem@erlang.geek.nz" target="_blank">nem@erlang.geek.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all, I find EPMD to be a regular frustration when deploying and operating Erlang systems. EPMD is a separate service that needs to be running for Erlang distribution to work properly, and usually (in systems that don’t use distribution for their main function) it's not set up right, and you only notice in production because the only time you use for distribution is to get a remote shell (over localhost). (Maybe I’m just bad at doing this, but I do it a lot)<br>
<br>
Erlang node names already encode host information — ‘descriptive_name@hostname’. If we include the erlang distribution listen port too, that would remove the need for EPMD. For example: ‘descriptive_name@hostname:distribution_port’. Node names using this scheme would skip the EPMD step, otherwise erlang distribution would fall back to the current system.<br>
<br>
<br>
My questions for the list are:<br>
* Are you annoyed by epmd too?<br>
* Do you think this idea is worth me writing up into an EEP or writing a pull request?<br>
* Do you think this idea is unworkable for some reason I’m overlooking?<br>
<br>
Thanks,<br>
-Geoff<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br></div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></span></div></div>
</blockquote></div><br></div>