|
|
|
|
|
by BonoboBoner
4159 days ago
|
|
Interesting comparison. I have never used Node for anything bigger than small personal stuff, because non-blocking code was never a requirement. I still dont see the value in it in scenarios like in the blog post, as all he is doing is a bunch of functions and once all of them are done, send something back to the client. How does the client or the dev benefit from the non-blocking approach here? At the end of the day he is describing a sequence of actions the depend on each other. Why not block then? I really dont want to sound arrogant, but I am just curious what the benefits are that I dont know of. |
|
Nowadays, there's also the fact that if you want to use Javascript on the backend, Node.js is the de facto standard. You don't necessarily have to do async I/O but you'd be fighting against the whole ecosystem by not doing so.
[0] http://en.wikipedia.org/wiki/Preemption_(computing)#Preempti...