<h1 style="border-right:inherit;color:rgb(34,34,34);background:inherit;font-size:18px;margin:12px 1px 9px 0px;font-family:arial,sans-serif;font-weight:normal;padding:0px 0px 0px 8px">
<span style="font-size:13px;background-color:rgb(255,255,255)">From the doc:</span><span style="font-size:13px;background-color:rgb(255,255,255)"> </span><a href="http://wiki.nginx.org/ReadMoreAboutTcpNodelay" target="_blank" style="color:rgb(17,85,204);font-size:13px;background-color:rgb(255,255,255)">http://wiki.nginx.org/ReadMoreAboutTcpNodelay</a><br style="font-size:13px;background-color:rgb(255,255,255)">
<br style="font-size:13px;background-color:rgb(255,255,255)"><blockquote style="font-size:13px;background-color:rgb(255,255,255);margin:0px 0px 0px 40px;padding:0px;border:none">TCP_NODELAY is for a specific purpose; to disable the Nagle buffering algorithm. It should only be set for applications that send frequent small bursts of information without getting an immediate response, where timely delivery of data is required (the canonical example is mouse movements).</blockquote>
<br style="font-size:13px;background-color:rgb(255,255,255)"><br style="font-size:13px;background-color:rgb(255,255,255)"><br style="font-size:13px;background-color:rgb(255,255,255)"><span style="font-size:13px;background-color:rgb(255,255,255)">So my understanding for most web app, it should be disabled so we can use the "Nagle buffering algorithm", only disable when you have special need, like logging mouse movements as in the example?</span><div style="font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="font-size:13px;background-color:rgb(255,255,255)">Thanks.</div></h1>