What is Node JS? It’s Advantages & Disadvantages…

Introduction

Node JS is a free and open-source, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript codes outside a web browser. It created with the aim of creating real-time websites with push capabilities by Ryan Dahl.

Node JS uses event-driven, non-blocking I/O model. It makes Node JS is lightweight and efficient. Node JS comes with several JavaScript libraries that helps basic programming. Also, the largest eco system in the world for open-source libraries is Node JS eco system which called node package manager (NPM).

Node JS is suitable for data-intensive real-time applications that run across distributed devices. Also, ideal for building fast and scalable network applications. Although, Node JS is not the best platform for CPU intensive heavy computational applications.

Node JS can handle a huge number of simultaneous connections. It has achieved over 1 million concurrent connections. For Each connection Node JS does not spawn new thread causing max out of memory instead handle all in single thread using non-blocking I/O model.

Node JS can be used for making I/O bound applications, Data streaming applications, Data intensive real-time applications, JSON APIs based applications, single page applications, and chatbots.

Some of Popular Companies Which Using Node JS

Advantages

· Easy to Learn — Node.js has no steep learning curve. Coding in Node.js is relatively easy to grasp, once you have mastered JavaScript and Object-Oriented Programming basics. It’s enough to start.

· Keeping things simple — easy sharing one language both on the server and client sides, and no necessity to switch between back-end and front-end.

· Faster time-to-market — Node.js is particularly helpful in making the time-to-market cycle shorter.

· Scalability — Node’s scalability is achieved by the load balancing and the capability to handle a huge number of concurrent connections. Moreover, Node’s apps support both vertical and horizontal scaling.

· Battle-tested old hand — number of companies using Node.js for their products has increased dramatically, and the giants like PayPal, Netflix and eBay have joined the hype.

· MVP Development — Node.js enables to quickly develop an MVP (minimum viable product) — a piece of software with just enough features (or a single killer feature) so that the product can go to the market and satisfy the first customers.

· Community — An active community means a lot of support and feedback.

Disadvantages

· Reduces performance when handling Heavy Computing Tasks.

· Heavy code changes due to Unstable API.

· Node.js Asynchronous Programming Model makes it difficult to maintain code.

· Lack of Library Support can Endanger your Code.

· High demand with a few Experienced Node.js Developers.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store