4 ms·
Backend connections are not keepalive with that nginx config and benchmark is ran on a shared digital ocean VM. I suspect the author is inexperienced with proxi
by rwaksmunski 4y ago
Backend connections are not keepalive with that nginx config and benchmark is ran on a shared digital ocean VM. I suspect the author is inexperienced with proxies, operating systems and benchmarks.
- divbzero 4y agoInstead of commenting on the author, perhaps we could share an example of the appropriate nginx config: upstream http_backend { server 127.0.0.1:8080; keepalive 16; } server { ... location /http/ { proxy_pass http://http_backend; proxy_http_version 1.1; proxy_set_header Connection ""; ... } } https://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive https://nginx.org/en/docs/http/ngx_http_upstream_module.html...