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.
devttyeu 10 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 7 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).
cozzyd 16 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 15 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 13 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 12 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
drewg123 3 hours ago [-]
That's one of the reasons that QUIC encrypts its congestion control info so that middleboxes cannot mess with it.
gjvc 8 hours ago [-]
are you referring to "bufferbloat" ?
p_l 7 hours ago [-]
Lot's of ways other than bufferbloat to break performance in screwy middlebox
lxgr 7 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.
What a delight. I love it when somebody pays close attention to what's really going on. The Limits section was especially nice.
jmyeet 3 hours ago [-]
TCP in general is horrible in high latency as anyone in Australia or Africa knows all too well. I've done testing on this and 100ms RT latency gives you such a massive reduction in practical bandwidth over one connection (like 95%+).
But what really gets me is all these apps and websites clearly have never once in their lives tested themselves on high-latency connections and they have all sorts of weird behavior. One example: I have an app that when it hits a network timeout (which can happen in low-latency situations) it logs you out and then you have to go through a 2FA to log back in.
Some people on HN bemoan apps existing over websites. If you seriously say that, I'm sorry but you've never had to use a phone over a less-than-ideal connection. Apps are fantastic.
Anyway, re: BRR. There are so many parts of TCP that are showing their age. They were designed in very different times (eg subscription times in IPv4 multicast).
ranger_danger 11 hours ago [-]
Would a UDP VPN to a VPS have a similar effect?
lxgr 7 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.
Wicher 10 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 9 hours ago [-]
So maybe a type of HTTP/3 proxy could do all of it at once?
By the way, aren't AI projects banned now on sourcehut?
arbor-group 4 hours ago [-]
[dead]
iamjackg 4 hours ago [-]
> Latency floor (~580–650 ms): Speed-of-light propagation to geostationary orbit (35,786 km) does not change
I guess AGI is not here yet.
cowlevel 11 hours ago [-]
Did AI write this?
devttyeu 10 hours ago [-]
Why, beyond personal/US politics, does that matter if the project is cool and works?
OscarDC 8 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.
brookst 4 hours ago [-]
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.
asdff 1 hours ago [-]
Now how do you feel about food labelling? Same situation really. I have salt that claims it was blessed by a rabbi. That helps some people out, I just ignore it.
jeroenhd 4 hours ago [-]
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.
phoghed 4 hours ago [-]
If someone didn’t waste hours of their life on this random utility I don’t want to see it or use it
asdff 1 hours ago [-]
It isn’t about demanding blood sacrifice. Imagine the most frat boy fast money jackass you can think of. What tool do they reach for to make their pump n dump? It is that simple really. Not all ai projects are sloppy crap, but all sloppy crap these days are ai projects. It is a good coarse filter for a lot of things.
jeroenhd 2 hours ago [-]
Time an energy are an excellent indicator of willingness to maintain, yes.
A slop script has the value of a random HN comment and most of them are indeed not very interesting.
9 hours ago [-]
rykam 9 hours ago [-]
has anyone given this a try yet?
yeestwind 3 hours ago [-]
[dead]
listinglens 10 hours ago [-]
[dead]
visionwei 11 hours ago [-]
[dead]
rcdexta 13 hours ago [-]
[dead]
Rendered at 18:51:15 GMT+0000 (Coordinated Universal Time) with Vercel.
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/
Search for Teclo networks ACK proxy for example
#notbitter
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.
https://x.com/thomasmc/status/2119102696280240176
But what really gets me is all these apps and websites clearly have never once in their lives tested themselves on high-latency connections and they have all sorts of weird behavior. One example: I have an app that when it hits a network timeout (which can happen in low-latency situations) it logs you out and then you have to go through a 2FA to log back in.
Some people on HN bemoan apps existing over websites. If you seriously say that, I'm sorry but you've never had to use a phone over a less-than-ideal connection. Apps are fantastic.
Anyway, re: BRR. There are so many parts of TCP that are showing their age. They were designed in very different times (eg subscription times in IPv4 multicast).
RFC 9000 Quic connections should also be unaffected, then.
But you have to bring your own SOCKS proxy.
By the way, aren't AI projects banned now on sourcehut?
I guess AGI is not here yet.
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.
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.
A slop script has the value of a random HN comment and most of them are indeed not very interesting.