Railway app server + Neon DB slow latency

cptlchadTRIAL

7 months ago

I have my app server deployed on railway (FRA) and a neon DB deployed in FRA as well.

My latency from App -> DB (with drizzle) is about 800ms while when using the neon Console directly I have a latency of about 45ms. Where does this overhead come from?

1 Replies

7 months ago

Likely the service on Railway and the database being in different regions.