how does railway scale down?

Does anyone know if railway will destroy my running containers when scaling down. This helps me know if this is a solution that will work for apps using websocket connections.
44 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Web Dev Cody
Web Dev Cody2y ago
Could you explain what you mean? They talk about scaling up to handle more load in the docs I thought
Finn
Finn2y ago
On the Dev plan your project is seed onto a host with alot of resources depending on the projected usage, you can use upto 8gb of ram on the Dev plan for example
nebula
nebula2y ago
vertically not horizontally
Finn
Finn2y ago
Ye On teams plan, do you get a dedicated host?
nebula
nebula2y ago
you can get up to 96vcpu and 256gb ram so i think so
Web Dev Cody
Web Dev Cody2y ago
So everything on railway is scaled vertically?
Finn
Finn2y ago
Dam, how does pricing work on that For now yeah Wyz has a little project that uses the internal API to scale but it's very experimental
Web Dev Cody
Web Dev Cody2y ago
How does that work for node apps? Do you run them using pm2 or some type of clustering?
Finn
Finn2y ago
You just right click on your project and import your repo to add more services
nebula
nebula2y ago
wdym
Finn
Finn2y ago
Some customers use envoy / nginx to proxy traffic between multiple services
nebula
nebula2y ago
we run all services as containers
Web Dev Cody
Web Dev Cody2y ago
If I want to host a next app with 96vcpu, node is single threaded and won’t even use those resources, next needs to be scaled horizontally to actually work well
Finn
Finn2y ago
Like you can run your website multiple times project to scale horizontaly But it's very much a bad experience rn
Want results from more Discord servers?
Add your server