Re: Closing TCP/SSL connexion or let the VM close it

Frank Muller <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <CAFA6GnALuKuwxQQ0Nzgjq7HqRQ8GVgvXCJE89H0r=khgNGSwxw@mail.gmail.com>
Thanks Guilherme.
Anyone else?

N.B: I’m having troubles to reach this mailinglist. It’s said mailmain
can’t find module gd

/Frank

Thur . 17 Dec. 2020 19:38, Guilherme Andrade <[email protected]> wrote  :

> Hello Frank,
>
> AFAIK, the only difference is that, when letting the VM take care of it,
> monitors will be triggered and delivered to the connection owners (whether
> SSL processes or TCP ports.)
>
> What kind of impact that will have on performance is unknown to me - I
> suppose only measurements could tell.
>
> (Unless you're explicitly `gen_tcp:shutdown`ing or `ssl:shutdown`ing your
> connections in order to try and flush the send buffers - in that case, I
> expect there will be a difference.)
>
> On Tue, 15 Dec 2020 at 07:14, Frank Muller <[email protected]>
> wrote:
>
>> Hi guys,
>>
>> I’m wondering if my processes should explicitly close the TCP/SSL
>> connexion they hold before exiting or should they let the VM handles that?
>> Does it make any difference?
>>
>> I’ve a bunch a processes in my app (around ~15K per at any even time).
>>
>> /Frank
>>
>
>
> --
> Guilherme
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.