Event mechanism helps the server to respond in a non-blocking way and makes the server highly scalable as opposed to traditional servers which create limited threads to handle requests. Single Threaded but Highly Scalable − Node.js uses a single threaded model with event looping.Very Fast − Being built on Google Chrome’s V8 JavaScript Engine, Node.js library is very fast in code execution.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 essentially means a Node.js based server never waits for an API to return data. Asynchronous and Event Driven − All APIs of Node.js library are asynchronous, that is, non-blocking.Node.js Featuresįollowing are some of the important features that make Node.js the first choice of software architects. Node.js applications are written in JavaScript, and can be run within the Node.js runtime on OS X, Microsoft Windows, and Linux. Node.js is an open source, cross-platform runtime environment for developing server-side and networking applications. Node.js was developed by Ryan Dahl in 2009 and its latest version is v0.10.36. Node.js is a server-side platform built on Google Chrome’s JavaScript Engine (V8 Engine). Configure Example Application using Express
0 Comments
Leave a Reply. |