Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 32s8 days 9 hours 54 minutes 32 seconds.
Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 09h 54m 32s8 days 9 hours 54 minutes 32 seconds.

Sign in to watch this lesson
Trading Networks · 3:59
Orders go to the exchange over a TCP session, and TCP's defaults add delays that a single small order should never pay. We follow one order's timeline and remove each slice: pre-connected, heartbeated sessions (no handshake at order time), TCP_NODELAY (measured on this Mac's loopback: about 10 vs 6 microseconds for the second of two back-to-back orders), and, on Linux, TCP_QUICKACK, no slow start after idle, a lower minimum RTO and SO_BUSY_POLL, with macOS measurements of the in-flight RTO (230 ms) and of spinning versus blocking receives where an analogue exists.