[erlang-questions] exec-port crashing

Michael Truog mjtruog@REDACTED
Thu Dec 3 08:19:49 CET 2015


On 12/02/2015 10:20 PM, Max Lapshin wrote:
>
> Sergey, have you compared TCP localhost vs stdin/stdout pipe?
> Throughput and latency.
>
TCP on localhost should be better due to the atomic send
being limited by the MTU on the localhost interface
which is normally 16436 on Linux, when compared to the
atomic send on a pipe being limited by PIPE_BUF which
is normally 4096.  There is a definite improvement
when using UNIX domain sockets instead of INET domain
sockets, so hopefully
https://github.com/erlang/otp/pull/612 will make its
way in sometime.



More information about the erlang-questions mailing list