4 ms·
TCP_NODELAY to the rescue https://en.wikipedia.org/wiki/Nagle%27s_algorithm#Operating_systems_implementation https://en.wikipedia.org/wiki/Nagle%27s_algorithm#
by pengaru 4y ago
TCP_NODELAY to the rescue
https://en.wikipedia.org/wiki/Nagle%27s_algorithm#Operating_systems_implementation https://en.wikipedia.org/wiki/Nagle%27s_algorithm#Operating_...
- monocasa 4y agoHead of line blocking is still an issue even after disabling Nagle's algorithm as ideally you don't want the lack of reception of older data in the stream delaying newer updates. Sometimes it's better to simply blast out all unacked state, and if intermediary packets get occasionally lost, it doesn't really matter. You can see this in live audio/video as well. If you missed your window you don't want the media data that's already arriving too late to actually play delaying the reception of newer data in the stream.