[erlang-questions] gen_sctp fail with EAGAIN, Is SCTP sockets non-blocking?

Ameretat Reith ameretat.reith@REDACTED
Thu Nov 5 17:34:29 CET 2015


Hi,

I get very poor throughput when using SCTP instead of TCP.  My program
simply asks another node his records in an ETS.  I narrowed problem,
removed pagination and tried to continuously send data to socket and
saw gen_sctp:send being failed with EAGAIN after some writes.

Does Erlang open sctp sockets asynchronously? Is there a way I can
change it?



More information about the erlang-questions mailing list