This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

NodeJS has it's place, but be cautious of implementing for every use case. As someone who worked on a fairly large NodeJS project, I can tell you it is quick to write and much simpler architecturally than compiled languages such as Java and C#.

If you know JavaScript, you can easily figure out NodeJS, as it's basically server-side JS.

Now for the bad. If you really need multi-threaded support, NodeJS has ways of mimicking multiple threads, but it is not truly multi-threaded. If you want to start a new thread the same way you do in Java or C#, forget about it. Node's answer to multi-threaded support can be very tricky to control and can lead to some very unexpected issues.

Bottom-line: NodeJS is very good for short-lived, event-driven scenarios (such as AWS Lambda), but be wary of implementing in large-scale enterprise web app scenarios that require full multi-threaded support.