微信搜索superit|邀请体验:大数据, 数据管理、OLAP分析与可视化平台 | 赞助作者:赞助作者

Nginx的Proxy前端对后端upstream启用keepalive后的显著效果

slb aide_941 31℃
Nginx的Proxy前端对后端upstream启用keepalive后的显著效果
http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive
小顾de杂记 2012-07-25 6096 阅读
从nginx 1.1.4 开始有了原生的ngx_http_upstream_keepalive 模块 和”proxy_http_version” fastcgi_keep_conn” 等指令
,所以后端的keepalive也在nginx 1.2.0成为现实
https://twitter.com/nginxorg/status/196166248235663361
按照wiki的指示 http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive 在某节点试验性质的启用后 发现效果好的不得了啊 原来出入流量几乎相差一倍,7/23号启用后,出入流量趋于平衡。响应也很快。有条件的同学可以试试。

http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive

转载请注明:SuperIT » Nginx的Proxy前端对后端upstream启用keepalive后的显著效果

喜欢 (0)or分享 (0)