sjc egress via Latitude.sh: ~40% of connections to AWS us-west-1 take a Tata path with ~7 ms extra RTT

From my sjc Machine, about 40% of new TCP connections to AWS us-west-1 (a Supabase Postgres database) get ~10 ms RTT instead of ~2 ms, and a connection keeps that latency for its whole life. It looks like ECMP at the Latitude.sh egress edge: depending on the source port, flows go out either via Level 3 (~1.8 ms) or via Tata/Teleglobe (~9 ms).

App: dm-miniflux, Machine 2865102ce39138, sjc
Egress: 2605:6441:9001:a3::e (IPv6), 152.236.1.126 (IPv4)
Destination: 2600:1f1c:f9:4d20:acd:f74b:4570:9f4f, port 5432 (Supabase direct, AWS us-west-1); also the Supabase pooler over IPv4 (aws-0-us-west-1.pooler.supabase.com)
When: ongoing; measured 2026-11-01 04:00 - 05:10 UTC

What I see

I opened 24 separate connections from the Machine and timed 60 select 1 round trips on each:

  • direct (IPv6): 9 connections at 1.8 - 2.7 ms, 15 at ~10 ms
  • pooler (IPv4): 11 at 2.2 - 3.4 ms, 13 at ~12.5 ms

Every connection stays fast or slow for its lifetime. Connection setup is ~25 ms vs ~90 ms to match. This hit a real workload: a feed import doing ~11,000 sequential queries took 118 s instead of about 25 s, because its transaction landed on a slow connection.

It follows the egress range, not the host

I ran the same test from throwaway Machines in sjc:

Egress Machines Result
2605:4c40:100:f111::/64 (CacheFly) 4, one on the same host as 2865102ce39138 all 160 connections fast (~1.5 ms direct)
2a02:6ea0:e61c::4 (Datacamp) 1 fast (~1.7 ms)
2605:6441:9001:a3::/64 (Latitude.sh) 2 bimodal, same as above

A clone of 2865102ce39138 got 2605:6441:9001:a3::12 and was bimodal too, so cloning doesn’t get me off this range.

TCP traceroutes with fixed source ports

From a throwaway Machine on 2605:6441:9001:a3::e. The NAT keeps the source port (Postgres’s inet_client_port() matched the local port), and each port took the same path both times I traced it:

Fast (sport 37418):

$ traceroute -6 -n -T -p 5432 --sport=37418 -q 3 db.<ref>.supabase.co
 1  fdaa:0:65cc:a7b:7f4:bac2:af0:1  0.908 ms  0.935 ms  0.725 ms
 2  2605:6441:9001:a3::3  0.890 ms  0.614 ms  0.565 ms
 3  2605:6441:9000::4  0.886 ms  0.790 ms  0.961 ms
 4  * * *
 5  2001:1900::3:1b5  0.759 ms  0.601 ms  0.650 ms
 6  2600:1488:a041::b  1.928 ms  1.864 ms  1.854 ms
 7  * * *
 8  2620:107:4001:e10::f009:1002  2.603 ms  2.306 ms  2.259 ms
 9  * * *
10  2600:1f1c:f9:4d20:acd:f74b:4570:9f4f  1.879 ms  1.682 ms  1.682 ms

Slow (sport 37532; 37472 is the same):

$ traceroute -6 -n -T -p 5432 --sport=37532 -q 3 db.<ref>.supabase.co
 1  fdaa:0:65cc:a7b:7f4:bac2:af0:1  0.786 ms  0.472 ms  0.364 ms
 2  2605:6441:9001:a3::3  0.852 ms  0.637 ms  0.606 ms
 3  2605:6441:9000::6  0.867 ms  0.889 ms  0.796 ms
 4  2001:5a0:1d00::2a  0.435 ms *  0.385 ms
 5  * * *
 6  * * *
 7  * * *
 8  2001:5a0:100:100::107  9.020 ms  8.995 ms  8.904 ms
 9  2620:107:4008:42f::1  8.702 ms  8.723 ms  8.748 ms
10  * * *
11  * * *
12  2620:107:4000:5550::f002:9400  9.189 ms  9.155 ms  9.120 ms

The split happens at 2605:6441:9000::4 vs ::6. The ::6 path goes through Teleglobe/Tata (2001:5a0::/32) and picks up ~8 ms between hops 4 and 8 before it reaches AWS, which I’m guessing means it’s handed off somewhere outside the Bay Area.

Questions

  1. Is this a known issue with the Latitude.sh egress in sjc, and can traffic to AWS us-west-1 be kept on the Level 3 path?
  2. Is there a way to get an app off the 2605:6441 range? Would an app-scoped egress IP (fly ips allocate-egress) come from a different upstream?

Happy to run anything else from the Machine. I have a small Go tool that does the per-connection test and can share it.

From testing it myself, having a static egress IP assigned does avoid the Tata path (for now). If you’re allowlisting your app’s IP addresses anyway, it makes sense to assign a pair of static IPs for that purpose (with the added benefit of avoiding the slower route to us-west-1):

fly ips allocate-egress --region sjc

Another option is moving your Machine to a host whose upstream route is faster. You can clone your Machine, though there isn’t a way to choose where the new one is placed, so it could land on another host with the same provider.

To avoid trial and error, we can migrate your Machine for you instead. Your Machine would be stopped briefly during this migration, then restarted on another host. Feel free to let us know your preferred timeframe if you want to do that.

I’ll take you up on the offer of migration! It’d be ideal you could do it on a day between 0100 - 0600 PST; if it’s just a couple of minutes I’m pretty flexible though.

Thank you again!
Dave