Railway should allow 0 replicas (scale down)
shxkm
HOBBYOP
10 months ago
I'm not talking about sleep/serverless. I'm talking about the ability to specify that a service/deployment has 0 replicas.
Use case:
- A one-time slow/sensitive DB migration during which we'd like to prevent background workers from writing to the DB.
- In my case, all DB migrations are carried out in the
deploystep because of Railway's/app's limitations. - During this slow DB migration, we'd like to scale down all workers that are constantly writing to the DB to avoid locks and inconsistencies.
0 Threads mention this feature
0 Replies