3 ms·
If you don't mind, could you explain in detail (or link to resources) the points you bring up? It seems extremely interesting.
by sjnair96 10y ago
If you don't mind, could you explain in detail (or link to resources) the points you bring up? It seems extremely interesting.
- amelius 10y agoWell, it boils down to the fact that libuv (part of Nodejs) helps in fair scheduling for I/O resources; but the CPU is a resource too, and there is no scheduling taking place for that resource. Therefore, heavy CPU use without proper yielding can block other activities. Since the CPU is involved even in starting I/O operations, heavy CPU use can also block I/O, and in fact it can block the whole process.