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.
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.
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.
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.
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.
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).
I feel more interest in trying out an interesting project that someone has dedicated their own time and effort into than a vague that someone came up with on a whim that some code agent threw onto Github.
People can slop together whatever projects they want or need, but if they're just something thrown together on a whim then I don't expect this to receive any attention in a week's time.
Something could be interesting even if it doesn't work, but my interest in the technical merit behind the project dies immediately when it's just AI output.
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.
I don’t see why any of us are obligated to “let” others indulge their passion for not using AI or some specific language or whatever. People can have whatever quirks they enjoy, but it doesn’t create obligation for others.
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.
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.
23 comments:
Original announcement by @thomasmc on X on Nov 9:
https://x.com/thomasmc/status/2119102696280240176
Semi-related:
1. https://brr.fyi/posts/engineering-for-slow-internet
2. https://danluu.com/web-bloat/
3. https://danluu.com/slow-device/
4. https://news.ycombinator.com/item?id=9048947
EDIT:
5. https://intronetworks.cs.luc.edu/current2/html/newtcps.html#...
6. https://blog.tymscar.com/posts/studiodisplayethernet/
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.
I just always set my tcp congestion control algorithm to bbr via /etc/sysctl.d (helps on starlink and tethered LTE too)...
That only affects traffic you send though as I understand it - anything you download is whatever congestion control the server decides to use.
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
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
are you referring to "bufferbloat" ?
Lot's of ways other than bufferbloat to break performance in screwy middlebox
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.
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.
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).
What a delight. I love it when somebody pays close attention to what's really going on. The Limits section was especially nice.
Did AI write this?
Why, beyond personal/US politics, does that matter if the project is cool and works?
I feel more interest in trying out an interesting project that someone has dedicated their own time and effort into than a vague that someone came up with on a whim that some code agent threw onto Github.
People can slop together whatever projects they want or need, but if they're just something thrown together on a whim then I don't expect this to receive any attention in a week's time.
Something could be interesting even if it doesn't work, but my interest in the technical merit behind the project dies immediately when it's just AI output.
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.
I don’t see why any of us are obligated to “let” others indulge their passion for not using AI or some specific language or whatever. People can have whatever quirks they enjoy, but it doesn’t create obligation for others.
Would a UDP VPN to a VPS have a similar effect?
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.
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.
So maybe a type of HTTP/3 proxy could do all of it at once?
has anyone given this a try yet?