Nodejs started to be developed in 2009. Nodejs use a scalable, event-driven asynchronous, non-blocking I / O operation model that provides high performance. Another thing that makes Nodejs attractive is that you do not have to use a high resource consuming web server like IIS, JBoss. At Nodejs we write our application server in a simple way. Each NodeJS application uses a thread
But because it uses the event loop / non-blocking IO model, it is very good performance. Event loop / non blocking IO works with the following logic. The client finds the request and the event loop routes the request to processors that run non-blocking and gives the client a ticket. When the processors finish the job, they report the response to the event loop and take the event loop reply, extract the ticket inside and send it to the client.