about summary refs log tree commit homepage
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:

* git://bogomips.org/libnodelay.git
* <http://bogomips.org/libnodelay.git>
* git://repo.or.cz/libnodelay.git (mirror)
* <http://repo.or.cz/r/libnodelay.git> (mirror)

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

* <http://bogomips.org/libnodelay.git>

Or via gitweb:

* <http://repo.or.cz/w/libnodelay.git>

Email patches (git format-patch + git send-email) and pull requests
(git request-pull) 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 (or later) and GNU General Public License, version 2 (only).