5 days ago
Project: beautiful-presence
Service: docflowai-app (staging), EU West (Amsterdam), 1 replica
Database: Postgres, same project, connected via internal private network (postgres.railway.internal:5432)
We're seeing intermittent, unpredictable latency and connection failures affecting MULTIPLE
connection types (not just Postgres), suggesting a platform/networking-level issue rather than
an application bug. We've spent significant time ruling out application-side causes — details below.
Attachments
1 Replies
5 days ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • 5 days ago
5 days ago
Is the latency from database connection, if so, Increase connection timeout moderately (not huge).
Use smaller DB pool size to avoid connection storms during spikes,
Add retry with exponential backoff + jitter for connection open.
find which Db/query operation is taking more time or failing in the process
