[erlang-questions] How RPC works in erlang ?
Alexandre Karpov
alexakarpov@REDACTED
Wed Oct 4 21:19:08 CEST 2017
Thank Brujo for the answer; and thanks, Arun, for the question - I was
thinking about asking the same; though I've already discovered the concepts
of group_leader and io redirection, I needed just the S/O answer from above
to settle the matter.
Cheers!
On Tue, Oct 3, 2017 at 9:20 AM, Brujo Benavides <elbrujohalcon@REDACTED>
wrote:
> Hi Arun,
>
> That’s *intended*. It happens because of how Erlang redirects all IO
> through the process group_leader.
> This
> <https://stackoverflow.com/questions/12491607/remote-nodes-group-leaders-and-printouts> is
> the best explanatory link I could find googling quickly.
> Hope it helps.
>
> ------------------------------
> *Brujo Benavides <http://about.me/elbrujohalcon>*
>
>
>
> On Oct 3, 2017, at 10:10, Arun <arunp@REDACTED> wrote:
>
> 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
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20171004/8bbe1bbd/attachment.htm>
More information about the erlang-questions
mailing list