a year ago
I'm doing a loadtest using siege cli utility and my app (nextjs) scales above 1.3vcpu and then goes down I'm on pro plan and I would expect it to scale without problem, is there a config I should enable for this?
id: eea43e56-e155-4533-974d-97fcce3211a3
9 Replies
a year ago
is this a node app?
a year ago
node is single threaded, its not going to scale above about 1 vCPU, you will want to scale out horizontally with replicas
uh oh I was hoping there is some magic to it. Thank you Brody
is it possible to put replicas to sleep and scale on demand?
a year ago
unfortunately even Railway can't change the fact that node is single threaded
a year ago
you can put all replicas to sleep, but no we don't support auto scaling based on load, but judoscale is working on an integration with Railway! so get i touch with them if you are interested in that!
a year ago
sounds good, happy to help!
a year ago
!s
Status changed to Solved brody • over 1 year ago