Question d’entretien chez SourceFuse

How nodejs is better then java ?

Réponse à la question d'entretien

Utilisateur anonyme

17 déc. 2018

Node.Js follows a single threaded structure where a Loop(Event Loop) reads all the incoming requests to the server and processes them concurrently. Where as Java follows a multi threaded structure where each incoming request on the server is delegated a separate thread to process it. This feature makes nodejs servers handle far more network requests as compared to Java servers.