Use TCP_CORK/TCP_NOFLUSH socket options where available to coalesce writes for multi...
authorAdam Thomason <ad@mthomason.net>
Wed, 11 Nov 2009 01:38:26 +0000 (17:38 -0800)
committerAdam Thomason <ad@mthomason.net>
Wed, 11 Nov 2009 01:38:26 +0000 (17:38 -0800)
commitae08249421c63be6a7cd0dfc52ec1caeb5f6de8e
tree14dd7ee41ccf6f8ea28effa167ca9d7f86afa8c5
parentf480b2126583008f06296e2a44621fa40702d7d5
Use TCP_CORK/TCP_NOFLUSH socket options where available to coalesce writes for multi-command operations. When used with MEMCACHED_BEHAVIOR_TCP_NODELAY this eliminates the Nagle delay after sending requests.
libmemcached/memcached_io.c
libmemcached/memcached_server.c
libmemcached/memcached_server.h