But the question is why it is popular and acceptable as a wise thing to use by the developers. I’m giving 6 reasons behind its popularity and why should choose Node.js
- It is lightweight Node.js uses an event-driven architecture which means everything done on it, every single call and operation, is a chain of asynchronous callbacks. This allows Node.js to run on a single thread. It is different to other traditional web technologies, which spawn a new thread per-client request. This is the very foundation of the non-blocking I/O nature you may have heard that is Node.js’ main feature.
- Built-in support for object databases It is really common for Node.js applications to use object databases such as MongoDB. MongoDB, contrary to traditional SQL databases, it uses a document-based model instead of a relational model; this means that instead of tables, it uses objects resembling JSON. Just the right answer for ORM fans.
- Can be hosted almost anywhere Several web servers (no matter the hosting plan you opt for, either shared, dedicated or VPS) and cloud-based hosting providers support hosting of Node.js web applications out-of-the-box. To mention a couple: Google, Microsoft IIS, Heroku, Microsoft Azure, Amazon (AWS), and a bunch others.