R
Railway15mo ago
unleetz

MongoDB Atlas latency

Hey, I am experimenting using Railway for one of my workloads that connects to a MongoDB cluster running in Atlas. All went fine but wanted help with two things: 1. Is there any documentation regarding the Railway CIDR I can use to restrict network access? 2. There's an increase of latency in requests that interact with the DB. The current setup both the app and cluster run in AWS (eu-west-1) and a simple "ping" to the DB takes 1-2ms. The same operation in the Railway setup takes 130-135ms. I am setting RAILWAY_REGION as europe-west4 and I even tried using a DB cluster in the same GCP region and the latency is the same.
Solution:
1. https://utilities.up.railway.app/cidr-list?value=us-west1 2. to me it looks like you are on the hobby plan without beta, to use regions you need to be both pro and part of beta...
Jump to solution
9 Replies
Percy
Percy15mo ago
Project ID: d52cea3e-e10b-4485-825b-f91400099677
unleetz
unleetzOP15mo ago
d52cea3e-e10b-4485-825b-f91400099677
Solution
Brody
Brody15mo ago
1. https://utilities.up.railway.app/cidr-list?value=us-west1 2. to me it looks like you are on the hobby plan without beta, to use regions you need to be both pro and part of beta
unleetz
unleetzOP15mo ago
https://docs.railway.app/deploy/deployments#regions Here says is for PB members. If that means the same as beta features, then I should have access according to my account
Railway Docs
Deployments | Railway Docs
Documentation for Railway
No description
Brody
Brody15mo ago
are you on the pro plan?
unleetz
unleetzOP15mo ago
No
Brody
Brody15mo ago
regions is limited to pro plan users who are a part of beta
unleetz
unleetzOP15mo ago
Ok thanks
Brody
Brody15mo ago
no problem!
Want results from more Discord servers?
Add your server