In this tutorial you will learn about the Nodejs Features and its application with practical example.
Node.js operates on a single thread using an event looping mechanism, where a main thread put requests onto the event loop and process them, effectively to achieve high level of concurrency without having to assign additional threads.
Highly Scalable: Single threaded event looping mechanism makes Node.js highly scalable as compared to traditional servers which allocate limited number of threads to handle requests.
Non-blocking Event Driven I/O:
In Node.js, I/O intensive operations are performed asynchronously. Node.js uses a event driven non-blocking I/O API in order to execute the I/O operations. In non-blocking environment I/O operations are executed in parallel instead of one by one, here callbacks are used to signal completion.
Real Time Data Streaming:
In Node.js data never buffer, it allows real-time data streaming and proxying between different data sources.
APIs for Object DBs:
In-built Package Management:
Node.js comes with an inbuilt Package Manager known as NPM (Node Package Manager). It is used to install, organize and manage third-party Node.js programs and dependencies.
Industry and Community Driven:
Node.js is supported by a huge, diverse, active and rapidly growing community of developers around the world. Node.js community helps to keep the framework always up-to-date. Key updates are always available and it is easy to get help or support from community members.
Node.js encourages sharing using the inbuilt Node Package Manager (NPM). It allows developers to easily update, share or reuse modules/codes. Node.js open source community has produced many useful modules that add extra capabilities to Node.js applications. NPM repository of over 50,000 packages helps developers to create full featured Node.js applications.