Features of Node.js
Features of Node.js
Below is the list of some of important features of Node.js which makes it the first choice of software architects.
(1)Extremely Fast:-Well Node.js is built on Google Chrome V8 JavaScript Engine, so the library is very fast when we say about the code execution.
(2)I/O is Asynchronous and Event Driven:-All of the APIs of Node.js library are asynchronous for example non-blocking. So the Node.js based server will never waits for retrun data from an API. The server then 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. And this is the most common reason of speed, so it is fast.
(3)Single Threaded:-Most useful features of Node.js is single thread, or we can say this will 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:-Well when we say about the Node.js this will cuts down the overall processing time while uploading audio and video files. Node.js applications will never buffer any data. And These applications simply output the data in chunks.
(6)Open source:-Well Node.js is open source community which has produced many excellent modules to add additional capabilities to Node.js applications.
(7)License:-Well when we say about the license it is released under the MIT license. | |