Node is a platform for writing server side javascript
applications uses asynchronous event driven model.
Every function in node.js is asynchronous.
Node is a platform means you have to do everything yourself.
One script handles all communication with clients.
Node cannot use for gui applications.
It allows javascipt to be execute on server side. It uses
the wicked fast V8 JavaScript engine which is developed by the Google for Crome
browser.
Node.js allows Javascript to be executed on the server side, and
it uses the wicked fast V8 Javascript engine which was developed by Google for
the Chrome browser
One of the disadvantage of thread based is need of more
memory. If we use threads, we can do multicore.
Node has a single execution thread with no waiting on I/O or
context switching.
In node js, we can easily handle 10k clients at same time in
parallel on one machine.
0 comments:
Post a Comment