[erlang-questions] C nodes and message sending slowness
Sverker Eriksson
sverker.eriksson@REDACTED
Wed Apr 18 13:29:44 CEST 2018
In OTP-21 node distribution auto-connect will be truly asynchronous,
which means your example will complete in microseconds.
You can test it out on master branch.
/Sverker, Erlang/OTP
On tis, 2018-04-17 at 16:46 -0700, David Welton wrote:
> Hi,
>
> I've been looking at the system I'm working on to see how things will
> look if the C node is down:
>
> timer:tc(fun() -> {any, 'cnode@REDACTED'} ! {level, 50} end).
>
> It takes something like 7 seconds! This shouldn't happen often, but
> it'd be nice if it didn't gum everything up. I guess it's easy
> enough
> to wrap that in a spawn, but it just seemed a bit odd.
>
> Thanks
More information about the erlang-questions
mailing list