-
Advantages & Disadvantages of Using Node JS
over 7 years ago
-
over 7 years ago
1. Not suited for CPU-intensive tasks
Node.js is not a GOD which improves the CPU performance in case of CPU intensive tasks. Look at your code how efficiently it has been written. Also, if you are creating a Server for CPU intensive tasks then mandate a high end hardware too.
2. Not effective with large scale applications
Use Redis and Socket.IO for multiple nodes (master & slave). You will see efficiency then.3. Inconsistent
Why to move to next version as soon as it is released. You should use the version at which you started your application unless you have to develop something out of the box.
4. Poorly supported to relational databases
Don't even mention this point in disadvantages, world has moved from websites/webApps to mobile apps and mobile platform. Who needs Relational DB Management Systems (MSSQL / MYSQL / Oracle etc.) now for a new application. Everyone is moving to NoSql DB's. -
-
over 7 years ago
1. Not suited for CPU-Intensive tasks :
That right. But since Node8 you have the new N-API that make writing/impleting C/C++ code very easy. So no real reason to not use NodeJS as a high level interface of your C Code.
2. Not effective with large scale applications.
Multi-threading architecture is not efficient for scale at all...
3. Inconsistent
The NodeJS API is stable since Node6. But ok, Node.JS is still pretty young ...
4. Poorly supported to relational databases
We are not fan... (poor performance, poor flexibility). A database like RethinkDB is a lot better. I think relational database have no future (have to be replaced by document database and graph database). -
2 Comment(s)