Category Archives: Server Benchmark Tests

Nginx Static Content Test (Concurrent Connections)

Here I test how many concurrent connections Nginx can handle when serving static content. In this test I benchmark Nginx on port 80 (HTTP) and on port 443 (HTTPS). The static file is a simple .HTML file and this is the Nginx.conf file I used in the test: user nginx; worker_processes auto; error_log /var/log/nginx/error.log warn; […]

HTTP vs HTTPS (Concurrent Connections)

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 […]

MySQL vs Redis (Concurrent Connections)

I decided to test MySQL and Redis to know how many concurrent connections they can handle in a single dedicated server used as web server. I used Nginx 1.12.0, PHP 7.0.18 (PHP7.0-FPM), MySQL 15.1 Distrib 10.1.22-MariaDB, Redis 3.2.8 and Loader.io to simulate concurrent connections. The dedicated server has 32GB RAM DDR3, Intel(R) Xeon(R) CPU E5-1650 […]

Tuning the Linux Kernel and TCP Parameters with Sysctl

There are many guides online about Linux kernel and TCP tuning, I tried to sum the most useful and detailed Linux kernel and TCP tuning tips, including the best guides about TCP and kernel tuning on Linux, useful to scale and handle more concurrent connections on a linux server. Time ago I wrote about optimizing […]

500 Million hits/day with Nginx + PHP-FPM + MySQL

I have recently registered to blitz.io, a very interested cloud service which allows users to stress-test a web server simulating up to 50K concurrent connections, with the possibility to specify different regions to originate requests, the HTTP method, the timeout and much more. This service can help to properly configure the web server (Nginx, Lighttpd, […]

Optimize Linux Sysctl.conf Parameters

After doing some research, I tested various parameters on the file /etc/sysctl.conf and I encountered various errors like “name lookup timed out”, “connection timed out” and “999 INKApi Error” while using web server like Nginx or Lighttpd under 1000+ concurrent connections. What should be taken into consideration is that some shared hosting and dedicated servers […]