Node js Introduction
Node.js is based on an event-driven architecture and a non-blocking Input/Output API that is designed to optimize an application’s throughput and scalability for real-time web applications.
Features of Node.js
Let’s look at some of the key features of Node.js
- Asynchronous event driven IO helps concurrent request handling — This is probably the biggest selling points of Node.js. This feature basically means that if a request is received by Node for some Input/Output operation, it will execute the operation in the background and continue with processing other requests.
- Handling of concurrent requests
Disadvantages of Node.JS:
- Single Threaded
- Lack of Maturity
- Hard to make things fault oriented: In JAVA script there are no mechanisms to resolve the errors.
Setup Node.js Development Environment:
Tools/SDK are required for developing a Node.js application on any platform :
- Node Package Manager (NPM)
- IDE (Integrated Development Environment) or TextEditor