Does Railway have in-built load-balancers?
space-we3
TRIALOP

2 years ago

Hi, I want to ask if Railway have in built load balancers for python based websites.

If yes then Is it for hobby or Pro or Both?

Solved

14 Replies

2 years ago

Railway can load balance your app through replicas, replicas can be created on hobby plan as well


Status changed to Solved Railway about 2 years ago


space-we3
TRIALOP

2 years ago

I understand your point. However, upon reviewing the documentation (here) on scaling replicas, it appears that there is currently a limited number of replicas available in any plan. Would it be possible to provide further information on the number of requests that can be handled?

While I am aware that the server has the capability to handle thousands of queries and requests, I also believe that the CPU size may play a role in improving request handling. Therefore, I believe that there may not be a need to worry about balancing at this time.


2 years ago

The number of requests it can handle would depend entirely on your app and how efficient it is, more efficient apps will be able to handle more requests, so I can't say how many requests your app can handle, also the replica limit is 10 I believe


space-we3
TRIALOP

2 years ago

Okay, I completely agree with you. and I think 10 is fine


2 years ago

Awesome :)


thomas-team
PRO

2 years ago

Remember that we can likely help you scale further than 10, but if you have the pro plan CPU limits and 10 replicas pushing the limits, you are probably in the hundreds of thousands of requests per second for many application types.
If that happens to you, please reach out; We would love to make sure you have a good experience.


space-we3
TRIALOP

2 years ago

Excellent! I was anticipating this response from you, and I am pleased to hear that the replicas can be expanded. Additionally, I have taken the initiative to implement caching and background tasks, which should sufficiently support my needs with less than 10 replicas at present. In summary, I am highly satisfied with the railway's performance.

One more thing I can't seem to find is Database storage pricing document. Can you post here a link of docs explaining database (Postgresql) pricing? If that's not possible, Can you give me an estimate idea of how much it will cost monthly to get 100GB of postgresql db storage (including read and write operations)?


2 years ago

Railway's databases store data in what's known as Volumes, volumes are priced at 0.25 dollars per GB per month. There is a limit of 5GB on hobby plan and 50GB on pro plan though, but you could likely get that expanded as well


space-we3
TRIALOP

2 years ago

You mean, I will have to pay 0.25$/GB right when 50GB exceeds from PRO Plan?

With PRO Plan => 50GB Free

and after exceeding that limit => 0.25$/GB

and to get 100GB it will cost around 25$. Right?


2 years ago

Not exactly, each GB is 0.25 dollars a month, so if you have 100GB of storage then it'll cost you 25 dollars a month ( 100 * 0.25 )


space-we3
TRIALOP

2 years ago

That's what I wrote (25$).


2 years ago

Oh sorry, I didn't convey what I wanted to in my explanation, I meant to convey that no storage in a Volume is free, you pay for every byte of storage


space-we3
TRIALOP

2 years ago

It's okay, Yeah I understand that. Thanks for all the help and answers.


2 years ago

No problem, I'm happy to help!


Loading...