nginx/src
Maxim Dounin f7f1607bf2 The "reuseport" option of the "listen" directive.
When configured, an individual listen socket on a given address is
created for each worker process.  This allows to reduce in-kernel lock
contention on configurations with high accept rates, resulting in better
performance.  As of now it works on Linux and DragonFly BSD.

Note that on Linux incoming connection requests are currently tied up
to a specific listen socket, and if some sockets are closed, connection
requests will be reset, see https://lwn.net/Articles/542629/.  With
nginx, this may happen if the number of worker processes is reduced.
There is no such problem on DragonFly BSD.

Based on previous work by Sepherosa Ziehau and Yingqi Lu.
2015-05-20 15:51:56 +03:00
..
core The "reuseport" option of the "listen" directive. 2015-05-20 15:51:56 +03:00
event The "reuseport" option of the "listen" directive. 2015-05-20 15:51:56 +03:00
http The "reuseport" option of the "listen" directive. 2015-05-20 15:51:56 +03:00
mail Simplified ngx_http_init_listening(). 2015-05-20 15:51:28 +03:00
misc Style: fix typo. 2014-07-08 03:03:14 -07:00
mysql
os Introduced worker number, ngx_worker. 2015-05-20 15:51:21 +03:00
stream The "reuseport" option of the "listen" directive. 2015-05-20 15:51:56 +03:00