Home  >  Article  >  Backend Development  >  nginx architecture and implementation

nginx architecture and implementation

WBOY
WBOYOriginal
2016-07-29 09:16:121238browse
master process startup
worker process startup

http://nginx.org/
Tengine (Taobao for ked nginx version)http: //www.zhuzhaoyuan.com/


http://www.aosabook.org/en/nginx.html
nginx internal [Recommended Good article ]http://www.zhuzhaoyuan.com/download/nginx/nginx_internals.pdf
The architecture is similar to OCEach worker process in OC has an independent listener porting, and nginx shares listener porting. .. 多 Nginx Multi-processes use the locks of Listening FD to reprimand ACCEPT
SHARED-MEMORY Inter-PROCESSSINICATIONICATIONINICATIONIONINITED-EVENTtcp_nodelay, disable Nagle tcp_cork, similar to Nagle, small packets are packaged and sent tcp_defer_accept, accept the connection immediately after receiving SYN tcp_quickack, ack immediately (usually demonstrates 20 0ms)

Copyright Disclaimer: This article is an original article by the blogger and may not be reproduced without the blogger's permission.

The above introduces the nginx architecture and implementation, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn