How does the node js server work?

Node is completely event-driven. Basically the server consists of one thread processing one event after another . A new request coming in is one kind of event. The server starts processing it and when there is a blocking IO operation, it does not wait until it completes and instead registers a callback function.24 Ara 2015

Sizin İçin Seçtik  What is node js not good for?

Leave a Reply

Your email address will not be published. Required fields are marked *