Frage im Vorstellungsgespräch bei SourceFuse

How nodejs is better then java ?

Antwort im Vorstellungsgespräch

Anonym

17. Dez. 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.