karlmedley 9 hours ago

This is so cool. I always make the mistake of only thinking about these problems while I'm experiencing them, and then forgetting about them as soon as the plane lands.

cozzyd 10 hours ago

I just always set my tcp congestion control algorithm to bbr via /etc/sysctl.d (helps on starlink and tethered LTE too)...

  • stephen_g 9 hours ago

    That only affects traffic you send though as I understand it - anything you download is whatever congestion control the server decides to use.

    • p_l 7 hours ago

      There's level of shenanigans that provider side can do to manipulate TCP congestion & window scaling algorithms as a middle box to improve performance without cooperation of server side.

      Search for Teclo networks ACK proxy for example

      • toast0 6 hours ago

        Some of those middleboxes end up reducing performance (probably not on purpose). One of the nice things about early mobile ipv6 was fewer middleboxes doing who knows what well intentioned shenanigans that sometimes backfire.

        #notbitter

        • gjvc 2 hours ago

          are you referring to "bufferbloat" ?

          • p_l 1 hour ago

            Lot's of ways other than bufferbloat to break performance in screwy middlebox

      • lxgr 2 hours ago

        If the provider already uses a PEP, there’s no need for shenanigans, is there?

        The insight of this project seems to be that the PEP isn’t very good, so it’s replaced with a better one, but it’s still a PEP, which is a strict superset in terms of capabilities of meddling with parameters of an otherwise end to end TCP flow.

devttyeu 4 hours ago

If it doesn't already the proxy side could also buffer incoming data to send in larger bursts, satellite links suffer from incredible buffer bloat, but at the same time have quite low packet loss, meaning you can fetch the whole page on VM side and send the whole payload at some fixed rate pretty much disregarding lack of ACKs, odds are your data will still come; This is out of spec, but arguably having 200 seconds of buffers instead of just dropping packets also is.

  • lxgr 2 hours ago

    Doesn’t BBR already address bufferbloat inherently? Other than that, this project seems to support doing just that, both at the TCP layer (i.e. as a PEP) and optionally at the HTTP layer as well (for which it has to open HTTPS).

wpietri 10 hours ago

What a delight. I love it when somebody pays close attention to what's really going on. The Limits section was especially nice.

ranger_danger 5 hours ago

Would a UDP VPN to a VPS have a similar effect?

  • Wicher 4 hours ago

    It would bypass the PEP proxy so indeed you can then run your own congestion algo such as, indeed, BBR. But it would not be quite the same performance-wise as this here proxy, because you'll suffer more latency from longer roundtrips during TLS setup.

    RFC 9000 Quic connections should also be unaffected, then.

    • ranger_danger 3 hours ago

      So maybe a type of HTTP/3 proxy could do all of it at once?

  • lxgr 2 hours ago

    It would remove the supposedly flawed PEP from the equation, but without adding either a better one in its place or at least ensuring that a reasonable (i.e. bufferbloat and LFN aware) flow control algorithm is used end to end, that seems like a bad idea.

cowlevel 5 hours ago

Did AI write this?

  • devttyeu 4 hours ago

    Why, beyond personal/US politics, does that matter if the project is cool and works?

    • OscarDC 2 hours ago

      I see it like one would be asking which language / tool is used.

      It may be motivated by personal feelings as well as just curiosity, but it shouldn't matter much. Isn't exchanging about the implementation as well as the product part of why HN is popular?

      To me replies like this one is more about politics than just letting people being passionate about not using AI or using it, about using some specific language (or not) etc.

rykam 3 hours ago

has anyone given this a try yet?