Node.js is different from PHP and ASP
How Handle request Node.js
Node.js send request to the server.
Node.js pick new request and do not wait till the request get completed.
In node.js once the first request get completed it server back data to the client.
It eliminates the waiting, and simply continues with the next request.
How handle request PHP and ASP
PHP or ASP send request to the server.
PHP or ASP wait till the request get completed.
PHP or ASP return the data when request get completed.
PHP or ASP send another new request.
Comments