“Lock-Free” Wasn’t the Optimisation. Batching Was.

Buried in ZeroMQ’s TCP code is a single line that turns off one of the oldest optimisations in the TCP stack, on purpose, with a comment…