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.
- PHP Generate Secure Random Passwords
- Google Cloud SQL and Public IP Address Security
- How to use Highlight.js to highlight code
- Nginx HTTP to HTTPS and non-www to www behind Google Load Balancer
- Quota 'IN_USE_ADDRESSES' exceeded. Limit: 8.0 in region
- Only allow Google Load Balancer traffic (Firewall Rules)
- Lost connection during Debian apt-get upgrade
- Bootstrap 3 Navbar with Logo Image
- PHP StrToTime() Returns Incorrect Timestamp '-1 MONTH'
- PHP Correctly Get Last 12 Months (Month per Month)
- Nginx Redirect From a Website to Another Website
- PHP Multi-cURL to Run Parallel cURL Requests (Example)
- Let's Encrypt on Nginx and SSL Grade A+
- Vertically align Facebook and Twitter share buttons
- Download Windows 10 ISO without Media Creation Tool
- DEB.SURY.ORG Updated the Signing Key (March 2019)