drdrigg
drdrigg
RRailway
Created by drdrigg on 10/15/2023 in #✋|help
White label domain?
Ah ok, thanks! I saw that you can add multiple domains to a project. Can I perhaps add the customers domains to the project using the Railway API? Is there a limit of the amount of domains that can be added? I do it like this on Vercel.
8 replies
RRailway
Created by drdrigg on 10/14/2023 in #✋|help
Postgres is very slow
Well not sure about that since its just a change of url to the database. Same code (that works). Do I need to change anything else in the code to make it work with internal communication or is it just a variable change?
20 replies
RRailway
Created by drdrigg on 10/14/2023 in #✋|help
Postgres is very slow
Time from when I call the endpoint to when it responds (in Postman)
20 replies
RRailway
Created by drdrigg on 10/14/2023 in #✋|help
Postgres is very slow
Changed back and is now 96ms again
20 replies
RRailway
Created by drdrigg on 10/14/2023 in #✋|help
Postgres is very slow
That made it worse 🙂 I went from 96ms to 356ms
20 replies
RRailway
Created by drdrigg on 10/14/2023 in #✋|help
Postgres is very slow
On it, changed. Redeploying!
20 replies
RRailway
Created by drdrigg on 10/14/2023 in #✋|help
Postgres is very slow
So I just change the database URL?
20 replies
RRailway
Created by drdrigg on 10/14/2023 in #✋|help
Postgres is very slow
Moving the DB to correct region made it go from 3 seconds to 96 ms, so my bad. I am sorry about that. Will moving to private network shave off more ms?
20 replies
RRailway
Created by drdrigg on 10/14/2023 in #✋|help
Postgres is very slow
Redeploying now
20 replies
RRailway
Created by drdrigg on 10/14/2023 in #✋|help
Postgres is very slow
mm ok, will try that after
20 replies
RRailway
Created by drdrigg on 10/14/2023 in #✋|help
Postgres is very slow
No, Express is in EU and Postgres in the US so that could absolutely be something. Moving the DB now!
20 replies
RRailway
Created by drdrigg on 9/29/2023 in #✋|help
How to deploy Angular on Railway?
Well it worked at the end but the overall connection to Rails is so slow so it will not work for this project. Also this project are using white label custom domains for each user and the Railway way of handling domains are a bit of a hassle. It uses some type of cnames that not even Dnsimple.com supports.
66 replies
RRailway
Created by drdrigg on 9/29/2023 in #✋|help
Access rails console and run rake tasks?
I am only using Railway services, Rails app, Redis service template and Postgres service template. I also tried both connecting to database using "public" url and using "private" direct url. Same result.
100 replies
RRailway
Created by drdrigg on 9/29/2023 in #✋|help
Access rails console and run rake tasks?
Its very simple now with the new location setting
100 replies
RRailway
Created by drdrigg on 9/29/2023 in #✋|help
Access rails console and run rake tasks?
Have you tried moving the app to the EU cloud?
100 replies
RRailway
Created by drdrigg on 9/29/2023 in #✋|help
Access rails console and run rake tasks?
This is exactly what I am experincing. Very slow, even in Postman. Great app BTW, looks very nice!
100 replies
RRailway
Created by drdrigg on 9/29/2023 in #✋|help
Access rails console and run rake tasks?
Rails is a bit legacy now (at least in the hosting world, very hard to find good hosting).
100 replies
RRailway
Created by drdrigg on 9/29/2023 in #✋|help
Access rails console and run rake tasks?
Its fast for my ExpressJS / NextJS project.
100 replies
RRailway
Created by drdrigg on 9/29/2023 in #✋|help
Access rails console and run rake tasks?
Also I could get $250 down to like $25 which is quite nice to 🙂
100 replies
RRailway
Created by drdrigg on 9/29/2023 in #✋|help
Access rails console and run rake tasks?
How all is kept together. I am using Cloud66.com to handle the servers (I know very little about servers)
100 replies