Posted on April 29, 2017 at 6:42 pm
I wanted to test if HTTPS is more “heavy” on the server than HTTP and how many concurrent connections can handle compare with HTTP. With HTTPS the web server has to decrypt data and I wanted to see what is the difference between using HTTPS and HTTP on a web server running Nginx 1.12.0, PHP 7.0.18 (PHP7.0-FPM), MySQL 15.1 Distrib 10.1.22-MariaDB, Redis 3.2.8. I used Loader.io to test the server with 1000 concurrent connections.
You may find useful also these tests:
SSL (HTTPS) Enabled
SSL (HTTPS) Disabled
As you can see, the server performance was not that different in the server to handle HTTPS requests compared to HTTP requests. The CPU usage was like 12\13% in both cases. However, the number of requests is different, the server handled in HTTPS approximately 50K connections less than in HTTP. That is not a big deal, my personal comment is that regarding server performance it is not that different, and regarding connections, HTTP is a little faster (86ms response time vs 91ms of HTTPS), but almost same.
- How to List All Iptables NAT Rules
- Parse or Split FTP URL in Delphi XE using TIdURI
- How to Download a File via FTP in Delphi XE
- Public FTP Server to Test Upload and Download
- How to Parse Command-Line Arguments in Bash
- How to Make Iptables Rules Persistent
- Bash Install Iptables-Persistent Automatically
- Route OpenVPN Connections Through Floating IP
- How to fix "Clickable elements too close together"
- How to fix "Text too small to read"
- Create Custom Rest Endpoints for WP Rest API
- Timestamp URLs for SHA1 SHA256 Code Sign 2021
- PHP Multi-cURL to Run Parallel cURL Requests (Example)
- The following signatures were invalid: EXPKEYSIG B188E2B695BD4743
- Best Clean Monospace Web Fonts 2021
- Add New Path to Delphi 10.4 Sydney on Library Path