7 ms·
That's not avoiding it. The thread in question will still block for 500ms. The same holds true for a multi-process node app.
by ricardobeat 15y ago
That's not avoiding it. The thread in question will still block for 500ms. The same holds true for a multi-process node app.
- wlievens 15y agoThe point is that in a multi-thread architecture, you can still serve requests on the other threads. In a single-process non-blocking IO architecture, blocking CPU calculations will block everyone. Big deal. Use workers to solve that. End of story.