As known, the keepalive directive can activate the connections cache for upstream servers. I know the connection pool is in each worker process. But I'ms confused that the connection number is for each upstream server or is shared for all servers? It's documented at http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive