摘要: 本文介绍在nginx中连接资源(即ngx_connection_t)的管理与使用。 连接池的初始化 在ngx_cycle_t结构体中维护了几个和连接相关的数据,具体如下 逐一说明一下 connection_n表示最大的连接数量,通过配置项worker_connections设置 connection 阅读全文
posted @ 2019-07-21 17:43 atskyline 阅读(836) 评论(0) 推荐(0) 编辑