Programmer DD
Jul 23, 2019 · Fundamentals
Why Your HTTP Calls Take 40 ms: Uncovering TCP_NODELAY, Nagle and Delayed ACK
A detailed investigation shows that an unexpectedly high 39 ms latency in a simple HTTP request is caused by TCP's Nagle algorithm and delayed ACK interactions, and demonstrates how enabling TCP_NODELAY or adjusting ACK timers reduces the delay to under 3 ms.
HTTP latencyJavaNagle
0 likes · 12 min read
