Node.js Or servlets?

Posted by Nilesh on Programmers See other posts from Programmers or by Nilesh
Published on 2012-10-11T06:05:15Z Indexed on 2012/10/11 9:52 UTC
Read the original article Hit count: 328

Filed under:
|
|

I have heard a lot and read about the Javascript server side language i.e Node.js, and saw many comparisons in favor of Node.

I don't understand what makes it better or faster, or how it even relates to something as mature as Java Servlets.

But Servlets are built on top of a multithreaded programming language as opposed to Node.js. Then how can node.js be faster?

If suppose 1000K users query for a database records, then shouldn't Node.js be slower than Servlets.

Also Don't servlets have better security compared to Node.js?

© Programmers or respective owner

Related posts about JavaScript

Related posts about java-ee