Comment by vbezhenar

3 years ago

TLDR: Golang uses TCP_NODELAY by default on sockets. Seems wild. I guess it's time to disable TCP_NODELAY in Linux to fix bad software.

Yeah, let's just remove TCP_NODELAY and fuck all latency-sensitive applications.

  • Actual latency sensitive apps can always use SOCK_RAW and implement their own TCP. In fact, for serious low latency you need to bypass the entire kernel stack too, like DPDK.