Nagle's algorithm: Difference between revisions

Content deleted Content added
Interactions with real-time systems: Os implementation. AIX case.
Tags: Mobile edit Mobile web edit
Interactions with real-time systems: or movement of the mouse in a remote controlled operating system
Line 33:
 
==Interactions with real-time systems==
Applications that expect real time responses can react poorly with Nagle's algorithm. Applications such as networked multiplayer video games or the movement of the mouse in a remote controlled operating system, expect that actions in the game are sent immediately, while the algorithm purposefully delays transmission, increasing [[Bandwidth (computing)|bandwidth]] efficiency at the expense of [[latency (engineering)|latency]]. For this reason applications with low-bandwidth time-sensitive transmissions typically use <code>TCP_NODELAY</code> to bypass the Nagle delay.<ref>[https://bugs.freedesktop.org/show_bug.cgi?id=17868 Bug 17868 &ndash; Some Java applications are slow on remote X connections]</ref>
 
Another option is to use [[User Datagram Protocol|UDP]] instead.