libnodelay - LD_PRELOAD library to disable Nagle's algorithm

If you're tired of digging through a mess of code and confusing/obscure configuration options, you should LD_PRELOAD this library instead.

Disabling Nagle's algorithm can result in a performance improvement for latency-sensitive applications that use TCP.

More about Nagle's algorithm is here:

https://secure.wikimedia.org/wikipedia/en/wiki/Nagle%27s_algorithm

Home directory Installation

This will install libnodelay.so in your $HOME/lib

$ make
$ make install

System-wide Installation

This will install libnodelay.so in /usr/lib

$ make
# make install prefix=/usr

Usage

$ LD_PRELOAD=/path/to/libnodelay.so YOUR_COMMAND

Development

You may clone the source repository via git:

You may also browse the source code or obtain tarballs from cgit:

Or via gitweb:

Email patches (git format-patch + git send-email) and pull requests to the mailing list: libnodelay@librelist.org

Copyright

libnodelay is copyright (C) Eric Wong normalperson@yhbt.net. It is dual-licensed under both the GNU Lesser General Public License, version 3 and GNU General Public License, version 2.