Search code examples
node.jssingle-threaded

how node.js server queued concurrent request


Let's say we have 3 request(A,B,C) hitting our node.js server at the same time.

What will be node.js criteria to identify which request should be executed first of all?

One more thing all request are blocking operations.


Solution

  • You may want to learn about node.js event loop. Also, check Anatomy of an HTTP transaction.