<div dir="ltr">very nice! good work!<div><br></div><div>A question though; one of the reasons why doing this within erts is difficult is because after a process sets a socket from active to passive no messages should arrive from the socket. Does you solution handle this problem? If so how?</div><div><br></div><div>Lukas<br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 18, 2016 at 7:47 AM, max_feng <span dir="ltr"><<a href="mailto:max.feng.bao@gmail.com" target="_blank">max.feng.bao@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Erlang VM has only one PollSet in the same time, which is not scalable, especially with a rapid growth of NIC bandwidth and CPU cores on one single machine.</div><div><br></div><div>In order to make full use of multi-core in Eralng network programming, we develop gen_socket module.</div><div>The gen_socket creates multi pollset for Erlang VM without changing erts code!</div><div><br></div><div>The gen_socket already has been deployed in production env, and increases throughput of echo server by 110% on a 24-core, 1000Mb/s machine based on redhat6.2.</div><div><br></div><div>The gen_socket is completely compatible with gen_tcp interface, and very easily deployed. Just git clone and make it.</div><div><br></div><div>For details please refer to project link.</div><div><br></div><div><a href="https://github.com/max-feng/erlang_multi_pollset" target="_blank">https://github.com/max-feng/erlang_multi_pollset</a></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Max Feng</div></font></span></div>
<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" rel="noreferrer" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div></div></div>