Re:Why I’m Frustrated with Go
by jorangreef on Sunday July 23, 2017 @08:47AM
(#14832006)
The Node event loop (the control plane) is single threaded, but the data plane is multi-threaded, you can easily write C++ bindings to run in the thread pool to handle CPU intensive work.
[ Parent
| on HN ]
Re:Why I’m Frustrated with Go
by tannhaeuser on Sunday July 23, 2017 @09:54AM
(#14832260)
Speaking of Node in the context of error handling, what are current best practices in Node (other than running node-forever respawning)? Up to v0.12, Node used to have heuristic cleanup code for file handles and other resources on exception domain error handler execution, but the domain API has been deprecated for some time now ([1], [2]).
This is pretty informative on handling errors in node: https://www.joyent.com/node-js/production/design/errors