News for hackers. Stuff that matters.
Re:Debugging Node.js memory leaks by conorgil145 on Tuesday June 23, 2015 @03:48PM (#9767261)
Re:Debugging Node.js memory leaks by schmichael on Tuesday June 23, 2015 @04:05PM (#9767403)
Some great lessons in this post:

* open()/close() (in other words: resource management) are as likely to cause leaks as malloc()/free() (aka memory management)

* Single threaded code can have race conditions

* No single tool (debugger, heap profiler, logging, etc) will be a panacea for troubleshooting production

Re:Debugging Node.js memory leaks by daveidol on Tuesday June 23, 2015 @04:58PM (#9767744)
Great post- thanks for the writeup!

I would love to see a post detailing some best practices, or even comprehensive setup guides, for instrumenting a full Node.js service. So far most of the information I've seen is very limited in scope and specific to just one aspect of the bigger picture.