3 ms·
JavaScript, the language, is single threaded, but node and V8 are not. Depending on how much (and how heavy) async work you're doing it might be reasonable to
by chmod775 7y ago
JavaScript, the language, is single threaded, but node and V8 are not.
Depending on how much (and how heavy) async work you're doing it might be reasonable to let a node process use multiple cores.
- jackcodes 7y agoGood point - although it’s worth clarifying that I’m on Crystal for this, meaning I’m definitely single threaded in this instance. Would that be as simple as a case of 1vCPU per pod?
- YawningAngel 7y agoAt $job we default to 1vCPU per pod with the option to ask for more if that makes sense (e.g. you use a lot of shared heap and can meaningfully multithread).
- jackcodes 7y agoThanks, this was almost exactly the brief validation I was looking for.