[erlang-questions] An elegant implementation of multi pollset for Erlang VM
Thu Feb 18 13:44:47 CET 2016
very nice! good work!
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?
On Thu, Feb 18, 2016 at 7:47 AM, max_feng <> wrote:
> 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
> In order to make full use of multi-core in Eralng network programming, we
> develop gen_socket module.
> The gen_socket creates multi pollset for Erlang VM without changing erts
> 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
> The gen_socket is completely compatible with gen_tcp interface, and very
> easily deployed. Just git clone and make it.
> For details please refer to project link.
> Max Feng
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions