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

Roberto Ostinelli roberto.ostinelli@REDACTED
Thu Oct 15 14:16:13 CEST 2015


Thank you Sergej. 

I'm currently using the send_timeout gen_tcp option. 

Best,
r.

> On 14 ott 2015, at 16:50, Sergej Jurečko <sergej.jurecko@REDACTED> wrote:
> 
> 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/20151015/b19578e3/attachment.htm>


More information about the erlang-questions mailing list