Pros- Node JS
Open Source – Node.js is open source, so it’s free to use and no need to pay for license. There are also many open
source modules supported by Node.js.
end which increase programmer productivity and code re-usability.
Scalable – You can scale your Node.js application by using two ways – Horizontal Scaling and Vertical Scaling,
which helps you to improve your application performance.
• In Horizontal scaling you can add more nodes to your existing system.
• In Vertical scaling you can add more resources to a single node.
Better Performance – It provides better performance, since Node.js I/O operations are non-blocking. Also, it uses
make it fast.
Caching Support – Node.js supports caching of modules. Hence, when a Node.js modules is requested first time,
it is cached into the application memory. So next calls for loading the same module may not cause the module
REST API Support – Using Node.js you can also develop RESTful services API easily.
Unit Testing – It supports unit testing out of box. You can use any JS unit testing frameworks like Jasmin to test your Node.js code.
Server Development – Node.js has some built-in API which help you to create different types of Server like HTTP Server, DNS Server, TCP Server etc.
Community Support – Node.js has a wide community of developers around the world. They are active in development of new modules or packages to support different types of applications development.
Cons – Node.js:
It doesn’t support multi-threaded programming.
Node is not good for executing synchronous and CPU intensive tasks.