[erlang-questions] Future plans for "async socket accept"?

Loïc Hoguin essen@REDACTED
Mon Jun 4 17:38:03 CEST 2018


Hello,

There is an undocumented method that allows users to accept new 
connections asynchronously (prim_inet:async_accept then a few extra 
calls after receiving the socket). This has been used by many people in 
the past and we're going to look into using it for Ranch/Cowboy.

I wonder if it will remain in some form once the network code is moved 
to use NIFs/dirty schedulers?

Thanks,

-- 
Loïc Hoguin
https://ninenines.eu



More information about the erlang-questions mailing list