Europe region without PRO plan?
Hi, is there any way to host my project on EU region without paying pro plan? All of my users are from europe and the loading times are real difference. I really like railway and don't want to migrate to any other provider, but at the same time I would not totally use the benefits of the pro plan, also the price for me now is not acceptable.
Solution:Jump to solution
try running the mongo database on railway and connect to it with the private network
20 Replies
Project ID:
N/A
a pro plan is going to be needed in this case, and if you have a userbase and response times matter, you likely arent running a hobby workload.
Like, yes, I have some users. But the profit of it is not even paying for the hobby plan. It's not really the main problem, but the user experience now is kinda but with loading of 10-12 seconds, comparing to europe servers 2-3 seconds
But anyway, thanks for the answer
well hold up, 10-12 seconds compared to 2-3 seconds is not going to be down to the region, there is something else at play here.
i've had people in or around Europe test us-west vs eu-west, and rtt to us-west did not add as much delay as what you speak of.
and 2-3 seconds from a server in the same region? tbh i think you have some bugs to work out before you start worrying about regions.
Hmm, that's strange, while I was testing the difference, us railway (no cold start) vs vps on eu-central, the difference was there as I said
But I will chceck it once again, maybe it's not the root of the problem
going from eu-west to us-west should add a few hundred milliseconds max
tell me a bit more about your app?
We are talking about bacic node.js api server with express, no rendering, just api. For db I'm using mongodb atlas but in eu region, which I think can add some time to go back to europe for data.
Solution
try running the mongo database on railway and connect to it with the private network
Oh, that really made a huge difference, I'm now down to almost the europe latency
Thanks a lot
sanity check, you are using the private network right?
Although not having all of the data to load, but still a much greater
like? I'm not sure what you mean, with the mongo atlas?
that's easy enough, mongo dump and mongo restore
no, with railway, are you connecting to mongo on railway via the private network?
yes, I'm
thanks a lot!
you are using the private url?
yes, the connection string provided as env variable
right but are you using the private url environment variable?
yes, ${{MongoDB.MONGO_PRIVATE_URL}}
perfect
Again thanks a lot!
Have a nice day!
no problem, you too!