hn.today

Satmux: 3.6x faster inflight Wi-Fi via BBR TCP multiplexing

github.com113 points12 comments
Screenshot of Satmux: 3.6x faster inflight Wi-Fi via BBR TCP multiplexing

Satmux is a Python tool for improving web access on geostationary-satellite inflight Wi-Fi, where long delays, cabin-network interference, and packet loss can make ordinary connections slow or unreliable. It routes traffic through a local SOCKS5 or HTTP CONNECT proxy to a ground-side VM using 12 persistent TCP connections on port 8444. The nonstandard port avoids cabin gateways’ problematic DNS and HTTPS handling; BBR congestion control, zlib compression, and load-based stream scheduling help make better use of the link. Because the VM is near the satellite ground station, it can reach websites without sending each new connection through multiple satellite round trips. The implementation uses Python’s standard library and has no external dependencies.

In a benchmark over Inmarsat GX Ka-band with roughly 620 ms round-trip latency, a burst of requests to six sites took 19.13 seconds directly, with three failures; through Satmux, it took 5.35 seconds with none, a reported 3.6-fold improvement and 76% lower time to first byte. Individual results include MDN loading in 2.30 seconds instead of 12.01, and GitHub and Hacker News requests succeeding where direct connections timed out or reset. Using it requires deploying a ground VM, sharing a pre-shared key, starting the client, and configuring local routing; the included macOS scripts can restore changed settings afterward.

Read on github.com12 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Web

Search Providers Don't See the Same Web

Search Providers Don't See the Same Web

Search providers often return very different results: providers from separate groups shared about 10% of their top five pages. Combining providers from different groups found known answers 5.3 percentage points more often than relying on the better provider alone, compared with 2.8 points for providers in the same group. (telem.ai)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.