• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

FastCGI vs FPM results

Chris1

Regular Pleskian
Hello all :)

I decided to make a comparison between a few of the different PHP handlers provided by Plesk 12.5, I thought you may like to see.
  • All tests performed on an account limited by CloudLinux 7.1 LVE defaults and also within CageFS.
  • Apache Benchmark was performed on the server the tested account resides on.
  • The test website is a stock Wordpress 4.3 install.
  • All results are in average requests served per second over 10 tests each
ab -n 50 -c 1 (1 user x 50 requests)
5.6.12 FastCGI - 14.08
5.6.12 FPM served by Apache - 14.19
5.6.12 FPM served by nginx - 20.12

ab -n 100 -c 5 (3 users x 50 requests)
5.6.12 FastCGI - 20.27
5.6.12 FPM served by Apache - 48.73
5.6.12 FPM served by nginx - 56.72

ab -n 100 -c 5 (5 users x 100 requests)
5.6.12 FastCGI - 14.47
5.6.12 FPM served by Apache - 35.67
5.6.12 FPM served by nginx - 82.30

ab -n 100 -c 20 (20 users x 100 requests)
5.6.12 FastCGI - 13.58
5.6.12 FPM served by Apache - 57.60
5.6.12 FPM served by nginx - 82.38

ab -n 100 -c 100 (100 users x 100 requests)

5.6.12 FastCGI - 20.62
5.6.12 FPM served by Apache - 70.50
5.6.12 FPM served by nginx - 73.73
 
Last edited:
Hi Chris1,

sorry to say, but it's pretty useless to use an apache benchmark test on a test environment without css, images, content and what ever else contained on the URL. I wonder what makes you think that your test result in a decent information to compare the PHP - handlers? Please use for example "http://www.webpagetest.org/" ( or other usefull tests ) to compare.
 
Regardless of this, there is still a significant difference in what it does test.

Hi Chris1,

sorry to say, but it's pretty useless to use an apache benchmark test on a test environment without css, images, content and what ever else contained on the URL. I wonder what makes you think that your test result in a decent information to compare the PHP - handlers? Please use for example "http://www.webpagetest.org/" ( or other usefull tests ) to compare.
 
thanks.. very interesting.. + I am sure it would be good to see other tests. I suspect the relative differences will be about the same
 
Thanks for the test results. However, I guess which handler to use more depends on specific use cases. I did some reading and found the reasoning given quite helpful in predicting where to use which handler.
Here is the guide if someone wishes to verify or go through : fastcgi vs fpm
 
I just wanted to say that I get the same results to display a wordpress page. FastCGI delivers content faster thant php-fpm. Additionnally, I have noticed that the pageload when using fastcgi was more stable than when using php-fpm.
UFHH01 said it was useless to use an apache benchmark test on a test environment without css, images, content and what ever else contained on the URL.
I don't think so because static files are delivered by Nginx, so i guess it would not impact the benchmark.
 
UFHH01 said it was useless to use an apache benchmark test on a test environment without css, images, content and what ever else contained on the URL.
I don't think so because static files are delivered by Nginx, so i guess it would not impact the benchmark.
Testing assets, ie via wpt vs running a concurrency benchmark are totally different things and both have their validity.

I just wanted to say that I get the same results to display a wordpress page. FastCGI delivers content faster thant php-fpm. Additionnally, I have noticed that the pageload when using fastcgi was more stable than when using php-fpm.
That shouldn't be the case. FPM is FastCGI pooled, which has the benefit of not needing to spin up as many threads and persistent cache. How are they configured? Ie, if max_request per children is configured to 20, FPM will be "unstable" as you mentioned.
 
Back
Top