3 months ago
Hey, I am on Hobby plan, Our project's frontend and backend both are deployed on Railways and the database is mongoDB which is not from Railways. The API response time is very slow on Live, as it takes 3 seconds or sometimes 6 seconds to get a response which is super slow if i compare it with AWS. In that response we just have max 4 records right now and it is taking this much time
3 Replies
3 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
3 months ago
Hey, please make sure to have your applications deployed in the same region as your database to minimize latency. You may also want to migrate your MongoDB to Railway to further reduce latency utilizing Railway's private networking.
uxuz
Hey, please make sure to have your applications deployed in the same region as your database to minimize latency. You may also want to migrate your MongoDB to Railway to further reduce latency utilizing Railway's private networking.
3 months ago
Thanks, shifting reduced the latency
Status changed to Solved uxuz • 3 months ago