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:
- 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