|
|
|
|
|
by hpguy
4862 days ago
|
|
> Within a single request, Node can async its dealing with outside services (databases, api's, etc), but it is still only processing one request at a time. There is no 'synchronized' keyword in javascript. ;-) This is as wrong as it can get. Multiple requests are processed "concurrently", in the sense that a request gets served as soon as an existing request awaits on async calls. It is different from thread-based concurrency and thus there is no need for things like "synchronized" keyword. |
|
I found this to be a good explanation...
http://blog.mixu.net/2011/02/01/understanding-the-node-js-ev...