B L Â D É
Scaling to zero/sleep for databases
First of all I'm impressed with all of the new stuff added, this is awesome!
I have a question about "scaling to zero" feature, so apparently it sleeps when there is no network activity happening, specifically the out of the service.
What if this service is a database/long running worker that runs long running jobs, in the case the work takes more than 5 mins before any response and the app sleeps during some processing, so this makes app sleep feature not applicable for databases/workers right?
I think we should have the time before sleep configurable so I can make sure that it doesn't sleep in the middle of doing something.
Also one more suggestion is to have a configurable endpoint that railway can trigger before sleep and based on it it can cancel the sleep, just an idea.
5 replies
Horizontal scaling on hobby plan
I see that on the pricing page horizontal scaling is only on pro plan, but in my hobby account I still see the replicas field and I can deploy multiple replicas.
So are there more features on the pro plan for horizontal scaling or what's going on?
5 replies
How to have multiple deployments for the same service
What i want is to have multiple workers for a task queue, and easily add more worker.
This is not a question for autoscaling, I'm just asking if there is an easy way to handle spawning more workers/deployments for the same repo, thanks
4 replies