Skip to content
Intermittent ~200 ms egress latency from asia-southeast1 to Cloudflare (Supabase)
ahmedhameed2020
OP

4 hours ago

Hi Railway team,

Our service intermittently sees about 200 ms of round-trip time on outbound connections to Supabase. In the same region at other times, the same connections take 1–7 ms.

Service

  • Project: 6331d868-4374-4b7e-8feb-994d686c752b
  • Service: e175293a-0327-428f-9110-26ede53d6cfb (production, region asia-southeast1-eqsg3a)
  • Destination: our Supabase project in ap-southeast-1 (Singapore), through Cloudflare at 104.18.38.10 and 172.64.149.246

Measurements (the latencyMs field from your network-flow log stream, outbound to those IPs, aggregated per hour, UTC)

  • 2026-12-01 15:00, deployment c39b9f92, to 172.64.149.246: 18 connections, avg 188 ms (159–225)
  • 2026-12-01 17:00, deployment 089862c3, to 172.64.149.246: 23 connections, avg 1 ms (1–2)
  • 2026-12-02 03:00, deployment 1d927637, to 104.18.38.10: 5 connections, avg 6 ms (6–7)
  • 2026-12-02 09:00, deployment 87f5a7fe, to both: 2 connections, 7–34 ms
  • 2026-12-02 14:00, deployment 2162b376, to 104.18.38.10: 8 connections, avg 188 ms (140–272)
  • 2026-12-02 14:00, deployment 2162b376, to 172.64.149.246: 7 connections, avg 207 ms (197–221)
  • 2026-12-02 15:00, deployment 2162b376, to 104.18.38.10: 5 connections, avg 225 ms (210–251)

What we have ruled out

  • Supabase: their edge logs show an origin_time of 10–38 ms on the same requests.
  • DNS: it resolves locally in under 1 ms.
  • CPU and memory: CPU peaks at 0.24 of 8 vCPU and memory at 0.9 of 8 GB.
  • A bad host or deploy: the latency changes within a single deployment. For example, deployment 2162b376 measured 6–33 ms at 12:05–12:15 UTC and 174–211 ms from 12:45 UTC onward.

Impact

Each page makes several sequential database calls, and each one pays this round trip. Page loads go from about 0.4 s to about 3 s while it lasts.

Our questions

  1. Is egress from asia-southeast1 to Cloudflare sometimes routed through another region or PoP?
  2. Can you check the network path for this service during the windows above?
  3. Is there a way to pin or prefer a direct egress path?

Thank you.

Awaiting Conductor Response$20 Bounty

2 Replies

Railway
BOT

4 hours ago

This thread has been opened as a bounty so the community can help solve it.

Status changed to Open Railway • about 4 hours ago


ahmedhameed2020
OP

4 hours ago

Thanks for opening this up. A short update and one request.

Status: unresolved. The last measurement I have is from the production deployment 2162b376-622f-47c9-93e7-e27e2a18516b. Its outbound connections to Supabase's Cloudflare addresses (104.18.38.10, 172.64.149.246) averaged about 190–225 ms in the 14:00 and 15:00 UTC hours on 2026-12-02. In the same deployment at 12:05–12:15 UTC the same connections took 6–33 ms. These numbers come from the latencyMs field of the network-flow log stream. I have not measured since 15:00 UTC on 2026-12-02, so I can't say yet whether it is still happening right now.

What I have not tried: I have not redeployed, restarted, or changed the region to try to land on a different path. The latency changed within a single deployment, so a redeploy wouldn't reliably tell us anything. I'd rather avoid churn on production unless you think it would help diagnose this.

What I'm doing on my side: I'm reducing the number of sequential database calls per request in the app. That softens the impact, but it doesn't fix the underlying round trip.

Request: this looks like an egress routing issue inside Railway's network, which community members can't see. Could someone on the Railway team check the egress path from asia-southeast1-eqsg3a for service e175293a-0327-428f-9110-26ede53d6cfb during the windows above? Specifically:

  1. Is traffic to Cloudflare sometimes leaving through a different PoP or region?
  2. Is there a way to keep it on the direct path?

I can provide more timestamps or network-flow samples if that helps.


hub9er

3 hours ago

I'm not a Railway team, but I can answer some questions.

  1. Egress traffic can be routed through CloudFlare PoP or a other region.

  2. Cannot answer

  3. There is no native pinning path for egress.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...