Create all sockets with TCP_NODELAY
commit46b2c5ff196c9194abae8954c9efdc899b1f1ff8
authorEric Wong <normalperson@yhbt.net>
Tue, 23 Dec 2008 02:45:08 +0000 (22 18:45 -0800)
committerEric Wong <normalperson@yhbt.net>
Tue, 23 Dec 2008 02:45:08 +0000 (22 18:45 -0800)
treea15e6f34fb90199aebd4eaafa408a41e353933e4
parent4a5794447a682b8034b2381054df28bd6296c4ee
Create all sockets with TCP_NODELAY

This should reduce latency.  We send reasonably-sized
chunks whenever sending large requests anyways, so
throughput shouldn't be noticeably affected.
lib/mogilefs/util.rb