node.js and reasons to use it

node.js and reasons to use it

Node.js is a platform built on Chrome’s JavaScript runtime V8 for easily building fast, scalable network applications.

Node.js contains a built-in HTTP server library, making it possible to run a web server without the use of external software, such as Apache or Lighttpd, and allowing more control of how the web server works.

Node.js was created by Ryan Dahl starting in 2009.
Ryan Dahl was aiming to create real-time websites with push capability, “inspired by applications like Gmail”. In Node.js, he gave developers a tool for working in the non-blocking, event-driven I/O paradigm.

Node really shines is in building fast, scalable network applications, as it’s capable of handling a huge number of simultaneous connections with high throughput, which equates to high scalability.

Reasons to use NodeJS:

  • It runs Javascript, so you can use the same language on server and client, and even share some code between them (e.g. for form validation, or to render views at either end.)
  • The event-driven system is fast, compared to traditional Java when handling lots of requests at once.
  • The ever-growing pool of packages, most of which are conveniently hosted on github. Sometimes you can report an issue and find it fixed within hours! It’s nice to have everything under one roof, with standardized issue reporting and easy forking.
  • Seems rather suitable for agile development and rapid product iteration
  • Be able to do pure cloud based development Cloud9 IDE


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.