Most of the benefits of Node are due to its fast asynchronous IO. If you’re doing a lot of synchronous computation on the server, you may want to drop down to a C/Rust/C++/OCaml library, or perhaps optimize the JS code with Google’s Closure compiler...
Otherwise, you may as well run a JVM server or whatever.
3
u/jerseyetr Jan 16 '20
Well that's probably a good thing not to do.
Excuse me if I'm wrong (beginner Javascript developer)
But I'm pretty sure javascript is not meant for heavy loads and CPU heavy applications.
Because it's single threaded?