Node.js - understanding Request lifecycle in 2 minutes

Oscar Brito

1. Node.js keeps a single thread for your code…

It really is a single thread running: you can’t do any parallel code execution; doing a “sleep” for example will block the server for one second:

2. Everything runs in parallel except your code (sql, ...) ....

3. Its just like browser code!


Visit for more informations, contacts and news about Web Development.
See other blog posts at

Divhide purpose is to follow the HTML5 movement and contribute with applications which prove the quality of technology.

Feel free to contact divhide.