nginx/src/stream
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
..
ngx_stream_core_module.c The "reuseport" option of the "listen" directive. 2015-05-20 15:51:56 +03:00
ngx_stream_handler.c Core: the ngx_set_connection_log() macro. 2015-04-25 22:44:02 +03:00
ngx_stream_proxy_module.c Stream: prevent repeated event notifications after eof. 2015-04-22 19:55:04 +03:00
ngx_stream_ssl_module.c Stream: port from NGINX+. 2015-04-20 13:05:11 +03:00
ngx_stream_ssl_module.h Stream: port from NGINX+. 2015-04-20 13:05:11 +03:00
ngx_stream_upstream_hash_module.c Upstream hash: consistency across little/big endianness. 2015-05-18 16:05:44 +03:00
ngx_stream_upstream_least_conn_module.c Stream: port from NGINX+. 2015-04-20 13:05:11 +03:00
ngx_stream_upstream_round_robin.c Stream: port from NGINX+. 2015-04-20 13:05:11 +03:00
ngx_stream_upstream_round_robin.h Stream: port from NGINX+. 2015-04-20 13:05:11 +03:00
ngx_stream_upstream_zone_module.c Upstream: allow multiple upstreams to use the same shared zone. 2015-04-22 18:37:34 +03:00
ngx_stream_upstream.c Stream: port from NGINX+. 2015-04-20 13:05:11 +03:00
ngx_stream_upstream.h Stream: port from NGINX+. 2015-04-20 13:05:11 +03:00
ngx_stream.c The "reuseport" option of the "listen" directive. 2015-05-20 15:51:56 +03:00
ngx_stream.h The "reuseport" option of the "listen" directive. 2015-05-20 15:51:56 +03:00