Node.js and what it does…{1}

by Chris S
There seems to be a lot of talk on the web about this Node.js software. The article I read states that Node.js is great in “routing a high volume of low-overhead requests.”, meaning its great for small web applications such as messaging services. What makes node.js unique is that most server-side developers are used to running multiple complicated processes at a single time, and if any one process fails, the others remain in unaffected. Node.js is not that at all, in fact, it is the opposite. Node.js is asynchronous  and event based, so it runs one process at a time based on the data that is has for each process. When it has the data it needs it runs the process as soon as possible and in the order that it receives it. This sounds like the application would run slow since it is only running one process at a time, however these processes are small and handled quickly. If a process takes too long to complete the servers CPU will be blocked and the application along with it. Node.js isn’t meant to handle larger processes anyway, there are other applications that can do that. Node.js is great at what it does and can be quick useful when used in the proper environment. I can see why there is talk on both positive and negative sides. The application was just released march 2 on this year so there are tons of uses for the application, developers just need to find them.


I found this article pretty interesting since we are currently working with and javascript in a web development course. Developers are constantly coming up with new technology both on the client side as well as the server side. What makes this Node.js application weird to me is that Node.js is client side code working on the server side and the only real advantage is that Node.js is good at handling short processes. I feel an application is worth more if it can handle multiple, larger processes. I still have some research to do on this new release of technology, but if there are developers out there that love it, then maybe it can be useful.


Source: by James Denman March 2, 2012