Re:An expensive line of code: scaling Node.js on Heroku (2013)
by amelius on Thursday September 29, 2016 @05:21AM
(#12604109)
Well, 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.
[ Parent
| on HN ]
There are no comments on this comment yet.