mirror of
https://github.com/nginx/nginx.git
synced 2024-12-05 06:19:01 +08:00
f7f1607bf2
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. |
||
---|---|---|
.. | ||
ngx_stream_core_module.c | ||
ngx_stream_handler.c | ||
ngx_stream_proxy_module.c | ||
ngx_stream_ssl_module.c | ||
ngx_stream_ssl_module.h | ||
ngx_stream_upstream_hash_module.c | ||
ngx_stream_upstream_least_conn_module.c | ||
ngx_stream_upstream_round_robin.c | ||
ngx_stream_upstream_round_robin.h | ||
ngx_stream_upstream_zone_module.c | ||
ngx_stream_upstream.c | ||
ngx_stream_upstream.h | ||
ngx_stream.c | ||
ngx_stream.h |