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:Jump to 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...
9 Replies
Project ID:
d52cea3e-e10b-4485-825b-f91400099677
d52cea3e-e10b-4485-825b-f91400099677
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
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
are you on the pro plan?
No
regions is limited to pro plan users who are a part of beta
Ok thanks
no problem!