Scale to Zero (Pause Services)

3 years ago

Allow scaling to zero/sleeping of Web processes

Completed

22 Replies

4 years ago

heroku has this and railway needs this too


Anonymous

4 years ago

lol I didn't see this before and opened my own request vote for my request too!


4 years ago

I think credit limits for projects might be the way here, so you can cap spend.


4 years ago

I think credit limits for projects might be the way here, so you can cap spend.

Angelo Saraceno: I think just a general pause button would be welcomed, for saving money or just to pause (for example) a bot


Anonymous

4 years ago

I think credit limits for projects might be the way here, so you can cap spend.

Angelo Saraceno: Pausing an environment will also decrease server load and help other projects on same instance get better response time and speed


3 years ago

I presume this is also like Cloudflare Workers. Not sure about how usage based pricing would work for this one though.


Anonymous

3 years ago

+1 I didn't realize all my various test projects were contributing to my spend.
The only way to stop them contributing to spend is to delete them but I'd rather just have them there and not running so I can come back to them when I want.


Anonymous

3 years ago

+1 I didn't realize all my various test projects were contributing to my spend.
The only way to stop them contributing to spend is to delete them but I'd rather just have them there and not running so I can come back to them when I want.

Nicholas: Maybe upvote it?


Anonymous

3 years ago

i like to hold / pause / suspend not used web services to avoid them running always


3 years ago

Adding rationale from the community call here, we are looking to invest more time into spend caps and resource limits to manage spend than introducing app sleeping.

Status changed to Under Review angelo almost 3 years ago


Anonymous

3 years ago

Adding rationale from the community call here, we are looking to invest more time into spend caps and resource limits to manage spend than introducing app sleeping.

Angelo Saraceno: Thank you very much! Another your competitor offer this feature, but I prefer you


Anonymous

3 years ago

That would be amazing if pause option is added so we can manually pause/resume services or environments :)


Anonymous

3 years ago

it would be cool if the application itself fell asleep when necessary, and then returned to work


Anonymous

3 years ago

+1 for auto pausing option for services on x amount of time spent inactive. Would be so useful and would help me achieve more within the same free tier while also reducing wasted server time. I disagree that changing spending limits covers the same scope as what is being asked for here. On another note, I also delete and then rollback services when I remember to save execution hours so a pause button even without the inactivity timeout would be hugely useful.


Anonymous

3 years ago

Like heroku dyno on off future


Anonymous

2 years ago

You can always manually remove the active deployment.


Anonymous

2 years ago

This feature would be the one to make me migrate some projects to Railway ! Ideally, with a programatic interface (e.g. schedule pause from monday to friday from midnight to 6 a.m.)


2 years ago

Not moving to In Progress, but we think we have an elegant answer to this that I think people would want and understand.

This will come in line with adding spend caps (above $20) and resource limits to manage spend with introducing app sleeping.


Anonymous
TRIAL

2 years ago

I would love to configure a web service, but not keep it running. Instead, I would rather log in to railway and press some button to start it back up. When I'm finished using it, I could pause it to prevent unneeded usage. The auto sleep feature would be nice, but I would be fine with either.


Anonymous

2 years ago

I'd love to be able to do this on an environment level, so I don't have to pay for my staging environment 24/7 but also don't have to reconfigure it every time I want to recreate it.


2 years ago

Your feedback is accounted for, we just whipped up a prototype for this and it should be live in the coming weeks.

Status changed to In Progress angelo about 2 years ago


Anonymous

2 years ago

Serverless like GCP cloud run, if a web server or container hasn't received any requests/interaction then the it sleeps automatically, soon as a request comes in it wakes, preferably without much of a cold start.

Basically auto scaling but scales to zero without traffic, another example is AWS which has an equivalent called apprunner. They've monotized by charging when connecting to Github for auto deployments so they make something per month. Its something like $2 usd per container with auto deployment from github. Interesting model as the container can scale down but they make something anyway.


jitterted
HOBBY

2 years ago

Would be great to have this in combination with a per-environment/service cost budget (instead of for the whole account), so the environment would get paused once it hits the budget limit.

I need something like this as I teach coding classes and the service only needs to be operating during the class, but removing the service is annoying, and sometimes I forget.


Anonymous

2 years ago

I'd love to be able to do this on an environment level, so I don't have to pay for my staging environment 24/7 but also don't have to reconfigure it every time I want to recreate it.

Piper McCorkle: I agree!


2 years ago

Status changed to Completed jake over 1 year ago


Scale to Zero (Pause Services) - Railway Help Station