Re:Golang is evil on shitty networks
by josefx on Friday December 30, 2022 @01:55AM
(#34182606)
Wouldn't that still end up with sub optimal network messages unless those large buffers are an exact multiple of the MTU on the network?
[ Parent
| on HN ]
Re:Golang is evil on shitty networks
by boring_twenties on Tuesday January 03, 2023 @09:49AM
(#34232007)
Hm, I'm not 100% sure about this. If your first buffer is big enough, your next write should be issued before the OS has managed to write it all.