Fly.io replaces 6PN’s fleet-wide phonebook with on-demand routes
Brief
Fly.io has redesigned 6PN routing to look up and cache a Machine’s route only when traffic first needs it, rather than keeping a fleet-wide map on every host.
What changed
- The new VXLAN path queries local Corrosion data when a host encounters an unknown 6PN address, then installs a route for that Machine.
- Most hosts now hold about 100–200 routes, replacing maps that contained hundreds of thousands of entries.
- Fly.io completed the host-by-host rollout and removed the old address-swapping 6PN code.
Connection impact
- A first connection between Machines that have never communicated can take about one second because the initial packet may be lost while the route is looked up and TCP retries.
- Subsequent connections use the route directly. Fly.io says it plans to address the first-packet delay by holding a limited number of packets during lookup.
Generated by AI from the original article. Check the source for full details.