Review Performance: SSD VPS 3 Plesk + WordPress + PHP-FPM Apache

Review with SSD VPS 3 :
3GB ram, 60GB SSD disk, 3vCPU, 100 Mbps network speed, KVM Virtualisation

Specs :

  • Latest Plesk
  • PHP-FPM by Apache
  • PHP 7.4 stable
  • memory_limit 128 MB
  • max_execution_time 30 secs
  • max_input_time 60secs
  • post_max_size 8M
  • upload_max_size 2M
  • opcache.enable On
  • FakePress plugin for fake content (15 post with random picture)

+ Test with 20 VU +

First test using 20 VU (Virtual Users) within 1 minutes.

Summary (k6.io)

  • Server tested from Singapore.
  • Total handled request is about 857 (higher is better).
  • Highest peak request is about 18 (from 20).
  • Total HTTP failures is 0 (lower is  better).
  • Average response time is 142 ms (lower is better) with highest reponse time is about 180 ms (see blue line).
  • First testing showing almost flat line which is very stable result and very low ms result

Page load time (Gtmetrix)

  • Server tested from Canada
  • Gtmetrix grade showing B with 80% performance and 96% structure
  • Fully loaded time within 2.3 s
  • Largest contentful to be loaded is 1.7 s

+ Test with 50 VU +

Second test using 50 VU (Virtual Users) within 1 minutes.

Summary (k6.io)

  • Server tested from Singapore.
  • Total handled request is about 1482 (higher is better).
  • Highest peak request is about 30 (from 50).
  • Total HTTP failures is 0 (lower is  better).
  • Average response time is 646 ms (lower is better) with highest reponse time is about 880 ms (see blue line).
  • Second test showing a bit spike and higher ms result. However, this kind of graph kind of stable.

Conclusion

In this case PHP-FPM served with Apache might be one of best combination to handle so many requests of website. Or we can say FPM served by Apache is ideal to handle quite peak website traffic. From first and second test showing the result is quite good. At least until 50 visitor nearly at the same time within 1 minutes, server able to handle the request under 1s latency.