Why is gunicorn behind nginx with ssl 88% slower than gunicorn alone? Why is gunicorn behind nginx with ssl 88% slower than gunicorn alone? flask flask

Why is gunicorn behind nginx with ssl 88% slower than gunicorn alone?


A large part of HTTPS overhead is in the handshake. Pass -k to ab to enable persistent connections. You will see that the benchmark is now significantly faster.