NGINX Configuration to Boost Performance #1964
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi Team,
I tested the scenario (proxy termination case, downstream is HTTPS and upstream is HTTP) with a 64KB file using the OpenSSL engine and observed that the throughput is very low for small files (64KB). I have attached the proxy and backend server configurations. Please review the configurations and guide me if any additional configurations are needed to boost performance.
For single process NGINX, I am getting 0.11 GBPS with 256 TPS.
OpenSSL version: 1.1.1q
NGINX version: release-1.22.0
Proxy configuration:
events {
use epoll;
worker_connections 65536;
multi_accept on;
accept_mutex off;
}
http {
keepalive_timeout 300s;
connection_pool_size 1024;
keepalive_requests 1000000;
access_log off;
}
Backend Server:
events {
use epoll;
worker_connections 65536;
multi_accept on;
accept_mutex off;
}
http {
keepalive_timeout 300s;
connection_pool_size 1024;
keepalive_requests 1000000;
access_log off;
server {
listen 8000 default_server;
root /var/www/html;
index index.html index.htm index.nginx-debian.html;
server_name _;
location / {
try_files $uri $uri/ =404;
}
}
}
The text was updated successfully, but these errors were encountered: