<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=GB2312">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<pre>The <code><i>connections</i></code> parameter should be set <font color="#6600cc">low enough</font>(??)
to allow upstream servers to process additional new incoming
connections as well.
I am very confused about the <a href="http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive">keepalive</a> connections in the ngx_http_upstream_module,
can somebody tell me how to determine the keepalive connections in http protocol ?
just like this:
upstream http_backend {
server 127.0.0.1:8080;
keepalive 16;// <font color="#ff0000">why 16 ? how to determine a suitable number ?</font>
}
server {
...
location /http/ {
proxy_pass <a class="moz-txt-link-freetext" href="http://http_backend">http://http_backend</a>;
proxy_http_version 1.1;
proxy_set_header Connection "";
...
}
}</pre>
</body>
</html>