Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document best practice to eliminate handles #44

Open
MartinMuzatko opened this issue Dec 14, 2018 · 0 comments
Open

Document best practice to eliminate handles #44

MartinMuzatko opened this issue Dec 14, 2018 · 0 comments

Comments

@MartinMuzatko
Copy link

Hey there! First of all, thank you a lot for this nice tool - this really shows how the internals of node keep the process alive.

I would love to know what exactly is the "best practice" in terms of closing handles.

I see there are TLSWRAP, DNSCHANNEL, HTTPPARSER and TCPWRAP open because I'm fetching data and open db connection.. So for a long-running process, that is ok, but what is the best practice to clean up? Does it hurt performance-wise to keep these handles open? I would think so.
But I have no idea how to stop them. A little bit of documentation how to deal with these would be very nice. Or at least a link to a guide :)

Thank you so much in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant