Pergunta de entrevista da empresa NeoSOFT

Why node.js and what's special about it?

Respostas da entrevista

Sigiloso

15 de dez. de 2017

Node.js applications executes code asynchronously. It is an single thread based asynchronously execution. There is no wait time for function execution. Node.js is able to execute any number of functions simultaneously. It won't wait for completion of one function . So this mechanism saves execution time and increases performance of the application .

1

Sigiloso

12 de jun. de 2021

Node js is not a language first of all, it 's a runtime for javascript.It is not single threaded because it uses libuv library which supports multi threading with the help of kernal. Event loop is single threaded. Node.js was created explicitly as an experiment in async processing. The theory was that doing async processing on a single thread could provide more performance and scalability under typical web loads than the typical thread-based implementation.