News for hackers. Stuff that matters.
Re:Golang is evil on shitty networks by morelisp on Thursday December 29, 2022 @07:20PM (#34179979)
This is an embarrassing response. The second lesson you should’ve learned as a systems engineer, long before any distributed stuff, is “turn off Nagle’s algorithm.” (The first being “it’s always DNS”.)

When the network is unreliable larger TCP packets ain’t gonna fix it.

Re:Golang is evil on shitty networks by viraptor on Thursday December 29, 2022 @07:32PM (#34180066)
Usually you have control over one of them only. If you run the whole network, sure, fix that instead. But if you don't, sending fewer larger packets can actually improve the situation even if it doesn't fix it.
Re:Golang is evil on shitty networks by Karrot_Kream on Friday December 30, 2022 @02:10AM (#34182677)
Fewer packets yes, but I've been on several networks where sending large packets ends up with bad reordering and dropping behavior.
Re:Golang is evil on shitty networks by withinboredom on Thursday December 29, 2022 @07:29PM (#34180044)
But it will at least let it get out of slow-start.