<div dir="ltr"><font face="verdana, sans-serif">So when to use rpc:call and when to send a message by RemotePID ! {call, procedure}? Is there any general guidelines?</font><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif">There was these long standing debate over this <a href="http://armstrongonsoftware.blogspot.in/2008/05/road-we-didnt-go-down.html">http://armstrongonsoftware.blogspot.in/2008/05/road-we-didnt-go-down.html</a>; </font><span style="font-family:verdana,sans-serif"> </span></div><div><div><font face="verdana, sans-serif"><br></font></div><div><font face="verdana, sans-serif"><br></font></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 6, 2017 at 8:17 PM, zxq9 <span dir="ltr"><<a href="mailto:zxq9@zxq9.com" target="_blank">zxq9@zxq9.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2017年10月06日 金曜日 10:43:48 Roger Lipscombe wrote:<br>
> On 6 October 2017 at 03:37, zxq9 <<a href="mailto:zxq9@zxq9.com">zxq9@zxq9.com</a>> wrote:<br>
> > Thinking that the rpc module is specially useful for tests, CLI<br>
> > wrappers, or when you want to execute commands on a remote node (from<br>
> > a script or otherwise) is a bit of an odd conclusion to draw, given<br>
> > the way that the even-arity spawn_* functions work.<br>
><br>
> On occasion, we've needed to (e.g.) tweak application settings in a<br>
> remote node, at runtime, during system tests, synchronously. Sure, I<br>
> could do that with spawn_*, but that's a lot of plumbing I'd need to<br>
> write. Hey, look: someone already did; it's in the rpc module.<br>
<br>
</span>Sure. I'm not disagreeing with that.<br>
<br>
I'm disagreeing with the false notion that this is what "remote<br>
procedure call" actually means.<br>
<br>
-Craig<br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" rel="noreferrer" target="_blank">http://erlang.org/mailman/<wbr>listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br></div>