Hello Friends, In this tutorial, I am going to introduce you about Node.Js Library. Node.Js is an open source runtime environment for building Network and I/O intensive web application. Node.js is built on Chrome’s V8 JavaScript engine. It is free to use

After completing this tutorial you will be able to understand:

  • What is Node.Js?
  • Features of Node.Js.
  • Where to use Node.Js
  • Components of Node.Js.

Introduction:

Node.Js is an open source runtime environment for building Network and I/O intensive web application.

Node.js is built on Chrome’s V8 JavaScript engine. It is free to use and can be downloaded from https://nodejs.org/en/. Node.Js is written in javascript.

The official definition for Node Js is as follow:

“?Node.js is a platform built on Chrome’s JavaScript runtime for easily building fast and scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.?”

Components of Node.Js:

Node.Js  has following components:

Node

Features of Node.Js:

Node.Js provides following features:

1- Extremely fast:

Node.js is built on Google Chrome’s V8 JavaScript Engine, so its library is very fast in code execution.

2- I/O is Asynchronous and Event Driven:

All APIs of Node.js library is asynchronous i.e. non-blocking. So a Node.js based server never waits for an API to return data. The server moves to the next API after calling it and a notification mechanism of Events of Node.js helps the server to get a response from the previous API call. It is also a reason that it is very fast.

3- Single threaded:

Node.js follows a single threaded model with event looping.

4- Highly Scalable:

Node.js is highly scalable because event mechanism helps the server to respond in a non-blocking way.

5- No buffering:

Node.js eliminates the processing time while uploading audio and video files. Node.js applications never buffer any data. These applications simply output the data in chunks.

6- Open source:

Node.js has an open source community which has produced many excellent modules to add additional capabilities to Node.js applications.

7- License:

Node.js is released under the MIT license.

Where to use Node.Js?

  • I/O bound Applications.
  • Data Streaming Applications.
  • Data Intensive Real-time Applications (DIRT).
  • JSON APIs based Applications.
  • Single Page Applications.

Conclusion:

Hope this tutorial will help you to understand What exactly is Node.Js and where to use Node.Js library. I will appreciate your feedback, comments and Suggestions.

View More:

 

Thank You.

Leave a Comment