unleetz
unleetz
RRailway
Created by unleetz on 9/24/2023 in #✋|help
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.
12 replies