<div dir="ltr">Hello!<div><br></div><div>Have you tried to use:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"># erl ... inet_default_connect_options '[{delay_send, true}]' inet_default_listen_options '[{delay_send, true}]'</div>
<div class="gmail_extra"><br></div></div><div class="gmail_extra">?</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-19 16:59 GMT+04:00 Jihyun Yu <span dir="ltr"><<a href="mailto:yjh0502@gmail.com" target="_blank">yjh0502@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
There is a prior discusson[1] about inter-node communication bottleneck,<br>
and I experienced same issue on inter-node messaging. I dig into the<br>
issue and it found that there is a lock on inter-node messaging[2] which<br>
causes bottleneck on sending messages to single node. With simple<br>
experiment, I found that there is a limitation on number of messages per<br>
second, not bandwidth. 1Gbps link could be easily satuated by messaging<br>
betweeen two erlang nodes if message size is large enough, e.g. 4KB<br>
binary message. However if message is small, e.g. single integer term,<br>
number of messages per seconds is limited about 200~300k/sec.<br>
<br>
Is there any effort to solve the problem? In fact the problem could be<br>
solved by using external channel like multiple TCP connection pool for<br>
rpc, but I believe using erlang messaging keeps code much simpler.<br>
Actually for me the problem is quite embrassing, because I thought<br>
scalable messaging is a key feature and strength of Erlang.<br>
<br>
<br>
[1] <a href="http://erlang.org/pipermail/erlang-questions/2013-December/076232.html" target="_blank">http://erlang.org/pipermail/erlang-questions/2013-December/076232.html</a><br>
[2] <a href="https://github.com/erlang/otp/blob/OTP-17.1/erts/emulator/beam/dist.c#L1768-L1826" target="_blank">https://github.com/erlang/otp/blob/OTP-17.1/erts/emulator/beam/dist.c#L1768-L1826</a><br>
_______________________________________________<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" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Петровский Александр / Alexander Petrovsky,<br><br>Skype: askjuise<br><div>Phone: +7 914 8 820 815<div><br></div></div></div>
</div></div>