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

**URL:** <https://community.fly.io/t/sjc-egress-via-latitude-sh-40-of-connections-to-aws-us-west-1-take-a-tata-path-with-7-ms-extra-rtt/28966>\
**Category:** Questions / Help\
**Created:** [November 1, 2026, 5:42am UTC](https://community.fly.io/t/sjc-egress-via-latitude-sh-40-of-connections-to-aws-us-west-1-take-a-tata-path-with-7-ms-extra-rtt/28966 "2026-11-01T05:42:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dave-atx](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/dave-atx/32/50618_2.png) [@dave-atx](https://community.fly.io/u/dave-atx)\
**Post date:** [November 1, 2026, 5:42am UTC](https://community.fly.io/t/sjc-egress-via-latitude-sh-40-of-connections-to-aws-us-west-1-take-a-tata-path-with-7-ms-extra-rtt/28966/1 "2026-11-01T05:42:45Z")

</div>

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):

```auto
$ 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):

```auto
$ 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.

---

<div class="post-metadata">

**Author:** ![flyio-support](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/flyio-support/32/46245_2.png) [@flyio-support](https://community.fly.io/u/flyio-support)\
**Post date:** [November 6, 2026, 12:30am UTC](https://community.fly.io/t/sjc-egress-via-latitude-sh-40-of-connections-to-aws-us-west-1-take-a-tata-path-with-7-ms-extra-rtt/28966/2 "2026-11-06T00:30:24Z")

</div>

From testing it myself, having a [static egress IP](https://docs.fly.io/networking/egress-ips) 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):

```auto
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.

---

<div class="post-metadata">

**Author:** ![dave-atx](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/dave-atx/32/50618_2.png) [@dave-atx](https://community.fly.io/u/dave-atx)\
**Post date:** [November 6, 2026, 2:00am UTC](https://community.fly.io/t/sjc-egress-via-latitude-sh-40-of-connections-to-aws-us-west-1-take-a-tata-path-with-7-ms-extra-rtt/28966/3 "2026-11-06T02:00:54Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![flyio-support](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/flyio-support/32/46245_2.png) [@flyio-support](https://community.fly.io/u/flyio-support)\
**Post date:** [November 10, 2026, 2:58pm UTC](https://community.fly.io/t/sjc-egress-via-latitude-sh-40-of-connections-to-aws-us-west-1-take-a-tata-path-with-7-ms-extra-rtt/28966/4 "2026-11-10T14:58:49Z")

</div>

The migration’s done! Your Machine was stopped earlier today (Nov 10) at 10:59:07 UTC and started on the new host by 10:59:17.

Keep us posted on whether latency has improved since the host migration.

---

<div class="post-metadata">

**Author:** ![dave-atx](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/dave-atx/32/50618_2.png) [@dave-atx](https://community.fly.io/u/dave-atx)\
**Post date:** [November 10, 2026, 8:51pm UTC](https://community.fly.io/t/sjc-egress-via-latitude-sh-40-of-connections-to-aws-us-west-1-take-a-tata-path-with-7-ms-extra-rtt/28966/5 "2026-11-10T20:51:58Z")

</div>

Confirmed fixed, thank you!!

After the migration the Machine’s egress moved from Latitude (2605:6441:9001:a3::e) to CacheFly (2605:4c40:100:f111::4f1d). 40 of 40 fresh Postgres connections to Supabase us-west-1 now see ~1.5 ms RTT; before, ~55–60% took the Tata path at ~10 ms.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/fly1/original/3X/6/e/6e8955d00cb218e186ebbe3a6ab06fefdce15290.svg) [@system](https://community.fly.io/u/system)\
**Post date:** [November 20, 2026, 8:52pm UTC](https://community.fly.io/t/sjc-egress-via-latitude-sh-40-of-connections-to-aws-us-west-1-take-a-tata-path-with-7-ms-extra-rtt/28966/6 "2026-11-20T20:52:27Z")

</div>

Closed on November 20, 2026, 8:52pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
