NodeJS: An Overview

0
5

Node.js is a lean, fast server-side platform which is built on Google Chrome’s JavaScript Engine. It was written by Ryan Dahl in 2009 and its latest version available is v0.10.36. The meaning as supplied by its official documentation is as follows.

It is a podium built on Chrome’s JavaScript runtime with a motive of easy building of fast and scalable network applications. It adopts an event-driven, non-blocking I/O model which makes it lightweight and efficient, and also perfect for data-intensive real-time applications run across different distributed devices.

It is described as a JavaScript runtime environment which is both cross-platform and open – source. It useful for both servers and desktop applications.The applications are written using JavaScript, and they can run within the Node.js runtime on the following OS X, Microsoft Windows, and Linux.

It also presents a well-equipped library of various JavaScript modules that simplify the development of web applications using the platform to a great extent.

Features of Node.js are as follows:

Non Blocking and focus is on the Event − All API’s of Node.js library are asynchronous, i.e. they are non-blocking. It originally means a Node.js based server will never wait for an API to return the data. The server then moves over to the next API after calling it. It then using notification mechanism of Events of this platform helps the server to get a response from the previous API call.

Very Fast – Since this platform is fabricated on Google Chrome’s V8 JavaScript Engine, its library is very fast in code execution.

Even though it is Single Threaded yet it is Highly Scalable − This platform utilizes a single threaded model along with event looping. Event mechanism aids the server to reciprocate in a non-blocking way and also makes the server highly scalable averse to the traditional servers which used to create limited threads to handle the requests. It utilizes a program which is single threaded and can arrange service to a much bigger number of requests in comparison to the traditional servers like Apache HTTP Server.

No Buffering – The applications of this platform never buffers any data. These applications simply provide output to the data in chunks.

License – The license for Node.js was released under the MIT license.

This platform is used by the following Companies in its operations follows: eBay, General Electric, GoDaddy, Microsoft, PayPal, Uber, Wikipins, Yahoo!, and Yammer to name a few.

Following are the area in which Node.js is proves itself as an ideal technological partner.

• Adopts I/O bound Applications

• Data Streaming Applications

• Data Intensive Real-time Applications (DIRT)

• JSON APIs based Applications

• Single Page Applications

Source

Leave a Reply