3 ms·
As soon as he mentioned a fixed 40ms delay, my first guess was some obscure TCP configuration. TCP is one of those ubiquitous things everyone takes for granted
by brazzy 6y ago
As soon as he mentioned a fixed 40ms delay, my first guess was some obscure TCP configuration.
TCP is one of those ubiquitous things everyone takes for granted, but is more complex than most people realize.
- Cthulhu_ 6y agoYeah, I saw the 40ms and something pinged in my head. Couldn't think of it though, but there it was in the article, Nagle's. The other article linked here also mentioned it. The term even means something to me in my current day job, as there's a switch to toggle Nagle's Algorithm in our application's UI somewhere (renamed it from "No Delay")
- dj_mc_merlin 6y ago> renamed it from "No Delay" It's called that because to turn off Nagles for unix sockets you set sockopt TCP_NODELAY. If you run curl in verbose mode you can see it does that at the beginning.