Node JS

Node JS

Node.js is a server-side platform built on Google Chrome's JavaScript Engine (V8 Engine). Node.js was developed by Ryan Dahl in 2009 and its latest version is v0.10.36.

Node.js is an open source, cross-platform runtime environment for developing server-side and networking applications. 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 also provides a rich library of various JavaScript modules which simplifies the development of web applications using Node.js to a great extent.

Features of Node.js

Following are some of the important features that make Node.js the first choice of software architects.

  • Asynchronous and Event Driven?? All APIs of Node.js library are asynchronous, that is, non-blocking. It essentially means a Node.js based server never waits for an API to return data. 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.
  • Very Fast?? Being built on Google Chrome's V8 JavaScript Engine, Node.js library is very fast in code execution.
  • Single Threaded but Highly Scalable?? Node.js uses a single threaded model with event looping. 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. Node.js uses a single threaded program and the same program can provide service to a much larger number of requests than traditional servers like Apache HTTP Server.
  • No Buffering?? Node.js applications never buffer any data. These applications simply output the data in chunks.
  • License?? Node.js is released under the?MIT license.

When Node.js performs an I/O operation, like reading from the network, accessing a database or the filesystem, instead of blocking the thread and wasting CPU cycles waiting, Node.js will resume the operations when the response comes back.

When Node.js performs an I/O operation, like reading from the network, accessing a database or the filesystem, instead of blocking the thread and wasting CPU cycles waiting, Node.js will resume the operations when the response comes back.

要查看或添加评论,请登录

Dipti Goyal的更多文章

  • ML OPS

    ML OPS

    Machine learning operations (MLOps) is a set of practices that automate and streamline the machine learning (ML)…

  • Apriori Algorthims

    Apriori Algorthims

    The Apriori algorithm is a machine learning algorithm to identify relationships between items by identifying frequent…

  • Epic Clarity

    Epic Clarity

    Epic Clarity is a reporting database based on an SQL database management system built to help healthcare organizations…

  • Srum Master

    Srum Master

    A Scrum master is the facilitator of scrum, a lightweight agile framework focusing on time-boxed iterations called…

  • JavaScript

    JavaScript

    JavaScript is a programming language that adds interactivity to web pages. It's used to make web applications more…

  • Express Js

    Express Js

    Express.js is a small framework that works on top of Node.

  • Model Implementation

    Model Implementation

    Model implementation can refer to the process of translating an abstract model into computer code, or the process of…

  • Markov Chain

    Markov Chain

    A Markov chain or Markov process is a stochastic process describing a sequence of possible events in which the…

  • Operational Risk

    Operational Risk

    Operational risk is the possibility of loss due to internal or external factors that disrupt an organization's…

  • Cohort Analysis

    Cohort Analysis

    Cohort analysis is a behavioral analytics technique that groups users with shared characteristics and analyzes their…

社区洞察

其他会员也浏览了