Recently I wrote about the impact of SSH-tunnels on HTTP-traffic. So I discussed with a collegue the results and he was wondering in the impact of TLS/SSL on HTTP-traffic. And I found out, that TLS/SSL slows down the communication about a factor 57!
Again, I did perform the test with and without keep-alive feature. I did the next tests:
- 10.000 requests with 200 concurrent connections without HTTP-keepalive to port 80 on the server
- 10.000 requests with 200 concurrent connections with HTTP-keepalive port 80 on the server
- 10.000 requests with 200 concurrent connections without HTTP-keepalive server using TLSv1/SSLv3,DHE-RSA-AES256-SHA,1024,256.
- 10.000 requests with 200 concurrent connections with HTTP-keepalive server using TLSv1/SSLv3,DHE-RSA-AES256-SHA,1024,256.
Phase | Short description | Requests/sec | Avg time in ms per request |
1 | HTTP | 7178.82 | 0.139 |
2 | HTTP + Keepalive | 7112.98 | 0.141 |
3 | HTTPS | 124.53 | 8.030 |
4 | HTTPS + Keepalive | 124.44 | 8.036 |