slow https performance compared to http
nginx-forum at forum.nginx.org
Sun Nov 13 08:36:51 UTC 2016
Hi, I have:
Ubuntu 16.04.1 LTS
openssl 1.0.2g-1ubuntu4.5 amd64
weak CPU: N3150
16 GB RAM
with this test-setup:
open_file_cache max=1000 inactive=360s;
I test on running ab command on the same host as nginx is.
For a 1.6KB text file I get 4600 req/s with http and 550 req/sec with https.
I get the same using or not gzip encoding.
Why is this huge performance difference?
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,270898,270898#msg-270898
More information about the nginx