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•2y ago
Message Not Public
Sign In & Join Server To View
Could you explain what you mean? They talk about scaling up to handle more load in the docs I thought
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
vertically not horizontally
Ye
On teams plan, do you get a dedicated host?
you can get up to 96vcpu and 256gb ram so i think so
So everything on railway is scaled vertically?
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
How does that work for node apps? Do you run them using pm2 or some type of clustering?
You just right click on your project and import your repo to add more services
wdym
Some customers use envoy / nginx to proxy traffic between multiple services
we run all services as containers
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
Like you can run your website multiple times project to scale horizontaly
But it's very much a bad experience rn