Node.js Developers |
How fast it is?
1. The speed of JavaScript and Java is mostly irrelevant if you are not doing a huge amount of processing in JavaScript. The biggest difference will be in the event model and is the current best place in Node. It is the fastest unless you are able to write Java code with an async event model. V8 is faster than Python. You can expect Node.js to be faster even when attempting async development.
2. You can understand this by an example:- If there are 10 servers requirement to run your Python code, your requirement for Node.js will be just 2 or 3 servers for approximately equal performance.
4. For certain tasks, it is surely very fast. But it uses more memory even than regular VM Languages as a JIT. It is also weak at traditional concurrency due to not having it and not keeping it as an issue for server-side development. Overall, it’s very preformat for server-side development and passable for other tasks, but far from ideal for other reasons.
6. It is pretty decent but not the fastest runtime out there and unless you do a lot of processing, the speed should not really matter. The single thread /async model is for another discussion entirely. You can use Node for sockets, because it is best suited for that.
It is true that Node.js is not the fastest framework but it is fairly good to fit the purpose. The chrome’s V8 is used by Node which is a JIT compiler. It uses asynchronous handling of events by default. It is written for JavaScript code and is not a programming language.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.