4 months ago
Hi,
I have setup a mongodb replicaset using the template for railway on github, however the response times of the db are in the high. With p99 reaching more then 30 seconds.
Attachments
3 Replies
4 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!
4 months ago
Hello,
Please make sure you are using the private network for all service-to-database communications.
Best,
Brody
Status changed to Awaiting User Response Railway • 4 months ago
4 months ago
Hello, thank you for your response.
I am a bit confused as it is a bit different from using Atlas. But this is the URL that my backend is using to connect to the database. mongodb://mongo:************@crossover.proxy.rlwy.net:*****,shuttle.proxy.rlwy.net::*****,shuttle.proxy.rlwy.net::*****/db0?replicaSet=rs0&authSource=admin
Please let me know, if i just need to connect to just one PRIMARY db?