<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Miles,<div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>I would go with: <i class="">because someone needed it at some point. </i>And now if you need it, too… you don’t have to reinvent it now.</div><div class=""><span class="Apple-tab-span" style="white-space:pre">       </span>And to be super-precise (and a bit pedantic, I know): RPC is not <i class="">in Erlang </i>(i.e. in the VM), it comes (and is implemented using) OTP. In other words: it’s a tool built with the language, it’s not a part of the language like the basic architecture of message-passing concurrency.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">   </span>Cheers!<br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: 'Trebuchet MS'; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class=""><span id="docs-internal-guid-e691a4cc-056a-0210-b8b7-ea8d87d888ad" class=""><span style="font-size: 11pt; font-family: Arial; font-weight: 700; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;" class=""><br class="Apple-interchange-newline"><hr class=""></span></span><div class=""><b class=""><i class=""><a href="http://about.me/elbrujohalcon" class="">Brujo Benavides</a></i></b></div></div></div><div style="color: rgb(0, 0, 0); font-family: 'Trebuchet MS'; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><b class=""><br class=""></b></div><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Oct 5, 2017, at 14:50, Miles Fidelman <<a href="mailto:mfidelman@meetinghouse.net" class="">mfidelman@meetinghouse.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
  
  <div bgcolor="#FFFFFF" text="#000000" class=""><p class="">I guess an obvious question is why does Erlang have an RPC
      mechanism at all?  It's so at odds with the basic architecture of
      message-passing concurrency.</p><p class="">Miles Fidelman<br class="">
    </p>
    <br class="">
    <div class="moz-cite-prefix">On 10/5/17 3:02 AM, Brujo Benavides
      wrote:<br class="">
    </div>
    <blockquote type="cite" cite="mid:CA+yhPj5kEYh50c--DQG=2R6vFG9Xtxqs_EWy1NDP67KX7xZ2uQ@mail.gmail.com" class="">Only
      for io, AFAIK.<br class="">
      <div class="gmail_quote">
        <div dir="ltr" class="">On Thu, 5 Oct 2017 at 01:51 Arun <<a href="mailto:arunp@utl.in" moz-do-not-send="true" class="">arunp@utl.in</a>>
          wrote:<br class="">
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000" class=""><p class="">Hi Brujo,</p><p class="">Thanks for the information, but i have one more doubt; is
              this behavior only for io:format function calls or the
              execution of the entire function also will be happening in
              the host node.</p>
            Regards,<br class="">
            Arun P.</div>
          <div bgcolor="#FFFFFF" text="#000000" class=""><br class="">
            <br class="">
            <div class="m_1004515118451015374moz-cite-prefix">On Tuesday
              03 October 2017 06:50 PM, Brujo Benavides wrote:<br class="">
            </div>
            <blockquote type="cite" class=""> Hi Arun,
              <div class=""><br class="">
              </div>
              <div class="">That’s <i class="">intended</i>. It happens because of how
                Erlang redirects all IO through the process
                group_leader.</div>
              <div class=""><a href="https://stackoverflow.com/questions/12491607/remote-nodes-group-leaders-and-printouts" target="_blank" moz-do-not-send="true" class="">This</a> is the
                best explanatory link I could find googling quickly.</div>
              <div class="">Hope it helps.</div>
              <div class="">
                <div class="">
                  <div style="" class="">
                    <div class=""><span id="m_1004515118451015374docs-internal-guid-e691a4cc-056a-0210-b8b7-ea8d87d888ad" class=""><span style="font-size:11pt;font-family:Arial;font-weight:700;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap" class="">
<hr class=""></span></span>
                      <div class=""><b class=""><i class=""><a href="http://about.me/elbrujohalcon" target="_blank" moz-do-not-send="true" class="">Brujo
                              Benavides</a></i></b></div>
                    </div>
                  </div>
                  <div style="" class=""><b class=""></b></div>
                </div>
                <div class="">
                  <blockquote type="cite" class="">
                    <div class="">On Oct 3, 2017, at 10:10, Arun <<a href="mailto:arunp@utl.in" target="_blank" moz-do-not-send="true" class="">arunp@utl.in</a>>
                      wrote:</div>
                    <div class="">
                      <div class="">Hi all,
                        I have two distributed applications running on
                        two different nodes. And from one node I tried
                        to call the function on the remote node by doing
                        RPC, and its been observed that all the debug
                        prints given in the application running on the
                        remote node is getting printed on the host
                        node's console.
                        Can somebody please tell me in detail why this
                        is happening and how the RPC in erlang works. ?
                        Thanks in advance.
                        Arun P.
                        _______________________________________________
                        erlang-questions mailing list
                        <a href="mailto:erlang-questions@erlang.org" target="_blank" moz-do-not-send="true" class="">erlang-questions@erlang.org</a>
                        <a class="m_1004515118451015374moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank" moz-do-not-send="true">http://erlang.org/mailman/listinfo/erlang-questions</a>
                      </div>
                    </div>
                  </blockquote>
                </div>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
      <div dir="ltr" class="">-- <br class="">
      </div>
      <div class="gmail_signature" data-smartmail="gmail_signature">
        <div dir="ltr" class="">elbrujohalcon @ iPhone</div>
      </div>
      <br class="">
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br class="">
      <pre wrap="" class="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
    </blockquote>
    <br class="">
    <pre class="moz-signature" cols="72">-- 
In theory, there is no difference between theory and practice.
In practice, there is.  .... Yogi Berra</pre>
  </div>

_______________________________________________<br class="">erlang-questions mailing list<br class=""><a href="mailto:erlang-questions@erlang.org" class="">erlang-questions@erlang.org</a><br class="">http://erlang.org/mailman/listinfo/erlang-questions<br class=""></div></blockquote></div><br class=""></div></body></html>