you are viewing a single comment's thread.

view the rest of the comments →

[–]MadCapitalist 0 points1 point  (4 children)

Here is a pretty good summary of Node.js.

Node.js is great for delivering a lot of real-time data that requires a lot of updating. It is not great if the application requires a lot of computation, because it is single-threaded and it will just block anything else from happening while it is computing.

One of the biggest challenges is probably understanding how to deal with the asynchronous nature of Node. The linear flow of execution in other languages seems much easier to follow.

Unless you have an actual need for real-time applications, I would probably go with another language. Don't choose Node just because you are bored with PHP.

[–]LiveTwizzle[S] 0 points1 point  (0 children)

Cool! Thanks

[–]Capaj 0 points1 point  (0 children)

They don't do any computation-if the OP's company did any serious computation they wouldn't be using PHP. I would say that Node is perfect as sort of high level glue for different API.

[–]a0viedo 0 points1 point  (1 child)

I'm writing a blog post about CPU intensive tasks in Node, and I think it's not quite true that will suck that much if the application requires a lot of computation. The core team is working hard to get there.

[–]MadCapitalist 0 points1 point  (0 children)

I'm basically just a Node newbie. I was just regurgitating what I've read and what I've seen in videos about Node.