Is Node.js for Windows ready to go?

Disclaimer: There was a previous question . Since he was asked a few months ago before the new Node.js was released, I ask him again.

I heard that Microsoft has joined the Node.js guys and they are actively working together. I also created a sample script in Node.js for my upcoming application that works fine on my Windows.

Now I have two questions:

  • Node.js scripts work fine on all Windows platforms? My application will be downloaded by many users in a Windows window. Did I choose the right technology like Node.js for production use?

  • Is there a way to prevent users from accessing raw JS code?

+8
windows
source share
2 answers

Node.js is highly dependent on asynchronous dispatching (file system) of events. Since there is an obvious difference between the architecture in Unix (Linux / OSX / etc.) and Windows, up to node.js 0.4.x, the Windows version used emulation methods to emulate the event mechanism used by Unix. The real power of node.js was lost on this, because scaling performance was worse than on Unix based systems.

As of node.js 0.6.x (0.5.x was an unstable branch), the Windows branch node.js uses its own IOCP, which offers similar performance. In addition, Microsoft adopted node.js as its own module for IIS with iisnode since version 0.6.x. Gives me a pretty solid feel on node.js for Windows, but I don't know of any major product that launches it at this point.

+3
source share

I am currently running several of my Node.js sites on Windows servers using iisnode . I prefer this setting for the Ubuntu host I had before.

As long as you don't need compiled modules (the jsdom dependency on contextualization comes to mind), Node.exe works well. One of the sites that I switched to iisnode, and Node.exe, was a complete Express website with lots of cross-platform breaking capabilities, but it worked identically with only two lines modified to work with iisnode.

My opinion is this: yes, Node 0.6.x is just as ready for production on Windows as it is on Linux and OS X.

+2
source share

All Articles