[erlang-questions] Exometer, Recon and prim_inet:send/2?

Sergej Jurečko sergej.jurecko@REDACTED
Wed Oct 14 16:50:50 CEST 2015


Actually one can also use: inet_tcp:send(Sock,Data,[nosuspend]) which will return {error,busy} if it is unable to send immediately.


Sergej

From:  <erlang-questions-bounces@REDACTED> on behalf of Tobias Schlager
Date:  Monday 12 October 2015 at 17:14
To:  Ulf Wiger, Roberto Ostinelli
Cc:  erlang questions
Subject:  Re: [erlang-questions] Exometer, Recon and prim_inet:send/2?

Hi,

Graphite does also support UDP. Maybe that could be an option for you. Fire and forget might in this case be better than loading your system. Another possibility would be to automatically close the TCP session when the other end gets unresponsive using the send_timeout option.

Regards
Tobias

_______________________________________________ erlang-questions mailing list erlang-questions@REDACTED http://erlang.org/mailman/listinfo/erlang-questions 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151014/b339247d/attachment.htm>


More information about the erlang-questions mailing list