Node.Js Developers |
Goodness of Node.js
1. A single server can host 1,000,000 clients and all can be connected in a real time. The share is even the same as in the exact event loop, in the same exact process, on the same exact processor which means that they can all exchange messages, and more importantly, they can also share the same framework overhead and outsource blocking operations to worker thread. It indicates that node never blocks unless you are doing it wrong.
2. It is the strength of node that it runs faster in a single thread and it should not be seen as a weakness to do this way. To scale with node, you don’t do squat at all, and then you just toss a new server into the worker thread pool. If your database access is getting slower, you can toss a new server DB server in the pool. Node handles all BS.
4. It is as good as it can be and it is just a new trend. Node will naturally find its rightful place. It is great for Sockets and is not mature enough. It is part of the MEAN stack, which is also a hopefully soon-to-die trend. Still it can be a valid choice for cross-platform desktop applications.
Node.js developers will prove that it can bring advantages that other solutions lack, for cross-platform desktop/ mobile applications, for sockets. But what Node.js is not, is a magical tool that should be used in every possible situation. It is not a fast language, and should be used accordingly.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.