Welcome! Log In Create A New Profile


HTTP Speed vs. HTTPS Speed

Posted by deliarmin 
HTTP Speed vs. HTTPS Speed
February 01, 2013 03:29AM

I installed a testsetup to find the impact of ssl on nginx performance (requests per second)

I don't understand a behaviour with the Testsetup I have here.

The setup:

a nearly naked Ubuntu 12.04 with:
- Apache listening on Port 8080 for HTTP Request serving the standard static welcome page.
- Nginx as a reverse proxy with 2 sites:
- default passing http to apache
- default-ssl playing ssl endpoint for the apache server

the "problem" is: i get nearly double the request per second with ssl compared to simple http. How can it be?

this is my default config:
server {
listen *:80;
location / {
proxy_pass http://localhost:8080;

this is the default-ssl config:

server {
listen *:443;
ssl on;
ssl_certificate server.crt;
ssl_certificate_key server.key;
location / {
proxy_pass http://localhost:8080;
add_header Front-End-Https on;

Can anybody explain to me why this happens, or what I am doing wrong?


edit: I'm using wrk to test:

wrk -t8 -c400 -r10m https://serverip/

Edited 1 time(s). Last edit at 02/01/2013 03:31AM by deliarmin.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 65
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready