Does NodeJS service take advantage of multiple CPU cores?

jimin-genieBIZCLASS

a year 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.

0 Replies

jimin-genieBIZCLASS

a year ago

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


timbo-tjPRO

a year 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-tjPRO

a year ago

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


Does NodeJS service take advantage of multiple CPU cores? - Railway Help Station