Does NodeJS service take advantage of multiple CPU cores?
jimin-genie
PROOP

2 years ago

We are not doing anything fancy. Just vanilla NodeJS monolith server running in one of Railway's service. This particular process won't take advantage of the multiple CPU cores provided to our service by default right? Just because of the way NodeJS is.

3 Replies

jimin-genie
PROOP

2 years ago

3747f720-8c9c-4d81-9b13-1e420ceabd6c


timbo-tj
PRO

2 years ago

yep this has been my experience too, the machine will grind to a halt once it hits 1 vcpu, unable to go higher


timbo-tj
PRO

2 years ago

as a 'dirty fix' I just spun up more replicas


Loading...