BigBellyBigDreams
Explore posts from serversFaster response times?
So I'm really beginner when it comes to infra and stuff like this so I might not explain things that great. I deployed some services for an app i deployed (mainly just my server and some jobs) and they work good! I saw that these services by default are hosted in the west (im on the east coast) so while response times are fast i feel like they could be better if there was some sort of way I could get it closer.
I saw that railway regions was a thing but I just want to see if there were other options before spending more money. Anyone have any tips if you were in my shoes?
32 replies
Not able to access Postgres from one service but able from the other?
So I'm running into this weird issue. I can access my postgres db with no trouble from one of my services but can't from my other that I have setup as a cron job through railway. Not sure why this is the case. I know it's not a problem with my actual code cause it works fine locally. Any thoughts on why this would be the case?
85 replies
Configuring Cron Jobs?
So I'm running a cron job I wrote in my app like this
Now I have a seperate service on railway pointing to this one file and running it. I also noticed railway has its own cron scheduler. Do I also have to configure that along with this or is it fine to just leave the service running assuming that the cron job running internally will just run as scheduled?
10 replies