On 14/08/14 01:15, G Prathap wrote:
This is interview questions. I dint perform it really well.Because in Nodejs
server we can create http server as well as tcp/ip base server.If somebody
elaborate about this it is  really  helpful for me.

Define "normal" server...

Anyway, my 2c:

The main thing about Node.js is that it is single-threaded, but all I/) operations execute asynchronously: this sets Node.js apart from, say, JEE application servers.

This model, coupled with the simplicity and speed of adding more server instances (clustering), make for a more resilient and easier concurrency model than the Java one (good luck with Threads in Java, even piping two streams is a challenge).

Actually, Node,js was designed to work in a networked environment, hence the simplicity of developing networked servers/clients, and since Node,js is quick to start and low on memory consumption, it lends itself well to decomposing an application into small services, rather than concentrating then in one big Application Server (guess what is the more resilient model).

Hope this helps,

Luca Morandini
Data Architect - AURIN project
Melbourne eResearch Group
Department of Computing and Information Systems
University of Melbourne
Tel. +61 03 903 58 380
Skype: lmorandini

--
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/lsgnmg%24hfq%241%40ger.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to